cant Compile PERL
'Make' during a Perl 5.14.2 installation keeps failing on a QNAP embedded linux (busybox) NAS device, whether its compiled with GCC, with or without threads. Have tried both the -O then -g flag. Have otherwise used all defaults.
I dont have enough knowledge to troubleshoot further. Screen just before failure is: Code:
chmod 755 ../../lib/auto/threads/shared/shared.so Compfused |
Could you provide more information about your system, i.e.
operating system, version & architecture (ex: Slackware, 13.37, x86_64) gcc version (`gcc --version`) Are you running it as root (or sudo) or just as the local user? I'm not sure what the problem is either, but these should help someone who might. |
I am running as root
[~] # gcc --version gcc (GCC) 4.2.3 [~] # uname -a Linux NASC2089B 2.6.33.2 #1 Tue Aug 16 00:31:52 CST 2011 armv5tel unknown Also it is using an ipkg packet management system which results in “chroot” environment. However I am hoping to be able to install Perl independently of ipkg. The ipkg version of Perl is not compatible with other software I wish to install Compused |
It's bizarre that it's seg-faulting though. [s]I've never seen make seg-fault.[/s] My original guess was you were missing a dependency for perl 5.14.2 but it has approximately 5, all of which should be included even in an embedded device. And assuming ipkg does dependency resolving, that shouldn't be a problem either.
Actually, it looks like perl might be the culprit here. Code:
./perl -f -Ilib pod/buildtoc --build-toc -q |
Thanks for above...that *was* a clue. I have now finished 'make', somewhat unsuccessfully though as 'make test' is reporting test failures in many of the made modules eg
Code:
FAILED--expected 7 tests saw 1, Code:
FAILED--no leader found. Code:
/share/MD0_DATA/misc/perl-5.14.2/Makefile http://old.nabble.com/Perl-Cross-bui...html#a31633497 ie (note that - means remove, + means replace) Code:
- $(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) $(libs) |
'make test' kept hanging at:
Code:
lib/sigtrap so I ran 'make install' which stalled, with msg: Code:
Can't load module Encode, dynamic loading not available in this perl. |
I have no clue. This only adds to my dislike of the language, regardless of how powerful it is.
|
All times are GMT -5. The time now is 08:17 AM. |