Subject: | Cygwin build fails on WinXP SP2 |
I'm attempting to build 2.04-1 on Cygwin and I'm getting the following:
$ ./Build
/usr/bin/perl generate.PL lib/Class/MethodMaker/array.pm lib/Class/MethodMaker/hash.pm lib/Class/MethodMaker/scalar.pm
./cmmg.pl components/array.m > lib/Class/MethodMaker/array.pm
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/XSLoader.pm line 91.
Subroutine Cwd::getcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 572.
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 574.
Subroutine Cwd::abs_path redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
Prototype mismatch: sub Cwd::abs_path (;$) vs none at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
./cmmg.pl components/hash.m > lib/Class/MethodMaker/hash.pm
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/XSLoader.pm line 91.
Subroutine Cwd::getcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 572.
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 574.
Subroutine Cwd::abs_path redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
Prototype mismatch: sub Cwd::abs_path (;$) vs none at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
./cmmg.pl components/scalar.m > lib/Class/MethodMaker/scalar.pm
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/XSLoader.pm line 91.
Subroutine Cwd::getcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 572.
Subroutine Cwd::fastcwd redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 574.
Subroutine Cwd::abs_path redefined at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
Prototype mismatch: sub Cwd::abs_path (;$) vs none at /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/Cwd.pm line 575.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.2/Module/Build/Base.pm line 1406.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.2/Module/Build/Base.pm line 1538.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.2/Module/Build/Base.pm line 1544.
lib/Class/MethodMaker/Engine.xs -> lib/Class/MethodMaker/Engine.c
/usr/bin/perl "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int" "-I/usr/lib/perl5/5.8.2" "/usr/lib/perl5/5.8.2/ExtUtils/xsubpp" -noprototypes -typemap "/usr/lib/perl5/5.8.2/ExtUtils/typemap" "lib/Class/MethodMaker/Engine.xs"gcc -I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -O2 -o lib/Class/MethodMaker/Engine.o lib/Class/MethodMaker/Engine.c
ExtUtils::Mkbootstrap::Mkbootstrap('lib/Class/MethodMaker/Engine')
env LD_RUN_PATH=/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE ld2 -s -L/usr/local/lib -o blib/arch/auto/Class/MethodMaker/Engine/Engine.dll lib/Class/MethodMaker/Engine.o -L/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE -lperl
i see no perl executable around there
perl is required to build dynamic libraries
go fetch one or build this one static
error building .dll file from 'lib/Class/MethodMaker/Engine.o' at /usr/lib/perl5/site_perl/5.8.2/Module/Build/Base.pm line 2503.