Difference between revisions of "Libssh2"
From CBLFS
Jump to navigationJump to search (→Multilib) |
|||
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 | ||
Revision as of 14:53, 21 September 2008
Download Source: | http://prdownloads.sourceforge.net/libssh2/libssh2-1.4.3.tar.gz |
---|
Contents
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