Author: jfrederic.clere(a)jboss.com
Date: 2007-12-19 09:44:46 -0500 (Wed, 19 Dec 2007)
New Revision: 1260
Modified:
trunk/build/unix/buildbin.asf-jk.sh
Log:
Add LD_LIBRARY_PATH for apxs... Solaris needs that.
Use a temp sed file for script.
Modified: trunk/build/unix/buildbin.asf-jk.sh
===================================================================
--- trunk/build/unix/buildbin.asf-jk.sh 2007-12-19 12:58:09 UTC (rev 1259)
+++ trunk/build/unix/buildbin.asf-jk.sh 2007-12-19 14:44:46 UTC (rev 1260)
@@ -53,8 +53,10 @@
configdir=`dirname $config`
#
# Arrange apxs/config_vars.mk so that we can use it with the httpd we are building.
-sed "/^my \$installbuilddir = / c\
-my \$installbuilddir = \"${configdir}\";" ${apxs} | sed
's:config_vars.mk:config_vars.mk.jk:' > ${apxs}.jk
+echo "/^my \$installbuilddir = / c\\" > $$.sed
+echo "my \$installbuilddir = \"${configdir}\";" >> $$.sed
+
+sed -f $$.sed ${apxs} | sed 's:config_vars.mk:config_vars.mk.jk:' >
${apxs}.jk
chmod a+x ${apxs}.jk
sbindir=`find $output_loc -type d -name sbin`
@@ -92,6 +94,9 @@
mkdir -p $configdir/jk
cp $configdir/config_vars.mk.jk $configdir/jk/config_vars.mk
+libdir=`find $output_loc -type d -name lib`
+LD_LIBRARY_PATH=$libdir
+export LD_LIBRARY_PATH
echo "$native_sources; ./configure --with-apxs=${apxs}.jk"
./configure --with-apxs=${apxs}.jk
make
Show replies by date