[Koha] perl modules don't work

Thibaud Hulin hulin.thibaud at wanadoo.fr
Fri May 4 20:41:12 NZST 2007


Hi,
Nowadays, koha is the only way for apache : the adress 'localhost' 
inserted in my navigator show "WELCOME TO KOHA", and firefox try to 
download opac-main.pl without launching it.
OS : Debian lenny / sid (testing)
I'm using the howto for Sarge, but I installed mysql4 and not mysql5.

During the installation, when I configure CPAN with this :
perl -MCPAN -e 'install "Event"'
I got errors :
perl: No such file or directory
CPAN: No such file or directory
modules: No such file or directory
02packages.details.txt.gz: No such file or directory
Bad luck... Still failed!
Can't access URL 
ftp://ftp.u-paris10.fr/perl/CPAN/modules/02packages.details.txt 
                      .gz.

Please check, if the URLs I found in your configuration file
(ftp://ftp.u-paris10.fr/perl/CPAN) are valid. The urllist can be edited.
E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch modules/02packages.details.txt.gz
Trying to get away with old file:
705772  492 -rw-r--r--  1 0        0          495735 Sep 30  2006 
/root/.cpan/so 
urces/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
   Database was generated on Fri, 29 Sep 2006 21:39:34 GMT
Warning: This index file is 216 days old.
   Please check the host you chose as your CPAN mirror for staleness.
   I'll continue but problems seem likely to happen.

   There's a new CPAN.pm version (v1.8801) available!
   [Current version is v1.7602]
   You might want to try
     install Bundle::CPAN
     reload cpan
   without quitting the current session. It should be a seamless upgrade
   while we are running...

Fetching with LWP:
   ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz
LWP failed with code[404] message[Can't chdir to perl]
Fetching with Net::FTP:
   ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz
Couldn't cwd perl/CPAN/modules at /usr/share/perl/5.8/CPAN.pm line 2259.

Trying with "/usr/bin/lynx -source" to get
     ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz

Recherche ftp.u-paris10.fr
Connexion FTP à ftp.u-paris10.fr
Recherche 193.50.151.62:39809
Connexion FTP data à 193.50.151.62:39809
Recherche ftp.u-paris10.fr
Connexion FTP à ftp.u-paris10.fr
Acces impossible 
`ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz'
Alerte! : Impossible d'accéder au document.

lynx : accès impossible au fichier de départ
System call "/usr/bin/lynx -source 
"ftp://ftp.u-paris10.fr/perl/CPAN/modules/03m 
    odlist.data.gz"  > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] 
doesn't e                              xist

Trying with "/usr/bin/ncftpget" to get
     ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz
ncftpget: Could not change directory: server said: perl: No such file or 
directo                              ry

System call "cd /root/.cpan/sources/modules && /usr/bin/ncftpget 
"ftp://ftp.u-pa 
ris10.fr/perl/CPAN/modules/03modlist.data.gz" "
returned status 5 (wstat 1280)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] 
doesn't e                              xist

Trying with "/usr/bin/wget -O -" to get
     ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz
--10:06:19--  ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz
            => `-'
Résolution de ftp.u-paris10.fr... 193.50.151.62
Connexion vers ftp.u-paris10.fr|193.50.151.62|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD /perl/CPAN/modules ...
Répertoire « perl/CPAN/modules » inexistant.


System call "/usr/bin/wget -O - 
"ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modl 
       ist.data.gz"  > /root/.cpan/sources/modules/03modlist.data"
returned status 1 (wstat 256)
Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] 
doesn't e                              xist
Issuing "/usr/bin/ftp -n"
Local directory now /root/.cpan/sources/modules
perl: No such file or directory
CPAN: No such file or directory
modules: No such file or directory
03modlist.data.gz: No such file or directory
Bad luck... Still failed!
Can't access URL ftp://ftp.u-paris10.fr/perl/CPAN/modules/03modlist.data.gz.

Please check, if the URLs I found in your configuration file
(ftp://ftp.u-paris10.fr/perl/CPAN) are valid. The urllist can be edited.
E.g. with 'o conf urllist push ftp://myurl/'

Could not fetch modules/03modlist.data.gz
Trying to get away with old file:
705773  128 -rw-r--r--  1 0        0          125044 Sep 30  2006 
/root/.cpan/so                              urces/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Event is up to date.

Is it normal ?

Thanks for help,
Thibaud.




More information about the Koha mailing list