Difference between revisions of "Pilot-Link"

From CBLFS
Jump to navigationJump to search
(Configuring)
(Multilib)
Line 62: Line 62:
 
  export USE_ARCH=n32 &&
 
  export USE_ARCH=n32 &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 +
sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \
 +
        -e "/sys_lib_dlsearch_path_spec/s:lib:&32:g" libtool &&
 
  make
 
  make
  
Line 76: Line 78:
 
  export USE_ARCH=64 &&
 
  export USE_ARCH=64 &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 +
sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \
 +
        -e "/sys_lib_dlsearch_path_spec/s:lib:&64:g" libtool &&
 
  make
 
  make
  

Revision as of 15:48, 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 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&32:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&32:g" libtool &&
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 &&
sed -i -e "/sys_lib_search_path_spec/s:/lib:&64:g" \
       -e "/sys_lib_dlsearch_path_spec/s:lib:&64:g" libtool &&
make

Install the package

make install &&
unset USE_ARCH