On Tue, Jan 22, 2008 at 12:38:28PM +0100, Alexander Klink wrote:
> possibly (although it changes rarely) also
> cd ${SVNDIR}/trunk/clients/perl/OpenXPKI-Client-HTML-Mason
> perl Makefile.PL
> make
> make install
yes, i have web part in another script:
SVNDIR="/usr/src/openxpki-svn.checkout"
cd ${SVNDIR}/trunk/clients/perl/OpenXPKI-Client-HTML-Mason
apt-get install libdata-page-perl libmath-round-perl libcache-cache-perl
libclass-container-perl libhtml-mason-perl libtest-www-mechanize-perl
libapache-mod-perl libio-socket-ssl-perl libapache-request-perl debconf-utils
apache apache-ssl apache-perl libtest-simple-perl
dh-make-perl --build --cpan Data::SpreadPagination
dpkg -i libdata-spreadpagination-perl_0.1.2-1_all.deb
apt-get -y build-dep libhook-lexwrap-perl
apt-get -t testing -b source libhook-lexwrap-perl
dpkg -i libhook-lexwrap-perl_0.20-1_all.deb
dh-make-perl --build --cpan HTTP::Server::Simple::Mason
dpkg -i libhttp-server-simple-mason-perl_0.09-1_all.deb
perl Makefile.PL
make
make install
cp -av htdocs /var/www/openxpki
cp -av eg/openxpki-mason-mod_perl.conf /etc/apache/conf.d/
echo "LoadModule env_module /usr/lib/apache/1.3/mod_env.so" >>
/etc/apache/modules.conf
and script continues with commented instructions for setting up
openxpki-mason-mod_perl.conf (maybe i copy full customized conf file ;-)):
#PerlAddVar MasonDataDir "/var/cache/mason"
#PerlAddVar MasonCompRoot "/var/www/openxpki"
#SetEnv OPENXPKI_SOCKET_FILE "/usr/local/var/openxpki/openxpki.socket"
#SetEnv OPENXPKI_MASON_SESSION_DIR "/usr/local/var/openxpki/mason_sessions"
> well. Sometimes, you may also need to delete the Mason cache files (I
> can't really pinpoint as to when, but sometimes strange errors happen
> and deleting the Mason cache helps).
ok
> > # msgfmt -o /usr/share/locale/en_GB/LC_MESSAGES/openxpki.mo
> > ${SVNDIR}/trunk/i18n/en_GB/openxpki.po
> You might want to do a make; make install in the trunk/i18n directory to
> do this - if new translations have been made, this needs to be done for
> them to be available as well (and possibly an Apache restart/reload).
make scan
make
make install
--
5o Peter.Mann at tuke.sk
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users