[rt.cpan.org #81094] Inline build fails using INSTALL_BASE

[email protected] ("Chris Marshall via RT")
Newsgroups perl.inline
Message-ID <[email protected]>
Sat Nov 10 13:48:05 2012: Request 81094 was acted upon.
Transaction: Correspondence added by CHM
       Queue: Inline
     Subject: Inline build fails using INSTALL_BASE
   Broken in: 0.50, 0.51
    Severity: Critical
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=81094 >


A plain 'perl Makefile.PL; make; make test;'
worked ok so I redid the Inline build with the
INSTALL_BASE option and then forced
install without tests passing. Now if I run
the tests they pass.

--Chris

On Sat Nov 10 13:02:31 2012, CHM wrote:
> cygwin 1.7.17
> perl 5.14.2
>
> Trying to update my PDL install location using the INSTALL_BASE
> option for EU::MM along with --install-base for M::B, the Inline make
> test failed (apparently because the Makefile generated by the test(s)
> seem to be trying to access a location in the system perl5 location
> and not the location under INSTALL_BASE.
>
> Here is one example of the failure log with the full log attached to
> this ticket along with the output from perl -V.
>
> make[1]: Entering directory `/cygdrive/e/chm/pdl/try/Inline-0.51/C'
> PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e"
> "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t
> t/00init.t .............. ok
> Uncaught exception from user code:
> make[2]: Entering directory
> `/cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/build/_01syntax_t_6b3a'
> Files found in blib/arch: installing files in blib/lib into
> architecture
> dependent library tree
> Installing
> /cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/lib/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.bs
> Installing
> /cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/lib/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll
> chmod 755
> /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-
> 64int/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll
> chmod: cannot access
> `/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-
> 64int/auto/_01syntax_t_6b3a/_01syntax_t_6b3a.dll':
> No such file or directory
> Makefile:705: recipe for target `pure_install' failed
> make[2]: *** [pure_install] Error 1
> make[2]: Leaving directory
> `/cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/build/_01syntax_t_6b3a'
>
> 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:
> /cygdrive/e/chm/pdl/try/Inline-
> 0.51/C/_Inline_test/build/_01syntax_t_6b3a
>
> To debug the problem, cd to the build directory, and inspect the
> output files.
>
> at t/01syntax.t line 34.
> 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.
>
> t/01syntax.t ............
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 5/5 subtests
>
> Thanks,
> Chris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.