On Fri, 23 Feb 2007 17:53:22 +0100, Tels <nospam-abuse@bloodgate.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Moin,
>
> all my attempts to build Perl fail under 64 bit, because miniperl isn't even
> able to do a simple "use strict". So today I attempted to build a Perl
> with -g to debug this issue. And lo and behold, some totally different
> error pops up:
>
> # sh Configure -des -Dusedevel -Doptimize='-g'
> [snip]
> # make
Did all your attempts include
# sh ./Configure -Dusedevel -Duse64bitall -DEBUGGING=-g -des
?
just out of curiousity
> This results in:
>
> miniperlmain.o opmini.o -lnsl -ldl -lm -lcrypt -lutil -lc
> ./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
> ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
> written lib/Config.pod
> updated lib/Config.pm
> updated lib/Config_heavy.pl
> ./miniperl -Ilib lib/lib_pm.PL
> Extracting lib.pm (with variable substitutions)
> AutoSplitting perl library
> ./miniperl -Ilib -e 'use AutoSplit; \
> autosplit_lib_modules(@ARGV)' lib/*.pm
> ./miniperl -Ilib -e 'use AutoSplit; \
> autosplit_lib_modules(@ARGV)' lib/*/*.pm
> make lib/re.pm
> make[1]: Entering directory `/home/te/src/blead.test'
> cp ext/re/re.pm lib/re.pm
> make[1]: Leaving directory `/home/te/src/blead.test'
> ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
> cd lib/unicore && ../../miniperl -I../../lib mktables -w
> touch uni.data
> `sh cflags "optimize='-g'" perlmain.o` perlmain.c
> CCCMD =
> cc -DPERL_CORE -c -DPERL_PATCHNUM=30382 -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -g -Wall -ansi -pedantic -W -Wextra -Wdeclaration-after-statement -Wendif-labels -DPERL_GCC_PEDANTIC
>
> Making DynaLoader (static)
> Processing hints file hints/linux.pl
> Writing Makefile for DynaLoader
> make[1]: Entering directory `/home/te/src/blead.test/ext/DynaLoader'
> make[1]: Leaving directory `/home/te/src/blead.test/ext/DynaLoader'
> make[1]: Entering directory `/home/te/src/blead.test/ext/DynaLoader'
> ../../miniperl "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
> ../../miniperl "-I../../lib" "-I../../lib" XSLoader_pm.PL XSLoader.pm
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ERROR: Can't create '../../lib/auto'
> Do not have write permissions
> on '/home/te/src/blead.test/ext/DynaLoader/../../lib/auto'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> at -e line 1
> make[1]: *** [pm_to_blib] Error 2
> make[1]: Leaving directory `/home/te/src/blead.test/ext/DynaLoader'
> make: *** [DynaLoader.o] Error 2
>
> Going in manually into "ext/DynaLoader" and issuing
>
> perl Makefile.PL
> make
>
> fixes that issue, only to make it reappear for attrs:
>
> Making attrs (dynamic)
> Writing Makefile for attrs
> make[1]: Entering directory `/home/te/src/blead.test/ext/attrs'
> make[1]: Leaving directory `/home/te/src/blead.test/ext/attrs'
> make[1]: Entering directory `/home/te/src/blead.test/ext/attrs'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> ERROR: Can't create '../../lib/auto'
> Do not have write permissions
> on '/home/te/src/blead.test/ext/attrs/../../lib/auto'
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> at -e line 1
> make[1]: *** [pm_to_blib] Error 2
> make[1]: Leaving directory `/home/te/src/blead.test/ext/attrs'
> make: *** [lib/auto/attrs/attrs.so] Error 2
>
> Uh? what gives?
>
> Best wishes,
>
> Tels
>
> - --
> Signed on Fri Feb 23 17:50:02 2007 with key 0x93B84C15.
> Get one of my photo posters: http://bloodgate.com/posters
> PGP key on http://bloodgate.com/tels.asc or per email.
>
> "The UAC is making safer worlds through superior firepower."
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iQEVAwUBRd8cCncLPEOTuEwVAQLnHQf7BCNfZCyxcZpPsBPXCfWG9Hxh/6NNr1Hx
> Aefs/b/JsOAImGgpv4M6iCb+uHMYbDNK6vkXMZC2ot2p878bkRKElN0l3NoXJ9rj
> d5vlkOtNuEQMzNxQv/wnXtdVPw9kWjw3e9J1nKV87Lc2eka5XuHjBdjAdIYLAaml
> 8Kl7+q2A+A2w/jeWJLHN/py5Fi259NDGtP5P22hQmZtbk6EfegnIY9HfBO+94UFD
> CrJeMmJW3Zd7zVbZi2OpEj33zfy65xC0bqwg5b/pDf31QilpPgDkdn5KuQl22AwZ
> Tbw1az86WWYub16TBF37kKDp0Ms4mVAJlxpFgUe7JRfzw0E0SEMM5A==
> =ujlY
> -----END PGP SIGNATURE-----
>
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org
http://www.goldmark.org/jeff/stupid-disclaimers/
Thread Previous
|
Thread Next