> -----Message d'origine-----
> De : Martin Evans [mailto:[email protected]] 
> Envoyé : mercredi 17 décembre 2008 16:19
> À : [email protected]
> Objet : Re: Error in DBD::Oracle (1.22) Makefile.PL with "filetest"
> 
> [email protected] wrote:
> > Hello
> >  
> > When I executed : perl Makefile.PL it is reporting this warning : 
> > "Can't find sqlplus. Pity, it would have helped."
> > I found that this problem is because of "bug" in function in 
> > Makefile.PL sub find_bin{
> >     use filetest 'access';
> >     my $bin = shift;
> >     my $path_sep = $Config{path_sep};
> >     foreach (split(/\Q$path_sep/, $ENV{PATH})){
> >       print "look for  = <$file/$bin>\n";
> >       return "$_/$bin" if -x "$_/$bin";
> >     }
> >     return undef;
> > }
> > 
> > My environment is correct :
> >   ORACLE_HOME is correctly set and point to and OCI oracle folder
> > (10gR2.4 64bit)
> >   PATH and LD_LIBRARY_PATH  are correctly set too
> >   "OS" is Solaris : SunOS xxxxxx 5.10 Generic_137111-06 sun4u sparc 
> > SUNW,Sun-Fire-15000
> >   "Perl" is v5.10.0 built for sun4-solaris-thread-multi-64 from 
> > ActivePerl 5.10.0.1004
> > 
> > The problem is because the test -x "$_/$bin" does not work 
> and it does 
> > not work because of "use filetest 'access' ".
> > When I comment this use, it stops to complain and find "sqlplus".
> >  
> > Do you know why this pragma is worth than it should ( 
> > http://perldoc.perl.org/filetest.html ) ?
> > Perhaps it is a "bug" of Solaris, but...
> >  
> >  
> > Regards
> > Pascal
> >  
> > 
> 
> I am only guessing, but is the sqlplus located on a different 
> filesystem
> - e.g. NFS, etc.
> 
> Martin
> --
> Martin J. Evans
> Easysoft Limited
> http://www.easysoft.com
> 
> 


No it is on the same file-system.

Pascal

Reply via email to