Mail Archives: cygwin/2008/04/26/08:04:03
2008/4/26 Chap Harrison:
> I'm new to cygwin. Using setup.exe, I have installed the default cygwin
> installlation on XP, as well as the entire devel section. I'm trying to use
> cpan to install a Perl module (Text::CSV_XS) but it gives the following
> error message:
>
> Checking to see if your kit is complete...
> Looks good.
> Writing Makefile for Text::CSV_XS
> -- NOT OK
> Running make test
> Can't test without successful make
> Running make install
> make had returned bad status, install seems impossible
>
> Does anyone know what may be wrong?
Just tried it with my perl-5.8.8-4
Writing Makefile for Text::CSV_XS
cp CSV_XS.pm blib/lib/Text/CSV_XS.pm
/usr/bin/perl.exe /usr/lib/perl5/5.8/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8/ExtUtils/typemap CSV_XS.xs > CSV_XS.xsc && mv
CSV_XS.xsc CSV_XS.c
gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -DUSEIMPORTLIB -O3 -DVERSION=\"0.45\"
-DXS_VERSION=\"0.45\" "-I/usr/lib/perl5/5.8/cygwin/CORE" CSV_XS.c
Running Mkbootstrap for Text::CSV_XS ()
chmod 644 CSV_XS.bs
rm -f blib/arch/auto/Text/CSV_XS/CSV_XS.dll
ld2 -s -L/usr/local/lib CSV_XS.o -o blib/arch/auto/Text/CSV_XS/CSV_XS.dll \
/usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a \
gcc -shared -o CSV_XS.dll -Wl,--out-implib=libCSV_XS.dll.a
-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608
-Wl,--enable-auto-image-base \
-s -L/usr/local/lib CSV_XS.o /usr/lib/perl5/5.8/cygwin/CORE/libperl.dll.a
Creating library file: libCSV_XS.dll.a
mv CSV_XS.dll libCSV_XS.dll.a blib/arch/auto/Text/CSV_XS/
chmod 755 blib/arch/auto/Text/CSV_XS/CSV_XS.dll
cp CSV_XS.bs blib/arch/auto/Text/CSV_XS/CSV_XS.bs
chmod 644 blib/arch/auto/Text/CSV_XS/CSV_XS.bs
/usr/bin/perl.exe "-Iblib/arch" "-Iblib/lib" CSV_XS.PL CSV_XS
/usr/bin/make -- OK
There seems by some core library missing.
Required is ExtUtils::MakeMaker,
and PREREQ's are DynaLoader, Config, IO::Handle, Test::More, Test::Harness
And of course gcc-core, make and more for a XS build.
All these come with perl-5.8.8-4
Do
cd ~/.cpan/build/Text-CSV_XS-0.45/
perl -d Makefile.PL
and step until the error appears and send me the output.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
--
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/
- Raw text -