When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
./configure --prefix=/usr --with-contrib-plugins=all,-byogames,-Cccc,-cbkoders,-codesnippets,-copystrings,-envvars,-headerfixup,-libfinder,-NassiShneiderman,-exportermake -j2sudo make installread -n1 -p "Press any key to continue..."
make install --enable-portable --DESTDIR=~
In "make install" step, there have any options for portable?
Loaden you could use --prefix=/home/loaden/cb, then all files will be placed in that dir, and you can copy them around (not sure if will be portable)... On linux, too few people care about the 'portable' thing, it is pretty windowsish...
Index: update===================================================================--- update (revision 6620)+++ update (working copy)@@ -106,14 +106,14 @@ if [ "x$MSYSTEM" = "x" ] ; then echo Creating launch-scripts echo "#!/bin/sh" > output/run.sh- echo -n "APP_DIR=" >> output/run.sh- echo `pwd`/output >> output/run.sh+ echo 'APP_DIR=`dirname "$0"`' >> output/run.sh+ echo 'APP_DIR=`( cd "$APP_DIR" && pwd )`' >> output/run.sh echo "export LD_LIBRARY_PATH=\$APP_DIR:\$LD_LIBRARY_PATH" >> output/run.sh echo "\$APP_DIR/codeblocks \$@" >> output/run.sh chmod +x output/run.sh echo "#!/bin/sh" > devel/run.sh- echo -n "APP_DIR=" >> devel/run.sh- echo `pwd`/devel >> devel/run.sh+ echo 'APP_DIR=`dirname "$0"`' >> devel/run.sh+ echo 'APP_DIR=`( cd "$APP_DIR" && pwd )`' >> devel/run.sh echo "export LD_LIBRARY_PATH=\$APP_DIR:\$LD_LIBRARY_PATH" >> devel/run.sh echo "\$APP_DIR/codeblocks \$@" >> devel/run.sh chmod +x devel/run.sh
@Loaden and all other linux users (especially if the shell is not bash):Can you try this patch for the update-script ?
#!/bin/shAPP_DIR=`dirname "$0"`APP_DIR=`( cd "$APP_DIR" && pwd )`export LD_LIBRARY_PATH=$APP_DIR:$LD_LIBRARY_PATH$APP_DIR/codeblocks $@
Quote from: jens on September 21, 2010, 08:25:45 am@Loaden and all other linux users (especially if the shell is not bash):Can you try this patch for the update-script ?Works well!