--- parser3/Attic/buildall-with-xml 2009/09/26 05:31:43 1.32 +++ parser3/Attic/buildall-with-xml 2010/07/07 03:04:37 1.37 @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: buildall-with-xml,v 1.32 2009/09/26 05:31:43 misha Exp $ +# $Id: buildall-with-xml,v 1.37 2010/07/07 03:04:37 misha Exp $ install_directory=$HOME/parser3install sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" @@ -17,6 +17,7 @@ mkdir src >/dev/null 2>&1 if test ! -f "$project_directory/gc/lib/libgc.a"; then cd $project_directory/src +# libgc="gc6.8" # FreeBSD 4.X is not supported in newer gc version libgc="gc-7.1" if test ! -f "$libgc.tar.gz"; then echo "Downloading gc [1 lib of 4]..." @@ -42,10 +43,10 @@ fi if test ! -f "$project_directory/pcre/lib/libpcre.a"; then cd $project_directory/src - libpcre="pcre-7.9" + libpcre="pcre-8.10" if test ! -f "$libpcre.tar.gz"; then echo "Downloading pcre [2 lib of 4]..." - wget -c ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz + wget -c --passive-ftp ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$libpcre.tar.gz fi echo "Unpacking pcre..." rm -rf $libpcre @@ -73,7 +74,7 @@ fi if test ! -f "$project_directory/gnome/lib/libxml2.a"; then cd $project_directory/src - libxml2="libxml2-2.7.5" + libxml2="libxml2-2.7.6" if test ! -f "$libxml2.tar.gz"; then echo "Downloading libxml [3 lib of 4]..." wget -c --passive-ftp ftp://xmlsoft.org/libxml2/$libxml2.tar.gz @@ -151,6 +152,7 @@ if test ! -f "Makefile"; then options="$options --with-static-gc=$project_directory/gc/lib" options="$options --with-static-pcre=$project_directory/pcre" options="$options --with-static-xml=$project_directory/gnome" +# options="$options --with-curl=/usr/include/curl" # options="$options --disable-safe-mode" # options="$options --with-dynamic-stdcpp" # options="$options --disable-stringstream"