This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Problems compiling perl module Compress-Zlib with perl


Steve Kelem wrote:
Charles Wilson wrote:
> > I'm not sure why yours is not doing this, but the preceding command
> > should be:
> > 
> > LD_RUN_PATH="/usr/local/lib" ld2 -o .....
> > 
> > Try doing that by hand; if it works, then we can try to determine why
> > your perl isn't generating the correct makefile.
> > 
>
> I modified the generated Makefile so that LD_RUN_PATH 
> is set to "/usr/local/lib".
> 
> Now I get:
> 
> {KELEM:kelem:213} make | & tee Make.out
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Compress
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Compress
> mkdir blib/arch/auto/Compress/Zlib
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Compress
> mkdir blib/lib/auto/Compress/Zlib
> mkdir blib/man3
> cp Zlib.pm blib/lib/Compress/Zlib.pm
> AutoSplitting blib/lib/Compress/Zlib.pm (blib/lib/auto/Compress/Zlib)
> /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.0/cygwin -I/usr/local/lib/perl5/5
> .6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/local/lib/perl5/5
> .6.0/ExtUtils/typemap -typemap typemap Zlib.xs > Zlib.xsc && mv Zlib.xsc Zlib.c
> gcc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -DUSEIMPOR
> TLIB -O     -DVERSION=\"1.08\" -DXS_VERSION=\"1.08\"  -I/usr/local/lib/perl5/5.6
> .0/cygwin/CORE  Zlib.c
> cpp: unrecognized option `-remap'
> cpp: unrecognized option `-remap'

Looks like your gcc and binutils are not correctly installed.  Please
send the output of 'cygcheck -s -v -r' and of 'touch foo.c && gcc
--verbose -c foo.c' to the list.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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