Subject: | Inline build fails using INSTALL_BASE |
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
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
Subject: | cygwin-perl-V.txt |
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=cygwin, osvers=1.7.15(0.26053), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 winxp 1.7.15(0.26053) 2012-05-09 10:25 i686 cygwin '
config_args='-de -Dlibperl=cygperl5_14.dll -Dcc=gcc-4 -Dld=g++-4 -Darchname=i686-cygwin-threads-64int -Dmksymlinks -Dusethreads -Accflags=-g'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector'
ccversion='', gccversion='4.5.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++-4', ldflags =' -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
perllibs=-ldl -lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_14.dll
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import -Wl,--export-all-symbols -Wl,--enable-auto-image-base -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_PRESERVE_IVUV
PERL_USE_SAFE_PUTENV USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
Bug#55162 File::Spec::case_tolerant performance
CYG07 $vendorarch/auto/.rebase
CYG15 static Win32CORE
CYG17 cyg-1.7 paths-utf8
0c612ce82 Fix building static extensions on cygwin, -UUSEIMPORTLIB
1bac5ecc1 Fix 64-bit threading sv.c: S_anonymise_cv_maybe
Cygwin::sync_winenv added
Built under cygwin
Compiled at Jul 12 2012 14:17:21
%ENV:
PERL5LIB="/home/chm/local/lib/perl5"
@INC:
/home/chm/local/lib/perl5/cygwin-thread-multi-64int
/home/chm/local/lib/perl5
/usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int
/usr/lib/perl5/site_perl/5.14
/usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int
/usr/lib/perl5/vendor_perl/5.14
/usr/lib/perl5/5.14/i686-cygwin-threads-64int
/usr/lib/perl5/5.14
/usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8
.
Subject: | inline-test-log.txt |
Message body is not shown because it is too large.