Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 53600
Status: rejected
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: post [...] mschroen.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Bugreport gcc/dmake while "make Win32::Clipboard"
Date: Mon, 11 Jan 2010 17:26:24 +0100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: Martin Schrön <post [...] mschroen.de>
There is a gcc bug or dmake bug in cpan.bat while installing Win32::Clipboard. I am using Windows and Strawberry Perl 5.10 portable. Here is my Command line: Show quoted text
cpan> get Win32::Clipboard
Running get for module 'Win32::Clipboard' Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JD/JDB/Win32-Clipboard-0.55.tar.gz Fetching with LWP: http://cpan.strawberryperl.com/authors/id/J/JD/JDB/CHECKSUMS Checksum for C:\Strawberry\cpan\sources\authors\id\J\JD\JDB\Win32-Clipboard-0.55 .tar.gz ok Show quoted text
cpan> make Win32::Clipboard
Running make for module 'Win32::Clipboard' Running make for J/JD/JDB/Win32-Clipboard-0.55.tar.gz CPAN.pm: Going to build J/JD/JDB/Win32-Clipboard-0.55.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Win32::Clipboard cp Clipboard.pm blib\lib\Win32\Clipboard.pm C:\Strawberry\perl\bin\perl.exe -IC:\Strawberry\perl\lib -IC:\Strawberry\perl\li b C:\Strawberry\perl\lib\ExtUtils\xsubpp -typemap C:\Strawberry\perl\lib\ExtUti ls\typemap Clipboard.xs >xstmp.c && C:\Strawberry\perl\bin\perl.exe -MExtUtils:: Command -e "mv" -- xstmp.c Clipboard.cpp gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_ IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 -DVERSION=\"0. 55\" -DXS_VERSION=\"0.55\" "-IC:\Strawberry\perl\lib\CORE" Clipboard.cpp Der Befehl "gcc" ist entweder falsch geschrieben oder konnte nicht gefunden werden. dmake.exe: Error code 129, while making 'Clipboard.o' JDB/Win32-Clipboard-0.55.tar.gz C:\Strawberry\c\bin\dmake.exe -- NOT OK Failed during this command: JDB/Win32-Clipboard-0.55.tar.gz : make NO
Subject: Re: [rt.cpan.org #53600] Bugreport gcc/dmake while "make Win32::Clipboard"
Date: Mon, 11 Jan 2010 10:25:52 -0700
To: Martin Schrön via RT <bug-Perl-Dist-Strawberry [...] rt.cpan.org>
From: "Curtis Jewell" <perl [...] csjewell.fastmail.us>
Known bug - cannot be fixed at our end as far as I know. The trick is that before you install an XS module (a module that requires compilation of C code that connects to Perl), the provided version of gcc must be in your path. (quick babelfish translation of the error: The instruction "gcc" is either wrongly written or could not be found.) We can't do that easily for Strawberry Portable, since we don't know where you put Portable, and therefore, gcc, or if you even put Portable in a place that stays the same. (It could be on a USB stick, for all we know.) Because of that, you need to do set path=%PATH%;C:\Strawberry\c\bin before starting your CPAN install if the CPAN install needs to call gcc. Does that answer your question? (another note: if you're using Strawberry Portable in C:\Strawberry, why aren't you using the normal versions that go there, and will add the right entries to the path? Is there something we need to do? You can download it from http://strawberry-perl.googlecode.com/files/strawberry-perl-5.10.1.0.msi) --Curtis Jewell On Mon, 11 Jan 2010 11:25 -0500, "Martin Schrön via RT" <bug-Perl-Dist-Strawberry@rt.cpan.org> wrote: Show quoted text
> Mon Jan 11 11:25:12 2010: Request 53600 was acted upon. > Transaction: Ticket created by post@mschroen.de > Queue: Perl-Dist-Strawberry > Subject: Bugreport gcc/dmake while "make Win32::Clipboard" > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: post@mschroen.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=53600 > > > > There is a gcc bug or dmake bug in cpan.bat while installing > Win32::Clipboard. I am using Windows and Strawberry Perl 5.10 portable. > Here is my Command line: >
> cpan> get Win32::Clipboard
> Running get for module 'Win32::Clipboard' > Fetching with LWP: > > http://cpan.strawberryperl.com/authors/id/J/JD/JDB/Win32-Clipboard-0.55.tar.gz > > Fetching with LWP: > http://cpan.strawberryperl.com/authors/id/J/JD/JDB/CHECKSUMS > Checksum for > C:\Strawberry\cpan\sources\authors\id\J\JD\JDB\Win32-Clipboard-0.55 > .tar.gz ok >
> cpan> make Win32::Clipboard
> Running make for module 'Win32::Clipboard' > Running make for J/JD/JDB/Win32-Clipboard-0.55.tar.gz > > CPAN.pm: Going to build J/JD/JDB/Win32-Clipboard-0.55.tar.gz > > Checking if your kit is complete... > Looks good > Writing Makefile for Win32::Clipboard > cp Clipboard.pm blib\lib\Win32\Clipboard.pm > C:\Strawberry\perl\bin\perl.exe -IC:\Strawberry\perl\lib > -IC:\Strawberry\perl\li > b C:\Strawberry\perl\lib\ExtUtils\xsubpp -typemap > C:\Strawberry\perl\lib\ExtUti > ls\typemap Clipboard.xs >xstmp.c && C:\Strawberry\perl\bin\perl.exe > -MExtUtils:: > Command -e "mv" -- xstmp.c Clipboard.cpp > gcc -c -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT > -DPERL_ > IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_READFIX -s -O2 > -DVERSION=\"0. > 55\" -DXS_VERSION=\"0.55\" "-IC:\Strawberry\perl\lib\CORE" > Clipboard.cpp > Der Befehl "gcc" ist entweder falsch geschrieben oder > konnte nicht gefunden werden. > dmake.exe: Error code 129, while making 'Clipboard.o' > JDB/Win32-Clipboard-0.55.tar.gz > C:\Strawberry\c\bin\dmake.exe -- NOT OK > Failed during this command: > JDB/Win32-Clipboard-0.55.tar.gz : make NO >
-- Curtis Jewell csjewell@cpan.org http://csjewell.dreamwidth.org/ perl@csjewell.fastmail.us http://csjewell.comyr.org/perl/ "Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c Strawberry Perl for Windows betas: http://strawberryperl.com/beta/