|
|
| version 1.21.2.1, 2002/06/20 16:31:06 | version 1.24, 2002/06/24 15:26:34 |
|---|---|
| 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 |
| 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.1.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) |