[Koha] 8 Perl Modules are Not Detected by koha_perl_deps.pl on VDS (was Re: Installing Koha on CentOS+cPanel Hosting Server)

Bernardo Gonzalez Kriegel bgkriegel at gmail.com
Tue Jun 26 06:07:51 NZST 2012


Andi,


> Is it necessary to remove these (installed RPM) package:
>
> # rpm -qa *\Graphics\*
> GraphicsMagick-1.3.14-1.el6.x86_64
> GraphicsMagick-perl-1.3.14-1.el6.x86_64
>
> Or it's safe to leave them untouched, then compile-install GraphicsMagick
> from:
>
> http://nchc.dl.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.16/GraphicsMagick-1.3.16.tar.bz2
>
> ?
>
> I think it's safe to leave them, if you install the new version on
/usr/local/*.

One more thing: when you do the installation of Koha there are some files
that may have the wrong
"shebang" line (#!/usr/bin/perl instead of #!/usr/local/bin/perl).

Run (on /usr/share/koha) something like this

# for i in $( egrep -Rl "/usr/bin/perl" * ); do perl -i -pne
's|\#\!\s*/usr/bin/perl|\#\!/usr/local/bin/perl|;' $i; done

to fix them (there are a few files that are missed by fix-perl-path.PL)

Bernardo


More information about the Koha mailing list