|
|
| version 1.22, 2002/06/20 13:39:56 | version 1.29, 2002/12/26 12:27:27 |
|---|---|
| Line 45 | Line 45 |
| 3.What other libraries are needed to compile/install parser? | 3.What other libraries are needed to compile/install parser? |
| * You can compile and use parser without any additional libraries. | 3a. You can compile and use parser without any additional libraries. |
| That would be 'basic' version of it. | That would be 'basic' version of it. |
| 3b. In case you wish xml(xdoc and xnode classes) support you need libraries | |
| * In case you wish xml(xdoc and xnode classes) support you need libraries | |
| libxml2 >= 2.4.11 | libxml2 >= 2.4.11 |
| libxslt >= 1.0.9 | libxslt >= 1.0.9 |
| glib >= 1.2.10 | glib >= 1.2.10 |
| Line 65 | Line 64 |
| libxml2: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.4.12.tar.gz] | libxml2: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.4.12.tar.gz] |
| cd libxml2-x.x.x | cd libxml2-x.x.x |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_error_column_tab.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_error_column_tab.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_htmloutput_of_xslemptyattr_emptyquotes.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_htmloutput_of_xslemptyattr_emptyquotes.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context1.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context1.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context2.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context2.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context3.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context3.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libxml_transcoder_context4.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context4.patch |
| ./configure --prefix=$D/gnome --without-zlib | ./configure --prefix=$D/gnome --without-zlib --without-iconv |
| make install | make install |
| libxslt: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxslt/libxslt-1.0.9.tar.gz] | libxslt: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxslt/libxslt-1.0.9.tar.gz] |
| cd libxslt-x.x.x | cd libxslt-x.x.x |
| patch -p0 < $D/parser3project/parser3/src/patches/libxslt_html_output_no_charset_meta.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libxslt_html_output_no_charset_meta.patch |
| ./configure --with-libxml-prefix=$D/gnome --prefix=$D/gnome --without-debug --without-debugger | ./configure --with-libxml-prefix=$D/gnome --prefix=$D/gnome --without-debug --without-debugger |
| make install | make install |
| Line 90 | Line 89 |
| gdome2: [http://phd.cs.unibo.it/gdome2/tarball/gdome2-0.7.0.tar.gz] | gdome2: [http://phd.cs.unibo.it/gdome2/tarball/gdome2-0.7.0.tar.gz] |
| cd gdome2-x.x.x | cd gdome2-x.x.x |
| patch -p0 < $D/parser3project/parser3/src/patches/libgdome_cpp_syntax1.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_cpp_syntax1.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libgdome_cpp_syntax2.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_cpp_syntax2.patch |
| patch -p0 < $D/parser3project/parser3/src/patches/libgdome_morestatic.patch | patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_morestatic.patch |
| ./configure --with-glib-prefix=$D/gnome --disable-glibtest --with-libxml-prefix=$D/gnome --prefix=$D/gnome | ./configure --with-glib-prefix=$D/gnome --disable-glibtest --with-libxml-prefix=$D/gnome --prefix=$D/gnome |
| make install | make install |
| Line 111 | Line 110 |
| In case your glib as installed into some other prefix, | In case your glib as installed into some other prefix, |
| specify it's configuration file with | specify it's configuration file with |
| --with-glib-config=/path/to/your/glib-config | --with-glib-config=/path/to/your/glib-config |
| NOTE: | NOTE: |
| In case you are using SHARED xml libraries, you may want to link in direct path to them, | In case you are using SHARED xml libraries, you may want to link in direct path to them, |
| use this key to specify which linker key to use do do that: | |
| --with-pathlink=LKEY put dynamic libraries paths to binary | |
| using linker key (-R, -rpath-link) | |
| 3c. In case you wish $mail:receive support you need libraries | |
| glib >= 1.2.10 | |
| gmime >= 1.0.1 | |
| on your system, and specify path to them to Parser3 configure script. | |
| You may have already installed glib at 3b step. | |
| glib: [ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz] | |
| cd glib-x.x.x | |
| ./configure --prefix=$D/gnome | |
| make install | |
| gmime: [http://spruce.sourceforge.net/gmime/sources/gmime-1.0.5.tar.gz] | |
| cd gmime-x.x.x | |
| ./configure --prefix=$D/gnome | |
| make install | |
| Parser3 configure options, choose whether you need static or dynamic linkage with xml libs: | |
| --with-static-mailreceive=$D/gnome | |
| --with-shared-mailreceive=$D/gnome | |
| NOTE: | |
| In case your glib as installed into some other prefix, | |
| specify it's configuration file with | |
| --with-glib-config=/path/to/your/glib-config | |
| NOTE: | |
| In case you are using SHARED mime library, you may want to link in direct path to it, | |
| use this key to specify which linker key to use do do that: | use this key to specify which linker key to use do do that: |
| --with-pathlink=LKEY put dynamic libraries paths to binary | --with-pathlink=LKEY put dynamic libraries paths to binary |
| using linker key (-R, -rpath-link) | using linker key (-R, -rpath-link) |
| Line 134 | Line 166 |
| option to configure. | option to configure. |
| file::exec, file::cgi and mail:send (unix version) methods would be disabled. | file::exec, file::cgi and mail:send (unix version) methods would be disabled. |
| You can disable reading and executing files, belonging to group | You can enable reading and executing files, not belonging to group+user |
| other then current by setting | other then effective by setting |
| --disable-foreign-group-files | --disable-safe-mode |
| option to configure. | option to configure. |
| You can disable user-configured sendmail commands by forcing it, setting | You can disable user-configured sendmail commands by forcing it, setting |
| "--with=sendmail=COMMAND" | "--with=sendmail=COMMAND" |
| option to configure. | option to configure. |
| In case you are experiencing problem with gcc runtime exception handling, | |
| try to configure with | |
| --with-sjlj-exceptions | |
| option. | |
| Some root config options can be specified at configure time, and would override autodetects. | Some root config options can be specified at configure time, and would override autodetects. |