"Gowranga K.H." a écrit :
> 
> Hi all,
> 
> I'm trying to compile cyrus-imapd-2.0.14 on my HP-UX 10.20 system:
> I get the following error on doing "make"
> 
> ### Making all in /usersp/reddyd/cyrus-imapd-2.0.14/perl
>         (cd imap; \
> 
> SASL_LIB="/usr/local/lib/" SASL_INC="/usr/local/include/"
> CC="/opt/gcc/bin/gcc" \
>            perl Makefile.PL PREFIX=/usr/local)
> Checking if your kit is complete...
> Looks good
> Warning: -L../../lib changed to
> -L/usersp/reddyd/cyrus-imapd-2.0.14/perl/imap/../../lib
> Unrecognized argument in LIBS ignored: '/usr/local/lib/'
> Can't locate loadable object for module File::Glob in @INC (@INC
> contains: /opt/perl5/lib/5.6.1/PA-RISC1.1 /opt/perl5/lib/5.6.1
> /opt/perl5/lib/site_perl/5.6.1/PA-RISC1.1 /opt/perl5/lib/site_perl/5.6.1
> /opt/perl5/lib/site_perl .)Compilation failed in require at (eval 74) line
> 7.
> BEGIN failed--compilation aborted at (eval 74) line 7.
>  at /opt/perl5/lib/5.6.1/ExtUtils/MakeMaker.pm line 507
> *** Error exit code 2
> 
> Stop.
> *** Error exit code 1
> 
> The module File::Glob very much exists as
> 
> /opt/perl5/lib/File/Glob
> 
> Anyone has a clue, am I missing something?
> 
> Thanks.

I don't know for HP-UX but File::Glob is a standard perl package on
linux
by issuing the command: perl -V
you should have something like that:
...
Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Sep 30 2000 18:20:46
  @INC:
    /usr/lib/perl5/5.6.0/i386-linux
    /usr/lib/perl5/5.6.0
    /usr/lib/perl5/site_perl/5.6.0/i386-linux
    /usr/lib/perl5/site_perl/5.6.0
    /usr/lib/perl5/site_perl


the @INC variable is used by perl when searching for a package.
you should have: /opt/perl5/lib defined in @INC
and you should have this file: /opt/perl5/lib/File/Glob.pm

try this: perl -e "use File::Glob"
if no error, that means perl is able to find the package.


-- 
Samuel Souk-Aloun

Reply via email to