--- parser3/Attic/buildall-with-xml 2007/08/08 07:35:54 1.15 +++ parser3/Attic/buildall-with-xml 2008/04/09 10:11:50 1.22 @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: buildall-with-xml,v 1.15 2007/08/08 07:35:54 misha Exp $ +# $Id: buildall-with-xml,v 1.22 2008/04/09 10:11:50 misha Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -35,13 +35,14 @@ if test ! -f "$project_directory/gc/lib/ echo "Building libgc..." make make install + cd .. rm -rf $libgc fi if test ! -f "$project_directory/gnome/lib/libxml2.a"; then cd $project_directory/src - libxml2="libxml2-2.6.29" + libxml2="libxml2-2.6.32" if test ! -f "$libxml2.tar.gz"; then echo "Downloading libxml [2 lib of 3]..." wget -c --passive-ftp ftp://xmlsoft.org/libxml2/$libxml2.tar.gz @@ -78,12 +79,13 @@ if test ! -f "$project_directory/gnome/l echo "Building libxml..." make make install + cd .. rm -rf $libxml2 fi if test ! -f "$project_directory/gnome/lib/libxslt.a"; then cd $project_directory/src - libxslt="libxslt-1.1.21" + libxslt="libxslt-1.1.23" if test ! -f "$libxslt.tar.gz"; then echo "Downloading libxslt [3 lib of 3]..." wget -c --passive-ftp ftp://xmlsoft.org/libxslt/$libxslt.tar.gz @@ -104,23 +106,31 @@ if test ! -f "$project_directory/gnome/l echo "Building libxslt..." make make install + cd .. rm -rf $libxslt fi cd $parser3_directory + if test ! -f "Makefile"; then + options="" + options="$options --with-static-gc=$project_directory/gc/lib" + options="$options --with-static-xml=$project_directory/gnome" +# options="$options --disable-safe-mode" +# options="$options --with-dynamic-stdcpp" +# options="$options --disable-stringstream" + options="$options --silent" + echo "Configuring parser3..." - ./configure --prefix=$install_directory \ - "--with-sendmail=$sendmail_command" \ - --with-static-gc=$project_directory/gc/lib \ - --with-static-xml=$project_directory/gnome \ -# --disable-safe-mode \ -# --with-dynamic-stdcpp \ - --silent + ./configure --prefix=$install_directory "--with-sendmail=$sendmail_command" $options fi echo "Building parser3..." make install + +# remove debug info +# strip ${install_directory}/bin/parser3 + echo "DONE" echo