From: Jose V Beneyto Date: Mon, 8 Mar 2010 10:28:01 +0000 (+0100) Subject: fixed LD_LIBRARY_PATH usage and added some notes to the README file X-Git-Url: http://gitweb/?a=commitdiff_plain;h=33737e8ba6b3605bcda45186ee36ea8e4a1e414b;p=pkgutils-cross.git fixed LD_LIBRARY_PATH usage and added some notes to the README file --- diff --git a/README b/README index c899f6f..d9145ff 100644 --- a/README +++ b/README @@ -4,18 +4,18 @@ README Compile it! $ make -Add pkgmk-cross to the PATH environment variable: -$ export PATH=$PATH:. - Edit pkgmk.conf with your settings: $ vim src/pkgmk.conf +Add pkgmk-cross to the PATH environment variable: +$ export PATH=$PATH:/devel/crux-arm/pkgutils-cross:/devel/crux-arm/pkgutils-cross/src + Now you're ready to crosscompile packages: -$ cd /devel/crux-arm/ports-cross/core/ncurses -$ pkgmk-cross +$ cd /devel/crux-arm/ports/core-cross/ncurses +$ fakeroot pkgmk-cross And also to install (when you need a dependency installed) -$ cd /devel/crux-arm/ports-cross/core/ncurses +$ cd /devel/crux-arm/ports/core-cross/ncurses $ pkgadd-cross ncurses#X.X-1.pkg.tar.gz -$ cd /devel/crux-arm/ports-cross/core/bash -$ pkgmk-cross +$ cd /devel/crux-arm/ports/core-cross/bash +$ fakeroot pkgmk-cross diff --git a/src/pkgmk.conf b/src/pkgmk.conf index e9a7e2c..e3f399c 100644 --- a/src/pkgmk.conf +++ b/src/pkgmk.conf @@ -9,7 +9,7 @@ export CLFS="/devel/crux-arm/toolchain/clfs" export CROSSTOOLS="/devel/crux-arm/toolchain/crosstools" export PATH="$CROSSTOOLS/bin:$PATH" -export LD_LIBRARY_PATH="$CROSSTOOLS/lib:$CROSSTOOLS/usr/lib" +export LD_LIBRARY_PATH="$CROSSTOOLS/lib:$CROSSTOOLS/usr/lib:/usr/lib/fakeroot" export CC="$CTARGET-gcc" export CXX="$CTARGET-g++"