Problems installing Perl packages in Cygwin AND Problems with Activestate perl in Cygwin
Charles Plager
cplager+cygwin@physics.ucla.edu
Wed May 7 20:10:00 GMT 2003
I am running a (fairly) current cygwin install (Installed last month).
I am trying to either:
1) install LWP and Tk (or any other Perl packages) on Cygwins perl
OR
2) Get activestate Perl (where I have said packages installed already)
to understand how to parce cygwin path names.
Specifically:
1) I'm trying to install packages by:
unix> perl -MCPAN -e shell
cpan> install LWP
(lots of stuff goes by)
Couldn't rename libwww-perl-5.69 to
f:/Users/cplager/.cpan/build/libwww-perl-5.69: Permission denied at
/usr/lib/perl5/5.8.0/CPAN.pm line 3907
CPAN::Distribution::get('CPAN::Distribution=HASH(0x10d4e8d0)')
called at /usr/lib/perl5/5.8.0/CPAN.pm line 4421
CPAN::Distribution::make('CPAN::Distribution=HASH(0x10d4e8d0)')
called at /usr/lib/perl5/5.8.0/CPAN.pm line 4660
CPAN::Distribution::test('CPAN::Distribution=HASH(0x10d4e8d0)')
called at /usr/lib/perl5/5.8.0/CPAN.pm line 4765
CPAN::Distribution::install('CPAN::Distribution=HASH(0x10d4e8d0)')
called at /usr/lib/perl5/5.8.0/CPAN.pm line 5454
CPAN::Module::rematein('CPAN::Module=HASH(0x112763b8)','install') called
at /usr/lib/perl5/5.8.0/CPAN.pm line 5511
CPAN::Module::install('CPAN::Module=HASH(0x112763b8)') called
at /usr/lib/perl5/5.8.0/CPAN.pm line 2114
CPAN::Shell::rematein('CPAN::Shell','install','LWP') called at
/usr/lib/perl5/5.8.0/CPAN.pm line 2141
CPAN::Shell::install('CPAN::Shell','LWP') called at
/usr/lib/perl5/5.8.0/CPAN.pm line 200
eval {...} called at /usr/lib/perl5/5.8.0/CPAN.pm line 200
CPAN::shell() called at -e line 1
OR
cpan> install Tk
(lots of stuff goes by)
PORTLIB -O2 -DVERSION=\"800.024\" -DXS_VERSION=\"800.024\"
"-I/usr/lib/perl5/5.8.0/cygwin-multi-64int/CORE" -D__WIN32__ -Wall
-Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__
ClientWin.c
ClientWin.c:30:22: X11/Xlib.h: No such file or directory
ClientWin.c:31:23: X11/Xatom.h: No such file or directory
ClientWin.c:33: parse error before "TryChildren"
ClientWin.c:33: warning: data definition has no type or storage class
ClientWin.c:37: parse error before "XmuClientWindow"
ClientWin.c:38: parse error before "Display"
ClientWin.c:38: warning: data definition has no type or storage class
ClientWin.c:39: parse error before "win"
ClientWin.c:39: warning: data definition has no type or storage class
ClientWin.c:45: `None' undeclared here (not in a function)
ClientWin.c:45: warning: data definition has no type or storage class
ClientWin.c:49: parse error before "inf"
ClientWin.c:49: warning: data definition has no type or storage class
ClientWin.c:51: warning: implicit declaration of function `XInternAtom'
ClientWin.c:51: `True' undeclared here (not in a function)
ClientWin.c:51: initializer element is not constant
ClientWin.c:51: warning: data definition has no type or storage class
ClientWin.c:52: parse error before "if"
ClientWin.c:54: parse error before numeric constant
ClientWin.c:55: warning: data definition has no type or storage class
ClientWin.c:58: initializer element is not constant
ClientWin.c:58: warning: data definition has no type or storage class
ClientWin.c:59: parse error before "if"
ClientWin.c:66: parse error before "TryChildren"
ClientWin.c:67: parse error before "Display"
ClientWin.c:67: warning: data definition has no type or storage class
ClientWin.c:68: parse error before "win"
ClientWin.c:68: warning: data definition has no type or storage class
ClientWin.c:69: parse error before "WM_STATE"
ClientWin.c:69: warning: data definition has no type or storage class
ClientWin.c:75: warning: data definition has no type or storage class
ClientWin.c:78: parse error before "type"
ClientWin.c:78: redefinition of `type'
ClientWin.c:45: `type' previously defined here
ClientWin.c:78: `None' undeclared here (not in a function)
ClientWin.c:78: warning: data definition has no type or storage class
ClientWin.c:82: parse error before "inf"
ClientWin.c:82: redefinition of `inf'
ClientWin.c:58: `inf' previously defined here
ClientWin.c:82: warning: data definition has no type or storage class
ClientWin.c:84: parse error before "if"
make[1]: *** [ClientWin.o] Error 1
make[1]: Leaving directory
`/cygdrive/f/Users/cplager/.cpan/build/Tk800.024/pTk'
make: *** [pTk/libpTk.a] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan>
2) The problem is when I've got an Activestate Perl script in
/home/cplager/scripts. For example
unix> cd /home/cplager/scripts
unix> ./script
Can't open perl script "/home/cplager/scripts/script": No such file or
directory
where the header of the file is :
#!/Perl/bin/perl
AND
cplager@pointyjr> mount
c:\Perl on /Perl type user (textmode)
If I could fix either of these problems I'd be quite happy.
Charles Plager
--
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/
More information about the Cygwin
mailing list