Voraussetzung ist natürlich erst einmal, daß Apache mit mod_perl schon läuft.
Ich habe das noch auf dem SuSE 7.2 gemacht:
Zuerst einmal werden einige libraries benötigt:
(ich hab das alles in /usr/local/src gemacht)
libexpat
Code: Select all
wget http://belnet.dl.sourceforge.net/sourceforge/expat/expat-1.95.5.tar.gz
tar xzf expat-1.95.5.tar.gz
cd expat-1.95.5
./configure --prefix=/usr
make
make install
cd ..
Code: Select all
wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.8.tar.gz
tar xzf libiconv-1.8.tar.gz
cd libiconv-1.8
./configure --prefix=/usr
make
make install
cd ..
Code: Select all
wget http://fr.rpmfind.net/linux/gnome.org/sources/libghttp/1.0/libghttp-1.0.9.tar.gz
tar xzf libgttp-1.0.9.tar.gz
cd libghttp-1.0.9
./configure --prefix=/usr
make
make install
cd ..
Code: Select all
wget http://fr.rpmfind.net/linux/gnome.org/sources/libxslt/1.0/libxslt-1.0.20.tar.gz
tar xzf libxslt-1.0.20.tar.gz
cd libxslt-1.0.20
./configure --prefix=/usr
make
make install
cd ..
Code: Select all
wget http://download-2.gingerall.cz/download/sablot/Sablot-0.97.tar.gz
tar xzf Sablot-0.97.tar.gz
cd Sablot-0.97
./configure --prefix=/usr
make
make install
wir holen die aber trotzdem ins CPAN-verzeichnis, also wenigstens einmal davor sollte man schon cpan aufgerufen haben mit
Code: Select all
perl -MCPAN -e shell
Code: Select all
cd /root/.cpan/build/
wget http://search.cpan.org/CPAN/authors/id/P/PA/PAVELH/XML-Sablotron-0.90.tar.gz
tar xzf XML-Sablotron-0.90.tar.gz
cd XML-Sablotron-0.90.tar.gz
mcedit Makefile.PL
In Zeile 181 steht
Code: Select all
$libs = "-lsablot -lexpat $libs";
Code: Select all
$libs = "-lsablot -lexpat -liconv $libs";
Jetzt geht's weiter..
Code: Select all
perl Makefile.PL
make
make test
make install
cd ..
Das müssen wir auch per Hand machen, weil AxKit mit der neuesten Version (1.53) nicht geht, deshalb installieren wir manuell die 1.52er:
Code: Select all
wget http://search.cpan.org/CPAN/authors/id/P/PH/PHISH/XML-LibXML-1.52.tar.gz
tar xzf XML-LibXML-1.52.tar.gz
cd XML-LibXML-1.52
perl Makefile.PL
make
make test
make install
Code: Select all
# perl -MCPAN -e shell
cpan> install AxKit::XSP::Util
Bei mir gabs noch Probleme mit Apache::Filter bei "make test", die sich so umgehen lassen (nachdem es den Fehler im CPAN gab)
Code: Select all
cd /root/.cpan/build/Apache-Filter-1.021
make install
User und Gruppe von seiner echten apache-config einzutragen, damit's da keine Probleme gibt. (Bei mir ist das wwwrun/www)
evtl. muß man seinen "richtigen" Apache nach diesem Test nochmal neu starten mit "rcapache restart"
Wenn dann alles geklappt hat, kann man AxKit so konfigurieren, wie auf den Perl.com tutorials (http://axkit.org/wiki/view/AxKit/DefaultPage) beschrieben ist.
Sollten hier noch Fehler im HowTo sein (das kann ja mal vorkommen) dann bitte einfach antworten, ich schau dann wie ich helfen kann..