Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Changing Perl location from default

Quote Reply
Changing Perl location from default
Hi All

The default Perl location configed for LinksSQL is /usr/local/bin/perl

How can it be aimed at /usr/bin/perl ?

My guess is that the whole thing has to be reinstalled and to change the perl path on install.cgi to /usr/bin/perl

Thanks Smile

------------------------------------------
Quote Reply
Re: [DogTags] Changing Perl location from default In reply to
Its not that hard... BUT you have to be VERY careful when doing this!

In SSH, type;

Code:
cd /path/to/your/linkssql/folder

This needs to be the folder where add.cgi etc is located.

Code:
perl -p -i -e 's|/usr/local/bin/perl|/usr/bin/perl|g' `grep -r -l '/usr/local/bin/perl' .`

This has the potential to be a quite nasty command, so please be careful when using it!

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Changing Perl location from default In reply to
Thanks, Andy Smile

------------------------------------------