|
|
| version 1.1.2.1, 2005/12/28 16:45:36 | version 1.2, 2005/12/29 13:06:58 |
|---|---|
| Line 5 | Line 5 |
| install_directory=$HOME/parser3install | install_directory=$HOME/parser3install |
| sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" | sendmail_command="/usr/sbin/sendmail -i -t -f postmaster" |
| echo "buildall-with-xml" | echo "buildall-without-xml" |
| echo "Script author: Alexander Petrosian <paf@design.ru> (http://paf.design.ru)" | echo "Script author: Alexander Petrosian <paf@design.ru> (http://paf.design.ru)" |
| echo | echo |
| echo "Building..." | echo "Building..." |
| Line 13 echo "Building..." | Line 13 echo "Building..." |
| parser3_directory=`pwd` | parser3_directory=`pwd` |
| cd .. | cd .. |
| project_directory=`pwd` | project_directory=`pwd` |
| mkdir src | mkdir src >/dev/null 2>&1 |
| if test ! -f "$project_directory/gc/lib/libgc.a"; then | if test ! -f "$project_directory/gc/lib/libgc.a"; then |
| cd $project_directory/src | cd $project_directory/src |
| Line 26 if test ! -f "$project_directory/gc/lib/ | Line 26 if test ! -f "$project_directory/gc/lib/ |
| CPPFLAGS=-DUSE_LIBC_PRIVATES \ | CPPFLAGS=-DUSE_LIBC_PRIVATES \ |
| ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent | ./configure --prefix=$project_directory/gc --disable-threads --disable-shared --silent |
| echo "Building libgc..." | echo "Building libgc..." |
| make | |
| make install | make install |
| fi | fi |
| Line 44 echo "DONE" | Line 45 echo "DONE" |
| echo | echo |
| echo | echo |
| echo "*******************************************************************************************" | echo "********************************************************************************************************" |
| echo "Now you can copy $HOME/parser3install/bin/parser3 WITHOUT XML support to your CGI directory" | echo "Now you can copy $install_directory with subdirectories" |
| echo "*******************************************************************************************" | echo " -Parser3 WITHOUT XML support-" |
| echo "to your cgi-bin directory" | |
| echo "Read more about installing Parser here:" | |
| echo " http://www.parser.ru/en/docs/lang/install4apachecgi.htm in English" | |
| echo " http://www.parser.ru/docs/lang/install4apachecgi.htm in Russian" | |
| echo "********************************************************************************************************" |