|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
cpan has a problem Writing MakefileHi,
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? Thanks, Chap |
|
|
Re: cpan has a problem Writing Makefile2008/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/ |
|
|
Re: cpan has a problem Writing MakefileReini Urban wrote:
I didn't get the error doing this. Any other suggestions? ...r/.cpan/build/Text-CSV_XS-0.45$ perl -d Makefile.PL Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(Makefile.PL:5): require 5.005; # <- also see postamble at the bottom for META.yml DB<1> n main::(Makefile.PL:10): eval { require Text::CSV_XS }; DB<1> main::(Makefile.PL:10): eval { require Text::CSV_XS }; DB<1> main::(Makefile.PL:11): if (!$@ && $Text::CSV_XS::VERSION < 0.15) { DB<1> main::(Makefile.PL:23): my %wm = ( main::(Makefile.PL:24): NAME => "Text::CSV_XS", main::(Makefile.PL:25): ABSTRACT => "Comma-Separated Values manipulation routines", main::(Makefile.PL:26): AUTHOR => "H.Merijn Brand <h.merijn\@xs4all.nl>", main::(Makefile.PL:27): VERSION_FROM => "CSV_XS.pm", main::(Makefile.PL:28): PREREQ_PM => { "DynaLoader" => 0, main::(Makefile.PL:29): "Config" => 0, main::(Makefile.PL:30): "IO::Handle" => 0, main::(Makefile.PL:31): "Test::More" => 0, main::(Makefile.PL:32): "Test::Harness" => 0, DB<1> main::(Makefile.PL:44): $ExtUtils::MakeMaker::VERSION > 6.30 and $wm{LICENSE} = "perl"; DB<1> main::(Makefile.PL:46): my $rv = WriteMakefile (%wm); DB<1> Writing Makefile for Text::CSV_XS main::(Makefile.PL:48): 1; DB<1> Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. |
|
|
Re: cpan has a problem Writing Makefile2008/4/28 Chap Harrison:
> Reini Urban wrote: > > Do > > > > cd ~/.cpan/build/Text-CSV_XS-0.45/ > > perl -d Makefile.PL > > > > and step until the error appears and send me the output. > > > I didn't get the error doing this. Any other suggestions? Well, then the error is fixed. You reported that the Makefile could not be written. Now it is written, and you can proceed installing it. Reading the README would have helped. http://search.cpan.org/src/HMBRAND/Text-CSV_XS-0.45/README cd ~/.cpan/build/Text-CSV_XS-0.45/ perl Makefile.PL make make test make install > > > > ...r/.cpan/build/Text-CSV_XS-0.45$ perl -d Makefile.PL > > Loading DB routines from perl5db.pl version 1.28 > Editor support available. > > Enter h or `h h' for help, or `man perldebug' for more help. > > main::(Makefile.PL:5): require 5.005; # <- also see postamble at the bottom > for META.yml > DB<1> n > main::(Makefile.PL:10): eval { require Text::CSV_XS }; > DB<1> > main::(Makefile.PL:10): eval { require Text::CSV_XS }; > DB<1> > main::(Makefile.PL:11): if (!$@ && $Text::CSV_XS::VERSION < 0.15) { > DB<1> > main::(Makefile.PL:23): my %wm = ( > main::(Makefile.PL:24): NAME => "Text::CSV_XS", > main::(Makefile.PL:25): ABSTRACT => "Comma-Separated Values > manipulation routines", > main::(Makefile.PL:26): AUTHOR => "H.Merijn Brand > <h.merijn\@xs4all.nl>", > main::(Makefile.PL:27): VERSION_FROM => "CSV_XS.pm", > main::(Makefile.PL:28): PREREQ_PM => { "DynaLoader" => 0, > main::(Makefile.PL:29): "Config" => 0, > main::(Makefile.PL:30): "IO::Handle" => 0, > main::(Makefile.PL:31): "Test::More" => 0, > main::(Makefile.PL:32): "Test::Harness" => 0, > DB<1> > main::(Makefile.PL:44): $ExtUtils::MakeMaker::VERSION > 6.30 and > $wm{LICENSE} = "perl"; > DB<1> > main::(Makefile.PL:46): my $rv = WriteMakefile (%wm); > DB<1> > > Writing Makefile for Text::CSV_XS > > main::(Makefile.PL:48): 1; > DB<1> > Debugged program terminated. Use q to quit or R to restart, > use o inhibit_exit to avoid stopping after program termination, > h q, h R or h o to get additional info. 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/ |
|
|
Re: cpan has a problem Writing MakefilePerhaps I should have said "cpan has a problem installing Text::CSV_XS". There was no README to read. CPAN still craps out installing Text::CSV__XS, exactly as before. That's the error, and it's not fixed. |
|
|
Re: cpan has a problem Writing Makefile2008/4/28 Chap Harrison:
> Reini Urban wrote: > > Well, then the error is fixed. > > You reported that the Makefile could not be written. > > Now it is written, and you can proceed installing it. > > Reading the README would have helped. > > http://search.cpan.org/src/HMBRAND/Text-CSV_XS-0.45/README > > Perhaps I should have said "cpan has a problem installing Text::CSV_XS". > There was no README to read. CPAN still craps out installing Text::CSV__XS, > exactly as before. That's the error, and it's not fixed. If you encounter an error with cpan, first have a look in the package description and bug reports at http://search.cpan.org/dist/Text-CSV_XS/ The README also helps. Please report at the link [ View/Report Bugs (2) ] there. Since you can write the Makefile within the debugger and not via the shell there is some weird problem on your side. All cygwin smoke tests passed. http://cpantesters.perl.org/show/Text-CSV_XS.html#Text-CSV_XS-0.45 A suggestion would be to install CPAN::Reporter and report the failure automatically, since you are not able to follow README's and submit proper bugreports. -- 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/ |
|
|
Re: cpan has a problem Writing MakefileDude, I don't know what your problem is. I just came in here looking for help. Glad to read anything and follow guidelines. Have no prior knowledge of how to deal with CPAN problems, because CPAN's always worked for me in Darwin. I'm just trying to install Cygwin so I have access to good tools inside Windows. Thanks for pointers. Insults? No thanks. |
| Free embeddable forum powered by Nabble | Forum Help |