Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Lucy CPAN distribution.

Report information
The Basics
Id: 87910
Status: resolved
Priority: 0/
Queue: Lucy

People
Owner: Nobody in particular
Requestors: james.mhull [...] gmail.com
Cc:
AdminCc:

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



Subject: Fwd: Lucy-0.3.3 build error on Windows (with quick fix)
Date: Sat, 17 Aug 2013 15:59:45 +0800
To: bug-Lucy [...] rt.cpan.org
From: James Hull <james.mhull [...] gmail.com>
A problem with clownfish's Build.pm, bundled with Lucy-0.3.3 My environment: OS: Windows 8 x64 Perl: ActiveState 5.16.3 built for MSWin32-x64-multi-thread Compiler: gcc version 4.5.4 (rubenv-4.5.4) to recreate in this environment, just do > *cpan install Lucy* *First error --* Can't locate Clownfish/CFC/Hierarchy.pm in @INC (@INC contains: clownfish/perl/b lib/lib clownfish/perl/blib/arch ../clownfish/perl/blib/lib ../clownfish/perl/bl ib/arch clownfish\perl\blib\lib clownfish\perl\blib\arch ..\clownfish\perl\blib\ lib ..\clownfish\perl\blib\arch buildlib clownfish/perl/blib/lib clownfish/perl/ blib/arch ../clownfish/perl/blib/lib ../clownfish/perl/blib/arch buildlib C:/Per l64/site/lib C:/Perl64/lib .) at buildlib/Lucy/Build.pm line 224. *Fix --* Clownfish/CFC/Hierarchy.pm is located in clownfish/perl/lib/lib So, add following to buildlib/Lucy/Build.pm *use lib '../clownfish/perl/lib/lib';* *use lib 'clownfish/perl/lib/lib';* NOTE: not sure if this made a difference because I made the change, then went on to building clownfish, after clownfish was installed everything went fine. *Second error, when running > perl Build.PL in clownfish/perl directory --* Invalid GCC version: gcc.exe (4.5.4) 4.5.4 *Fix (just a quick hack) --* file: clownfish/perl/buildlib/Clownfish/CFC/Build.pm IN THIS: my $gcc_version = $ENV{REAL_GCC_VERSION} || $self->config('gccversion') || undef; if ( defined $gcc_version ) { - * $gcc_version =~ /^(\d+(\.\d+))/* *+ ** $gcc_version =~ /(\d+(\.\d+))/* or die "Invalid GCC version: $gcc_version"; $gcc_version = $1; } Cheers, James -- James H. Beijing, China -- James H. Beijing, China M +86 18611178116
On Sat Aug 17 03:59:57 2013, james.mhull@gmail.com wrote: Show quoted text
> *First error --* > Can't locate Clownfish/CFC/Hierarchy.pm in @INC (@INC contains: > clownfish/perl/b > lib/lib clownfish/perl/blib/arch ../clownfish/perl/blib/lib > ../clownfish/perl/bl > ib/arch clownfish\perl\blib\lib clownfish\perl\blib\arch > ..\clownfish\perl\blib\ > lib ..\clownfish\perl\blib\arch buildlib clownfish/perl/blib/lib > clownfish/perl/ > blib/arch ../clownfish/perl/blib/lib ../clownfish/perl/blib/arch buildlib > C:/Per > l64/site/lib C:/Perl64/lib .) at buildlib/Lucy/Build.pm line 224. > > *Fix --* > Clownfish/CFC/Hierarchy.pm is located in clownfish/perl/lib/lib > So, add following to buildlib/Lucy/Build.pm > *use lib '../clownfish/perl/lib/lib';* > *use lib 'clownfish/perl/lib/lib';* > > NOTE: not sure if this made a difference because I made the change, then > went on to building clownfish, after clownfish was installed everything > went fine.
This probably didn't make a difference, I suspect that Lucy simply failed to build from the CPAN client. Show quoted text
> *Second error, when running > perl Build.PL in clownfish/perl directory --* > Invalid GCC version: gcc.exe (4.5.4) 4.5.4 > > *Fix (just a quick hack) --* > file: clownfish/perl/buildlib/Clownfish/CFC/Build.pm > IN THIS: > my $gcc_version > = $ENV{REAL_GCC_VERSION} > || $self->config('gccversion') > || undef; > if ( defined $gcc_version ) { > - * $gcc_version =~ /^(\d+(\.\d+))/* > *+ ** $gcc_version =~ /(\d+(\.\d+))/* > or die "Invalid GCC version: $gcc_version"; > $gcc_version = $1; > }
The fix has been applied and will be part of the 0.3.4 and 0.4 release.