LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-16-2011, 04:37 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
error in perl 5.12.1


I have an error while running make test in perl 5.12.1 6.33.1 The error reports a problem with cpan/Compress-Raw-Zlib, Warning no makefile? No rule to make target config. Now dose this mean that there is a problem with the 1st part when making perl? or is the problem with the zlib package 6.11.1? I have uninstalled perl and retried again same error, or would it be safe to just redo zlib package again and leave the packages inbetween zlib and perl? Or should I redo all packages from zlib again?
 
Old 02-16-2011, 05:37 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Are you talking about make test for python itself, or a seperate module or program within cpan? If it is something you are trying to install in cpan, you can always download the source of the package on the cpan site.
 
Old 02-17-2011, 04:06 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I'M building LFS and have got to the Perl section as per 6.7 book and recieved the error there. I would just like a little help as to fix thks
 
Old 02-17-2011, 03:19 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I have fixed error in Perl build. I redone Zlib section 6.11 then redone Perl section 6.33. I dont know if I mis typed in "Zlib" or mis typed in "Perl". Prehaps someone could put me straight, In the perl section of book 6.7
Code:
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"            \
       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE     = /usr/include|" \
       -e "s|LIB\s*= ./zlib-src|LIB         = /usr/lib|"         \
    cpan/Compress-Raw-Zlib/config.in
Code:
sh Configure -des -Dprefix=/usr \
                  -Dvendorprefix=/usr           \
                  -Dman1dir=/usr/share/man/man1 \
                  -Dman3dir=/usr/share/man/man3 \
                  -Dpager="/usr/bin/less -isR"  \
                  -Duseshrplib
Do the gaps in the code which are about 4 spaces are these important? I would like to know incase this is where my mistakes where
 
Old 02-18-2011, 01:27 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Nope, those spaces are not important, they are there for readability. The following 2 examples are the same:
Code:
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"            \
       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE     = /usr/include|" \
       -e "s|LIB\s*= ./zlib-src|LIB         = /usr/lib|"         \
    cpan/Compress-Raw-Zlib/config.in
and
Code:
sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \
-e "s|INCLUDE\s*= ./zlib-src|INCLUDE     = /usr/include|" \
-e "s|LIB\s*= ./zlib-src|LIB         = /usr/lib|" \
cpan/Compress-Raw-Zlib/config.in
The spaces inside the sed command _are_ important!
Code:
Correct:
-e "s|LIB\s*= ./zlib-src|LIB         = /usr/lib|"

Not correct:
-e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|"
If at all possible you should copy and paste these larger commands.

Hope this clears things up a bit.
 
Old 02-18-2011, 11:53 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Thanks for pointing that out, I do have problem with copy/paste as I cant get usb to mount, also the less command is not working yet
 
  


Reply



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
PERL error Asteroid Programming 6 04-27-2008 01:44 PM
Perl use prima; Prima(perl) (image processing software))error knockout_artist Linux - Software 2 09-11-2007 10:13 PM
perl Error rjcrews Programming 3 12-19-2005 10:53 AM
Yum error: .conflict between perl and perl-NDBM_File zepplin611 Red Hat 3 10-20-2004 10:22 AM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:49 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