Compile under *nix

To compile Parser3 under *nix you need to execute script buildall.

So the typical process for downloading and compiling Parser3 should look like that:


cd ~
mkdir parser3project
cd parser3project
wget https://www.parser.ru/off-line/download/src/parser-3.4.6.tar.gz
tar -xzf parser-3.4.6.tar.gz
mv parser-3.4.6 parser3
cd parser3
./buildall



Script
buildall supports the following options:
--disable-safe-mode-enable reading and executing files, not belonging to group+user other then effective.
--without-xml-build Parser3 without XML support.
--with-mailreceive-enable mail receive feature (by starting Parser3 with an option -m the passed into stdin email will be accessible in $mail:receive)
--with-apache-build apache module (DSO, apache versions 1.X and 2.X are supported).
--strip-remove debug info.


Compiling SQL drivers should look like that:

cd ~/parser3project
mkdir sql
cd sql
wget https://www.parser.ru/off-line/download/src/parser3mysql-10.8.tar.gz
tar -xzf parser3mysql-10.8.tar.gz
cd parser3mysql-10.8
./configure
make





Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 26.01.2021