Re: Perl UNIX shell PATH problem

2009-01-18 Thread Mr. Shawn H. Corey
On Sun, 2009-01-18 at 15:36 +, Andy Smith wrote: > Odd one, must be missing something basic! :P > The problem is that your servers were set up at different times. Or rather, your company does not have rigorous policies for setting up servers. Your development and test environments must be a

Re: Perl UNIX shell PATH problem

2009-01-18 Thread Andy Smith
Hi, yep, /etc/profile the same on both systems: ls -ld /etc/profile* -rw-r--r-- 1 root wheel 2032 Jan 16 15:40 /etc/profile -rw-r--r-- 1 root wheel 645 Jan 16 15:40 /etc/profile.old ls -ld /etc/profile* -rw-r--r-- 1 root wheel 2032 Jul 13 2006 /etc/profile (I copied the profile f

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Mr. Shawn H. Corey
On Fri, 2009-01-16 at 19:08 +, Andy Smith wrote: > Hi Thanks for the test code, yep the paths are different: > > working server: PATH > > /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin > > not working server: PATH/bin:/usr/bin > > Im still sea

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Andy Smith
Hi Thanks for the test code, yep the paths are different: working server: PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin not working server: PATH/bin:/usr/bin Im still searching for where this is set, as mentioned the www user has no home dir, an

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Andy Smith
Hi Shawn, nope, its a binary executable. As I mention it works if placed in (or a link is placed in) /usr/bin so there's definately a difference of environment. The fact www doesnt have a shell or home dir makes it an odd one. Odd, anyway, if Perl isnt picking up any shell PATH info fro

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Mr. Shawn H. Corey
On Fri, 2009-01-16 at 17:51 +, Andy Smith wrote: >nope, its a binary executable. As I mention it works if placed in > (or a link is placed in) /usr/bin so there's definately a difference > of environment. The fact www doesnt have a shell or home dir makes > it > an odd one. Odd, anywa

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Mr. Shawn H. Corey
On Fri, 2009-01-16 at 16:12 +, Andy Smith wrote: >yep, thats what Im saying, the profile is the same on each OS and > the www user has no homedir, so the www user should have the same > path > on both. Also PATH is set the same in /etc/rc on both systems. And, > sorry I didnt mention

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Andy Smith
Hi Shawn, yep, thats what Im saying, the profile is the same on each OS and the www user has no homedir, so the www user should have the same path on both. Also PATH is set the same in /etc/rc on both systems. And, sorry I didnt mention but the path to traceroute on both is /usr/sbin/tr

Re: Perl UNIX shell PATH problem

2009-01-16 Thread Mr. Shawn H. Corey
On Fri, 2009-01-16 at 15:55 +, Andy Smith wrote: > Hi list, > >probably quite a basic question, but where does perl get its PATH > variable from when executig shell commands? > > My problem is running Tr.pm which is part of the open source tool > smokeping, it does some nice things wi

Perl UNIX shell PATH problem

2009-01-16 Thread Andy Smith
Hi list, probably quite a basic question, but where does perl get its PATH variable from when executig shell commands? My problem is running Tr.pm which is part of the open source tool smokeping, it does some nice things with traceroute. The weird problem I have is that I have the same

Re: Path problem

2005-04-06 Thread Jay Savage
0 /usr/local/lib/perl5/site_perl .) at > ./test2.pl line 10. > BEGIN failed--compilation aborted > > Thanks again > > Andrew > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > > > - Original Message - > &g

Re: Path problem

2005-04-06 Thread Andrew Kennard
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > - Original Message - > From: Andrew Kennard <[EMAIL PROTECTED]> > Date: Wednesday, April 6, 2005 11:29 am > Subject: Path problem > >> Hi all > Hello, >> >> Iv'e

Re: Path problem

2005-04-06 Thread mgoland
- Original Message - From: Andrew Kennard <[EMAIL PROTECTED]> Date: Wednesday, April 6, 2005 11:29 am Subject: Path problem > Hi all Hello, > > Iv'e downloaded a pdf module from CPAN and am trying to use it in > my > webspace provided by Demon Internet (ww

Path problem

2005-04-06 Thread Andrew Kennard
Hi all Iv'e downloaded a pdf module from CPAN and am trying to use it in my webspace provided by Demon Internet (www.demon.net) but no matter what I try it cannot 'find' the module called Reuse.pm which IS in the same directory as the following script. !/usr/bin/perl use lib "$ENV{'DOCUMENT_RO

RE: Please help with perl library path problem!

2001-08-07 Thread Matt Crapo
Oops - forgot to share... -Original Message- From: Matt Crapo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 4:19 PM To: 'Chidi' Subject: RE: Please help with perl library path problem! I may be off in left field here, but I've had similar error messages (

Re: Please help with perl library path problem!

2001-08-07 Thread Chidi
I am getting an error on my solaris 5.6 sparc box when I try to run a Perl program with the Sybperl CTLIB extension. Specifically, I get the following error message: Can't load '/tools/ver/perl-5.005_03/lib/site_perl/5.005/sun4-solaris/auto/Sybase/CTlib /CTlib.so' for module Sybase::CTlib: ld.

help- cgi and perl path problem I think?

2001-06-05 Thread Swalve, Lane
my $connect_string = $dsn; if( $user && $passwd ) { $connect_string = "DSN=$dsn;UID=$user;PWD=$passwd"; } $dbh = Win32::ODBC->new($connect_string) or die Win32::ODBC::DumpError; } Can anyone help me or point me in a direction? Is it a Perl Instalation Problem or a Perl Path problem? I am really new at this and totally lost!