Difference between revisions of "Libssh2"

From CBLFS
Jump to navigationJump to search
(Multilib)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/libssh2/libssh2-{{libssh2-Version}}.tar.gz
+
| http://www.libssh2.org/download/libssh2-{{libssh2-Version}}.tar.gz
 
|}
 
|}
  
Line 31: Line 31:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr &&
 
  make
 
  make
  
Line 42: Line 43:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 53: Line 55:
 
Configure and compile the package:
 
Configure and compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 59: Line 62:
  
 
  make install
 
  make install
 +
 +
[[Category:General Libs]]

Latest revision as of 15:07, 19 March 2010

Download Source: http://www.libssh2.org/download/libssh2-1.4.3.tar.gz

Introduction to Libssh2

libssh2 is a library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS, SECSH-USERAUTH, SECSH-CONNECTION, SECSH-ARCH, SECSH-FILEXFER, SECSH-DHGEX, SECSH-NUMBERS, and SECSH-PUBLICKEY.

Project Homepage: http://www.libssh2.org/

Dependencies

Required

Non-Multilib

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install
Retrieved from "?title=Libssh2&oldid=19964"