Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: install fails for Inline::C

by syphilis (Chancellor)
on Mar 13, 2013 at 09:19 UTC ( #1023149=note: print w/replies, xml ) Need Help??

in reply to install fails for Inline::C

Can anyone tell what the problem is from the above?

No (as already noted).
If you could:
cd /home/user1/.cpan/build/Inline-0.52-9pbT8q/C
then run:
perl -Mblib t/01syntax.t
then we'll have a better chance.

BTW, is this Cygwin ?


Replies are listed 'Best First'.
Re^2: install fails for Inline::C
by Anonymous Monk on Mar 14, 2013 at 03:33 UTC

    Here is the output of the command you recommended:

    /home/user1/.cpan/build/Inline-0.52-9pbT8q/C[143]> perl -Mblib t/01syn +tax.t 1..5 # Running under perl version 5.014002 for cygwin # Current time local: Wed Mar 13 22:30:11 2013 # Current time GMT: Thu Mar 14 03:30:11 2013 # Using version 1.25_02 Uncaught exception from user code: Files found in blib/arch: installing files in blib/lib into ar +chitecture dependent library tree Installing /home/user1/.cpan/build/Inline-0.52-9pbT8q/C/_Inline_test/l +ib/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll chmod 755 /home/user1/perl5/lib/perl5/cygwin-thread-multi-64int/auto/_ +01syntax_t_6b3a/_01syntax_t_6b3a.dll chmod: cannot access `/home/user1/perl5/lib/perl5/cygwin-thread-multi- +64int/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll': No such file or di +rectory Makefile:704: recipe for target `pure_install' failed make: *** [pure_install] Error 1 A problem was encountered while attempting to compile and install your + Inline C code. The command that failed was: make pure_install > out.make_install 2>&1 The build directory was: /home/user1/.cpan/build/Inline-0.52-9pbT8q/C/_Inline_test/build/_01syn +tax_t_6b3a To debug the problem, cd to the build directory, and inspect the outpu +t files. at t/01syntax.t line 34. ...propagated at ../blib/lib/Inline/ line 772. BEGIN failed--compilation aborted at t/01syntax.t line 43. at t/01syntax.t line 43. One or more DATA sections were not processed by Inline.

    I am running using local::lib if it makes any difference. Also you are correct - I am running Cygwin.

      I am running using local::lib if it makes any difference

      I think that makes a lot of difference.
      This looks very much like this resolved bug.

      What is your current version of ExtUtils::MakeMaker ? (I'm guessing it's 6.57, but I'd like to know for sure, please.)
      If it's less than 6.62, could you update your ExtUtils::MakeMaker to version 6.62 and see if Inline then builds and installs correctly using the same approach that you first tried.

      If that does fix the problem, I'll try to modify the Inline::C Makefile.PL to check for use of "local::lib" (in addition to the check for INSTALL_BASE that it already does).

      Nothing can break perl quite like Cygwin can.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023149]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-01-19 16:32 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (221 votes). Check out past polls.