Subject: | Alien::Libevent syntax error at inc/Devel/CheckLib.pm line 164 |
I'm not sure how I made my cpanm so chatty with all the warnings... but here is the output of cpanm Alien::Libevent. I know that it works on OSX, as I just passed Alien::Gearman.
you can look past the additional warnings hopefully...
first error is:
syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key qw(LIBS INC)"
Thanks for any suggestions to make this work in windows!
--dave
-----
Useless use of /d modifier in transliteration operator at /loader/0x48f660/App/cpanminus/script.pm line 1.
"my" variable $dist masks earlier declaration in same scope at /loader/0x48f660/App/cpanminus/script.pm line 1.
Use of uninitialized value in split at /loader/0x48f660/App/cpanminus/script.pm line 1.
Subroutine YAML::Mo::import redefined at C:/strawberry/perl/site/lib/YAML/Mo.pm line 6.
Use of uninitialized value in bitwise or (|) at C:/strawberry/perl/lib/B/Deparse.pm line 729.
Use of uninitialized value in bitwise or (|) at C:/strawberry/perl/lib/B/Deparse.pm line 729.
--> Working on Alien::Libevent
Fetching http://www.cpan.org/authors/id/P/PL/PLU/Alien-Libevent-0.01004.tar.gz ... OK
Configuring Alien-Libevent-0.01004 ... N/A
! Configure failed for Alien-Libevent-0.01004. See \.cpanm\work\1408141138.9260\build.log for details.
cat \.cpanm\work\1408141138.9260\build.log
cpanm (App::cpanminus) 1.7001 on perl 5.018002 built for MSWin32-x64-multi-thread
Work directory is /.cpanm/work/1408141138.9260
You have make C:\strawberry\c\bin\dmake.exe
You have LWP 6.05
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Searching Alien::Libevent on cpanmetadb ...
--> Working on Alien::Libevent
Fetching http://www.cpan.org/authors/id/P/PL/PLU/Alien-Libevent-0.01004.tar.gz
-> OK
Unpacking Alien-Libevent-0.01004.tar.gz
Entering Alien-Libevent-0.01004
Checking configure dependencies from META.yml
Checking if you have IO::Zlib 0 ... Yes (1.10)
Checking if you have File::Spec 0 ... Yes (3.47)
Checking if you have Archive::Tar 0 ... Yes (2.00)
Configuring Alien-Libevent-0.01004
Running Makefile.PL
syntax error at inc/Devel/CheckLib.pm line 164, near "$mm_attr_key qw(LIBS INC)"
syntax error at inc/Devel/CheckLib.pm line 171, near "}"
Global symbol "%args" requires explicit package name at inc/Devel/CheckLib.pm line 175.
syntax error at inc/Devel/CheckLib.pm line 179, near "}"
syntax error at inc/Devel/CheckLib.pm line 185, near "}"
Global symbol "@headers" requires explicit package name at inc/Devel/CheckLib.pm line 192.
Global symbol "@libs" requires explicit package name at inc/Devel/CheckLib.pm line 223.
Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 230.
Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 236.
Global symbol "@libpaths" requires explicit package name at inc/Devel/CheckLib.pm line 240.
syntax error at inc/Devel/CheckLib.pm line 252, near "}"
inc/Devel/CheckLib.pm has too many errors.
Compilation failed in require at Makefile.PL line 3.
BEGIN failed--compilation aborted at Makefile.PL line 3.
-> N/A
-> FAIL Configure failed for Alien-Libevent-0.01004. See\.cpanm\work\1408141138.9260\build.log for details.