LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't get perl to compile for lfs6.5 (https://www.linuxquestions.org/questions/linux-software-2/cant-get-perl-to-compile-for-lfs6-5-a-764046/)

deathalele 10-23-2009 04:33 PM

can't get perl to compile for lfs6.5
 
i'm building linux from scratch 6.5,
i haven't deviated from the book
here is some terminal output
Quote:

1.
./miniperl -Ilib configpm
2.
written lib/Config.pod
3.
updated lib/Config.pm
4.
updated lib/Config_heavy.pl
5.
./miniperl -Ilib lib/lib_pm.PL
6.
Extracting lib.pm (with variable substitutions)
7.
AutoSplitting perl library
8.
./miniperl -Ilib -e 'use AutoSplit; \
9.
autosplit_lib_modules(@ARGV)' lib/*.pm
10.
./miniperl -Ilib -e 'use AutoSplit; \
11.
autosplit_lib_modules(@ARGV)' lib/*/*.pm
12.
make lib/re.pm
13.
make[1]: Entering directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0'
14.
cp ext/re/re.pm lib/re.pm
15.
make[1]: Leaving directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0'
16.

17.
Making DynaLoader (static)
18.
Processing hints file hints/linux.pl
19.
opendir(./../../../../../../..): Permission denied at ../../lib/File/Spec/Unix.pm line 478
20.
opendir(./../../../../../../..): Permission denied at ../../lib/File/Spec/Unix.pm line 478
21.
opendir(./../../../../../../..): Permission denied at ../../lib/File/Spec/Unix.pm line 478
22.
Writing Makefile for DynaLoader
23.
make[1]: Entering directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0/ext/DynaLoader'
24.
/bin/sh: /miniperl: No such file or directory
25.
make[1]: *** [../../lib/.exists] Error 127
26.
make[1]: Leaving directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0/ext/DynaLoader'
27.
make config failed, continuing anyway...
28.
make[1]: Entering directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0/ext/DynaLoader'
29.
/bin/sh: /miniperl: No such file or directory
30.
make[1]: *** [../../lib/.exists] Error 127
31.
make[1]: Leaving directory `/media/mount/home/zenwalk/iwan/Books/LFS_6.5/mount/sources/perl-5.10.0/ext/DynaLoader'
32.
make: *** [DynaLoader.o] Error 2
33.
lfs[perl-5.10.0]$
any ideas how i could get it to compile
thanks

weibullguy 10-23-2009 05:02 PM

Have you read section 1.5 of the book yet?

Which section are you working on? I'm guessing section 5. Your LFS user doesn't have the correct permissions. Did you change the sources directory ownership when you created the LFS user? Since you're deviating from the book, you need to account for that rather than copy 'n' paste the instructions.


All times are GMT -5. The time now is 01:10 AM.