Difference between revisions of "Pilot-Link"

From CBLFS
Jump to navigationJump to search
(Configuring)
(Multilib)
Line 47: Line 47:
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  export USE_ARCH=32 &&
 
  export USE_ARCH=32 &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
  
Line 61: Line 61:
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  export USE_ARCH=n32 &&
 
  export USE_ARCH=n32 &&
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 75: Line 75:
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
 
  export USE_ARCH=64 &&
 
  export USE_ARCH=64 &&
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  

Revision as of 15:40, 7 October 2006

Download Source: http://www.pilot-link.org/files/pilot-link-0.11.8.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/pilot-link/pilot-link-0.11.8-bindings_fix-1.patch

Dependencies

Optional

Configuring

Pass the appropriate options below to configure to build the bindings you want:

--with-perl --with-java --with-tcl=/usr/lib --with-python

Remember to change /usr/lib to an appropriate value on multilib systems

Non-Multilib

Compile the package:

patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
export USE_ARCH=32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
unset USE_ARCH

N32

Compile the package:

patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
export USE_ARCH=n32 &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

Compile the package:

patch -Np1 -i ../pilot-link-0.11.8-bindings_fix-1.patch &&
export USE_ARCH=64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
unset USE_ARCH