Dan wrote:
>Does "Error" appear anywhere else in the output? If you run the last
>command on its own, does it return an error?
I cannot see any other error msg like this one on the previous output.
The line:
./miniperl -Ilib lib/lib_pm.PL
just return the next line of the output, without visible errors:
Extracting lib.pm (with variable substitutions)
-----------------
Ken wrote:
>Not exactly verbose. I'm not clear how much is written to stdout
>and how much to stderr, but I would hope to see *something* - please
>can you try the command again (delete the perl directory and
>re-extract it), but add
>> logfile 2>errors
>I'm hoping that the 'errors' file might say something else.
I hope too. :P
>At the moment, all we can say is that miniperl was not good
>enough to build the full perl.
crap. :/
ok, here is the content of the "errors" file.
(just a note: since the line that starts with "CCCMD" is repeated maany times
but without changes, I've exchanged all the copies of it with their
count-number,
so you can see the 1st line every time it occurs,
followed by a note with the number of copies that follow every new occurrence).
Here it is:
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-Wall
[+ CCCMD... x7]
regcomp.c: In function 'S_study_chunk':
regcomp.c:723: warning: comparison is always false due to limited range of data
type
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-Wall
[+ CCCMD... x8]
sv.c: In function 'Perl_sv_clear':
sv.c:5222: warning: ignoring return value of 'Perl_io_close', declared with
attribute warn_unused_result
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
-Wall
[+ CCCMD... x20]
make: *** [preplibrary] Error 1
in case you want to see also the content of the logfile, here it is:
gs "optimize='-O2'" perlmain.o` perlmain.c
`sh cflags "optimize='-O2'" perl.o` perl.c
`sh cflags "optimize='-O2'" gv.o` gv.c
`sh cflags "optimize='-O2'" toke.o` toke.c
`sh cflags "optimize='-O2'" perly.o` perly.c
`sh cflags "optimize='-O2'" op.o` op.c
`sh cflags "optimize='-O2'" pad.o` pad.c
`sh cflags "optimize='-O2'" regcomp.o` regcomp.c
`sh cflags "optimize='-O2'" dump.o` dump.c
`sh cflags "optimize='-O2'" util.o` util.c
`sh cflags "optimize='-O2'" mg.o` mg.c
`sh cflags "optimize='-O2'" reentr.o` reentr.c
`sh cflags "optimize='-O2'" hv.o` hv.c
`sh cflags "optimize='-O2'" av.o` av.c
`sh cflags "optimize='-O2'" run.o` run.c
`sh cflags "optimize='-O2'" pp_hot.o` pp_hot.c
`sh cflags "optimize='-O2'" sv.o` sv.c
`sh cflags "optimize='-O2'" pp.o` pp.c
`sh cflags "optimize='-O2'" scope.o` scope.c
`sh cflags "optimize='-O2'" pp_ctl.o` pp_ctl.c
`sh cflags "optimize='-O2'" pp_sys.o` pp_sys.c
`sh cflags "optimize='-O2'" doop.o` doop.c
`sh cflags "optimize='-O2'" doio.o` doio.c
`sh cflags "optimize='-O2'" regexec.o` regexec.c
`sh cflags "optimize='-O2'" utf8.o` utf8.c
`sh cflags "optimize='-O2'" taint.o` taint.c
`sh cflags "optimize='-O2'" deb.o` deb.c
`sh cflags "optimize='-O2'" universal.o` universal.c
`sh cflags "optimize='-O2'" xsutils.o` xsutils.c
`sh cflags "optimize='-O2'" globals.o` globals.c
`sh cflags "optimize='-O2'" perlio.o` perlio.c
`sh cflags "optimize='-O2'" perlapi.o` perlapi.c
`sh cflags "optimize='-O2'" numeric.o` numeric.c
`sh cflags "optimize='-O2'" locale.o` locale.c
`sh cflags "optimize='-O2'" pp_pack.o` pp_pack.c
`sh cflags "optimize='-O2'" pp_sort.o` pp_sort.c
rm -f libperl.a
/tools/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o pad.o regcomp.o
dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o
pp_ctl.o pp_sys.o doo
p.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o
perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o
`sh cflags "optimize='-O2'" miniperlmain.o` miniperlmain.c
`sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
cc -o miniperl \
miniperlmain.o opmini.o libperl.a -lnsl -ldl -lm -lcrypt -lutil -lc
./miniperl -w -Ilib -MExporter -e '<?>' || make minitest
./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
./miniperl -Ilib lib/lib_pm.PL
Extracting lib.pm (with variable substitutions)
------------------
Sizo wrote:
>Did you run make test (if you did the book sys it is not recommended)?
>Anyways I too ran into a lot of trouble with pearl, my problem was
>partly because I had restarted my host OS (LFS-LiveCD) and not
>ch-rooted properly into the toolchain, I am no expert and I am
>actually new to linux, but I'm just saying you can check that!
how can I run make test if the package is not even compiled? :P
Can I do this? don't think so. Am I wrong? :|
Anyway I followed all the steps that the book requires, before to
go into compiling ("su - lfs", "source /home/lfs/.bash_profile", etc..).
I don't think that it depends on this.
Any other package was successfully compiled and installed before than this.
It seems to be just perl which has something wrong. :/
Thanks anyway for the suggestion (everything can be useful! :P).
let me know what do you think about it.
yayo
--
yayo's software & codes:
- TRASHY (http://trashy.sourceforge.net/index.php)
- pXw4Pa (http://pxw4pa.sourceforge.net/index.php)
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page