--- parser3/INSTALL 2002/12/19 11:20:37 1.27 +++ parser3/INSTALL 2003/05/12 06:35:16 1.32 @@ -39,7 +39,7 @@ $prefix/etc/ parser3.charsets/ -- charset definition files koi8-r.cfg -- cyrillic charset [KOI8-R encoding] - windows-1250.cfg -- central europian charset [windows-1250 encoding] + windows-1250.cfg -- central European charset [windows-1250 encoding] windows-1251.cfg -- cyrillic charset [windows-1251 encoding] windows-1257.cfg -- baltic charset [windows-1257 encoding] @@ -49,10 +49,10 @@ That would be 'basic' version of it. 3b. In case you wish xml(xdoc and xnode classes) support you need libraries - libxml2 >= 2.4.11 - libxslt >= 1.0.9 - glib >= 1.2.10 - gdome2 >= 0.7.0 + libxml2 >= 2.5.1 [ftp://xmlsoft.org/libxml2-2.5.1.tar.gz] + libxslt >= 1.0.23 [ftp://xmlsoft.org/libxslt-1.0.23.tar.gz] + glib >= 1.2.10 [ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz] + gdome2 >= 0.7.2 [http://gdome2.cs.unibo.it/tarball/gdome2-0.7.2.tar.gz] on your system, and specify path to them to Parser3 configure script. Sources of these two libraries must be patched prior to compile: @@ -61,37 +61,30 @@ Installation sequence of these libraries to $D/gnome: - libxml2: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/libxml2-2.4.12.tar.gz] + libxml2: cd libxml2-x.x.x - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_error_column_tab.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_htmloutput_of_xslemptyattr_emptyquotes.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context1.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context2.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context3.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml_transcoder_context4.patch + patch -p0 < $D/parser3project/parser3/src/lib/patches/libxml2.patch ./configure --prefix=$D/gnome --without-zlib --without-iconv make install - libxslt: [ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxslt/libxslt-1.0.9.tar.gz] + libxslt: cd libxslt-x.x.x - patch -p0 < $D/parser3project/parser3/src/lib/patches/libxslt_html_output_no_charset_meta.patch + patch -p0 < $D/parser3project/parser3/src/lib/patches/libxslt.patch ./configure --with-libxml-prefix=$D/gnome --prefix=$D/gnome --without-debug --without-debugger make install - glib: [ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz] + glib: cd glib-x.x.x ./configure --prefix=$D/gnome make install - gdome2: [http://phd.cs.unibo.it/gdome2/tarball/gdome2-0.7.0.tar.gz] + gdome2: cd gdome2-x.x.x - patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_cpp_syntax1.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_cpp_syntax2.patch - patch -p0 < $D/parser3project/parser3/src/lib/patches/libgdome_morestatic.patch + patch -p0 < $D/parser3project/parser3/src/lib/patches/gdome2.patch ./configure --with-glib-prefix=$D/gnome --disable-glibtest --with-libxml-prefix=$D/gnome --prefix=$D/gnome make install @@ -117,19 +110,19 @@ 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 + glib >= 1.2.10 [ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz] + gmime >= 1.0.1 [http://spruce.sourceforge.net/gmime/sources/gmime-1.0.5.tar.gz] 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] + glib: cd glib-x.x.x ./configure --prefix=$D/gnome make install - gmime: [http://spruce.sourceforge.net/gmime/sources/gmime-1.0.5.tar.gz] + gmime: cd gmime-x.x.x ./configure --prefix=$D/gnome @@ -145,7 +138,7 @@ --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 to do that: --with-pathlink=LKEY put dynamic libraries paths to binary using linker key (-R, -rpath-link) @@ -166,9 +159,9 @@ option to configure. file::exec, file::cgi and mail:send (unix version) methods would be disabled. - You can disable reading and executing files, belonging to group - other then current by setting - --disable-foreign-group-files + You can enable reading and executing files, not belonging to group+user + other then effective by setting + --disable-safe-mode option to configure. You can disable user-configured sendmail commands by forcing it, setting @@ -193,4 +186,4 @@ Alexandr Petrosian (http://paf.design.ru) -$Id: INSTALL,v 1.27 2002/12/19 11:20:37 paf Exp $ +$Id: INSTALL,v 1.32 2003/05/12 06:35:16 paf Exp $