Difference between revisions of "PPP"

From CBLFS
Jump to navigationJump to search
 
Line 25: Line 25:
  
 
== Multilib ==
 
== Multilib ==
 +
'''''This package does not provide any external libraries so only one installation is needed.'''''
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 30: Line 31:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr &&
  make
+
  make CC="gcc ${BUILD32}"
  
 
Install the package
 
Install the package
Line 42: Line 43:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  sed -i "/LIBDIR =/s:/lib:&32:g" $(grep -lr "LIBDIR =" *) &&
  make
+
./configure --prefix=/usr &&
 +
  make CC="gcc ${BUILDN32}"
  
 
Install the package
 
Install the package
Line 54: Line 56:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  sed -i "/LIBDIR =/s:/lib:&64:g" $(grep -lr "LIBDIR =" *) &&
  make
+
./configure --prefix=/usr &&
 +
  make CC="gcc ${BUILD64}"
  
 
Install the package
 
Install the package

Revision as of 11:30, 7 October 2006

Download Source: http://samba.org/ftp/ppp/ppp-2.4.4.tar.gz

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&
make install-etcppp

Multilib

This package does not provide any external libraries so only one installation is needed.

32Bit

Compile the package:

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

Install the package

make install &&
make install-etcppp

N32

Compile the package:

sed -i "/LIBDIR =/s:/lib:&32:g" $(grep -lr "LIBDIR =" *) &&
./configure --prefix=/usr &&
make CC="gcc ${BUILDN32}"

Install the package

make install &&
make install-etcppp

64Bit

Compile the package:

sed -i "/LIBDIR =/s:/lib:&64:g" $(grep -lr "LIBDIR =" *) &&
./configure --prefix=/usr &&
make CC="gcc ${BUILD64}"

Install the package

make install &&
make install-etcppp
Retrieved from "?title=PPP&oldid=2553"