[mapserver-users] Problem with INC (perl)

Alain FERRIOL alainferriol at data-mobiles.com
Wed Sep 4 07:48:26 EDT 2002


Hi all

Please excuse my poor english ;-)

I'm on Linux SuSE 7.0
I try to execute a script perl in a shell started by a script php.

All is correct when I execute the shell at command line

But, when I use my php script, I get an error with XBase.pm :
This error is in error_log in apache/logs

Can't locate XBase.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.0/i586-linux /u
sr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i586-linux
/usr/lib/perl5/site
_perl/5.6.0 /usr/lib/perl5/site_perl .) at
/usr/local/httpd/htdocs/cartotest/dat
a/creeshp.pl line 4.

But XBase.pm is :
/usr/lib/perl5/site_perl/5.6.0 :

ll /usr/lib/perl5/site_perl/5.6.0/XBase.pm
-r--r--r--    1 root     root        37159 May 20  2000
/usr/lib/perl5/site_perl/5.6.0/XBase.pm

In the list @INC i can see the folder for XBase.pm

What may I add to make it working ?

If someone has a little idea ....

Thank's a lot
Alain Ferriol




More information about the mapserver-users mailing list