X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <6910a60804260503k6259b918v597869a17ceaba7d@mail.gmail.com> Date: Sat, 26 Apr 2008 14:03:28 +0200 From: "Reini Urban" To: cygwin AT cygwin DOT com Subject: Re: cpan has a problem Writing Makefile In-Reply-To: <16909407.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <16909407 DOT post AT talk DOT nabble DOT com> X-Google-Sender-Auth: 97bab28a6355bb5d X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/