Skip Menu |
 

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

Report information
The Basics
Id: 62451
Status: resolved
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: ddascalescu+perl [...] gmail.com
Cc: kmx [...] cpan.org
AdminCc:

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



Subject: Add paths in portableshell.bat and test vs. Alien::wxWidgets
I've just uzipped 5.12.1.0 portable and tried to install Alien::wxWidgets. The installation failed with an error that `cc1` was not found. After adding its path to portableshell.bat, I resumed the installation, and it stopped at

ld: cannot find crtend.o: No such file or directory
mingw32-make: *** [..\..\lib\gcc_dll\wxbase28u_gcc_custom.dll] Error 1
system: mingw32-make -f makefile.gcc all  UNICODE=1 MSLU=0 BUILD=release SHARED=1: 512 at inc/My/Build/Win32.pm line 263


This essentially makes the portable installation unusable for installing certain modules that would otherwise install.
Hi,

the trouble is that you have somewhere in your PATH mingw32-make.exe which is found & used by Alien::wxWidgets to compile wxwidgets.

Strawberry 5.12+ does not come with mingw32-make.exe anymore; it uses gmake.exe. So mingw32-make mentioned in the error message is definitely not part of portable strawberry 5.12.

Try to remove a directory containing mingw32-make.exe from your PATH and build Alien::wxWidgets again (at least on my box it builds fine on portable strawberry 5.12).

--
kmx


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.