LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-23-2009, 04:33 PM   #1
deathalele
Member
 
Registered: May 2008
Location: deep dark north wales
Distribution: Zenwalk
Posts: 162

Rep: Reputation: 30
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
 
Old 10-23-2009, 05:02 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot compile perl - 'G not found'? nukeu666 Linux - Software 1 09-11-2008 09:50 PM
Help Compile perl with threads sendas Linux - Newbie 1 12-24-2006 07:34 AM
Compile Perl into executable Xyem Linux - General 8 12-05-2005 05:00 PM
LFS6.0 Glibc compile problem Chapter5.8 Pass1 Paulsuk Linux From Scratch 1 04-19-2005 03:50 PM
Some help please with chaper 8.3 of LFS6.0. DrRock Linux From Scratch 1 12-29-2004 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration