This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Missing directories in @INC with perl 5.8.7 and cygwin 1.5.18-1



from what you've mentioned, we know you've got //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2 ... but does //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.7 exist?


Frank_Ehlert@arburg.com wrote:



Hi,


If PERL5LIB is set, perl searches for according version directories and
architecture specific directories.
If they are present they will be included in the @INC array.


Now I am faced with the problem that with perl 5.8.7 this does not work anymore!


export PERL5LIB=//swece/sweperl/module/CPAN/lib/perl5/site_perl

perl -V
...
  @INC:
    //swece/sweperl/module/CPAN/lib/perl5/site_perl
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
...

With perl 5.8.2  the output looks like
perl -V
...
  @INC:
    //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2
/cygwin-thread-multi-64int
    //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2
    //swece/sweperl/module/CPAN/lib/perl5/site_perl
    /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int
    /usr/lib/perl5/5.8.2
...






More Information:


CYGWIN-INSTALLATION with perl 5.8.7

cygcheck -s -v -r > cygcheck.out_with_perl5.8.7

(See attached file: cygcheck.out_with_perl5.8.7.txt)

I have installed some CPAN-Modules with this perl version.

The modules are now stored under the following locations:
//swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8
//swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8/cygwin

Normaly I use PERL5LIB
export PERL5LIB=//swece/sweperl/module/CPAN/lib/perl5/site_perl

perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686 unknown
unknown cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc
-Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
    ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd
0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES USE_SITECUSTOMIZE PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Aug 22 2005 22:02:21 %ENV: PERL5LIB="//swece/sweperl/module/CPAN/lib/perl5/site_perl" PERL_CPAN_MODULE1="//swece/sweperl/module/CPAN/lib/perl5" PERL_CPAN_MODULE2="//swece/sweperl/module/CPAN/lib/perl5/site_perl" PERL_SWE_MODULE="//swece/sweperl/module/ARBURG/lib" PERL_SWE_PROGRAMME="//swece/sweperl/programme" CYGWIN="" @INC: //swece/sweperl/module/CPAN/lib/perl5/site_perl /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .

CYGWIN-INSTALLATION with perl 5.8.2
cygcheck -s -v -r > cygcheck.out_with_perl5.8.2

(See attached file: cygcheck.out_with_perl5.8.2.txt)

I have installed some CPAN-Modules with this perl version.

The modules are now stored under the following locations:

//swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2
//swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int

export PERL5LIB=//swece/sweperl/module/CPAN/lib/perl5/site_perl

perl -V

Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration:
  Platform:
    osname=cygwin, osvers=1.5.5(0.9432), archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.0 troubardix 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown
unknown cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O2
-Dman3ext=3pm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing',
    optimize='-O2',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing'
    ccversion='', gccversion='3.3.1 (cygming special)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Nov 7 2003 12:06:28 %ENV: PERL5LIB="//swece/sweperl/module/CPAN/lib/perl5/site_perl" PERL_CPAN_MODULE1="//swece/sweperl/module/CPAN/lib/perl5" PERL_CPAN_MODULE2="//swece/sweperl/module/CPAN/lib/perl5/site_perl" PERL_SWE_MODULE="//swece/sweperl/module/ARBURG/lib" PERL_SWE_PROGRAMME="//swece/sweperl/programme" CYGWIN="" @INC: //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2 /cygwin-thread-multi-64int //swece/sweperl/module/CPAN/lib/perl5/site_perl/5.8.2 //swece/sweperl/module/CPAN/lib/perl5/site_perl /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int /usr/lib/perl5/5.8.2 /usr/lib/perl5/site_perl/5.8.2/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl .


Thanks in advance


Frank Ehlert


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


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]