CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
fixed LD_LIBRARY_PATH usage and added some notes to the README file
authorJose V Beneyto <sepen@crux.nu>
Mon, 8 Mar 2010 10:28:01 +0000 (11:28 +0100)
committerJose V Beneyto <sepen@crux.nu>
Mon, 8 Mar 2010 10:28:01 +0000 (11:28 +0100)
README
src/pkgmk.conf

diff --git a/README b/README
index c899f6f85724ce11786ebaf91bb45b7a43def8eb..d9145ffad89403b86e6fb9fb629753a5708468a6 100644 (file)
--- 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
index e9a7e2c7298d6ca86767680a6c169002932e26e8..e3f399c9050562efcf5c23065f2ef317f03c4e6d 100644 (file)
@@ -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++"