Annotation of parser3/buildall-without-xml, revision 1.1.2.2
1.1.2.1 paf 1: #!/bin/sh
2:
1.1.2.2 ! paf 3: # $Id: buildall-without-xml,v 1.1.2.1 2005/12/28 16:45:36 paf Exp $
1.1.2.1 paf 4:
5: install_directory=$HOME/parser3install
6: sendmail_command="/usr/sbin/sendmail -i -t -f postmaster"
7:
1.1.2.2 ! paf 8: echo "buildall-without-xml"
1.1.2.1 paf 9: echo "Script author: Alexander Petrosian <paf@design.ru> (http://paf.design.ru)"
10: echo
11: echo "Building..."
12:
13: parser3_directory=`pwd`
14: cd ..
15: project_directory=`pwd`
16: mkdir src
17:
18: if test ! -f "$project_directory/gc/lib/libgc.a"; then
19: cd $project_directory/src
20: echo "Downloading libgc [1 lib of 1]..."
21: wget -c http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.6.tar.gz
22: echo "Unpacking..."
23: gunzip -c gc6.6.tar.gz | tar vxf - >/dev/null
24: cd gc6.6
25: echo "Configuring libgc..."
26: CPPFLAGS=-DUSE_LIBC_PRIVATES \
27: ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent
28: echo "Building libgc..."
1.1.2.2 ! paf 29: make
1.1.2.1 paf 30: make install
31: fi
32:
33: cd $parser3_directory
34:
35: if test ! -f "Makefile"; then
36: echo "Configuring parser3..."
37: ./configure --prefix=$install_directory \
38: "--with-sendmail=$sendmail_command" \
39: --with-static-gc=$project_directory/gc/lib \
40: --silent
41: fi
42: echo "Building parser3..."
43: make install
44: echo "DONE"
45:
46: echo
47: echo
1.1.2.2 ! paf 48: echo "********************************************************************************************************"
! 49: echo "Now you can copy $install_directory with subdirectories
! 50: echo " (Parser3 WITHOUT XML support)"
! 51: echo "to your cgi-bin directory"
! 52: echo "Read more about installing Parser here:"
! 53: echo " http://www.parser.ru/en/docs/lang/install4apachecgi.htm" in English
! 54: echo " http://www.parser.ru/docs/lang/install4apachecgi.htm" in Russian
! 55: echo "********************************************************************************************************"
E-mail: