This page gives some extra hints on installing koha on debian lenny, with respect to these installation howtos:
add to /etc/apt/sources.list :
deb http://ftp.indexdata.dk/debian lenny main deb-src http://ftp.indexdata.dk/debian lenny main
import the archive key: http://ftp.indexdata.dk/debian/indexdata.asc and update
install
apt-get install libalgorithm-checkdigits-perl libbiblio-endnotestyle-perl libcgi-session-perl libclass-accessor-perl libclass-factory-util-perl libdata-ical-perl libdate-calc-perl libdate-ical-perl libdate-manip-perl libdatetime-format-mail-perl libdatetime-format-strptime-perl libdatetime-format-w3cdtf-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-mysql-perl libdbi-perl libgd-barcode-perl libhtml-template-pro-perl libimage-magick-perl liblingua-ispell-perl liblingua-stem-perl liblist-moreutils-perl liblocale-gettext-perl liblocale-po-perl libmail-sendmail-perl libmarc-charset-perl libmarc-crosswalk-dublincore-perl libmarc-record-perl libmarc-xml-perl libmime-lite-perl libnet-ldap-perl libnet-z3950-zoom-perl libpdf-api2-perl libpdf-reuse-barcode-perl libpdf-reuse-perl libpoe-perl libschedule-at-perl libtext-charwidth-perl libtext-csv-perl libtext-csv-xs-perl libtext-iconv-perl libtext-wrapi18n-perl libtimedate-perl libtime-duration-perl libtime-format-perl libunix-syslog-perl libxml-dom-perl libxml-dumper-perl libxml-libxml-perl libxml-libxslt-perl libxml-namespacesupport-perl libxml-parser-perl libxml-perl libxml-regexp-perl libxml-rss-perl libxml-sax-perl libxml-simple-perl libxml-xslt-perl libyaml-syck-perl libhtml-scrubber-perl libdata-uuid-perl libemail-date-perl libparams-util-perl
aptitude install libxml-sax-writer-perl lijson-perl
apt-get install dh-make-perl dh-make-perl --build --cpan CGI::Session dh-make-perl --build --cpan CGI::Session::Serialize::yaml dh-make-perl --build --cpan CGI::Session::YAML dh-make-perl --build --cpan Class::Adapter dh-make-perl --build --cpan SMS::Send dh-make-perl --build --cpan HTTP::OAI dh-make-perl --core-ok --build --cpan IPC::Cmd dpkg -i lib*-perl_*_all.deb
use the right xml-sax-parser:
update-perl-sax-parsers --add XML::LibXML::SAX::Parser --priority 80 update-perl-sax-parsers --update
from the koha-source-dir run
misc/sax_parser_print.pl