Can't locate C4/TmplTokenType.pm in @INC
I tried: env KOHA_CONF=/etc/koha/koha-conf.xml env PERL5LIB=/usr/share/koha/lib perl translate install de-De but got: readdir () attempted on invalid dirhandle $fh at LangInstaller.pm line 65. closedir () attempted on invalid dirhandle $fh at LangInstaller.pm line 66. Unsupported language: de-DE many thanks
Perhaps try: export KOHA_CONF=/etc/koha/koha-conf.xml export PERL5LIB=/usr/share/koha/lib Check that the paths exist and point to the correct files and directories perl translate install de-DE Some more hints can be found here: http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for... I remember that once there was a problem with installation of languages on standard installs, but I am not sure when this was fixed.
I try to install the translation for koha-3.04.08.000 (on Ubuntu
11.10, Perl 5.012004):
3.4.x is quite old now and is (almost?) end of life. Perhaps you want to consider an update to a newer version of Koha? The current stable release is 3.6.4 (http://koha-community.org/koha-3-6-4/ <http://koha-community.org/koha-3-6-4/> ) and 3.8 will be released soon. Hope this helps, Katrin From: koha-translate-bounces@lists.koha-community.org [mailto:koha-translate-bounces@lists.koha-community.org] On Behalf Of markus.mohr@aon.at Sent: Monday, April 02, 2012 10:07 AM To: koha-translate@lists.koha-community.org Subject: [Koha-translate] Can't locate C4/TmplTokenType.pm in @INC I tried: env KOHA_CONF=/etc/koha/koha-conf.xml env PERL5LIB=/usr/share/koha/lib perl translate install de-De but got: readdir () attempted on invalid dirhandle $fh at LangInstaller.pm line 65. closedir () attempted on invalid dirhandle $fh at LangInstaller.pm line 66. Unsupported language: de-DE many thanks
much thanks, I think perhaps I have a problem with ubuntu 11.10, so I will reinstall (other release) everything, best regards
now it works and my fault was, You have first to perl Makefile.PL make make test make install and then cd /usr/share/koha/misc/translator [export ...] perl translate install xy-XY many thanks
participants (2)
-
Fischer, Katrin -
markus.mohr@aon.at