[Koha] Language Switch
Frederic Demians
frederic at tamil.fr
Mon Apr 28 19:12:48 NZST 2008
> But I was having some issue when ran this command:
>
> ./install.pl lo
> Can't locate C4/Languages.pm in @INC (@INC contains:
> /home/jmf/kohaclone /etc/perl /usr/local/lib/perl/5.8.8
> /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at
> ./install.pl line 6.
>
> and under install.pl line shows below:
>
In order to execute Koha command line scripts, two environment variables
are required:
export KOHA_CONF=<koha-root>/etc/koha-conf.xml
export PERL5LIB=<koha-root>
You have to adjust to your installation. The PERL5LIB must be the
directory containing 'C4' Koha directory.
Use './install-code.pl lo' rather than './install.pl lo'. install.pl
generates templates for all languages. install-code.pl generates
templates for specified languages. If you don't have 'install-code.pl'
just use 'install.pl'
More information about the Koha
mailing list