From 33737e8ba6b3605bcda45186ee36ea8e4a1e414b Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Mon, 8 Mar 2010 11:28:01 +0100 Subject: [PATCH] fixed LD_LIBRARY_PATH usage and added some notes to the README file --- README | 16 ++++++++-------- src/pkgmk.conf | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) 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++" -- 2.26.2