LinuxQuestions.org
Register a domain and help support LQ
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-19-2013, 01:17 PM   #1
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Rep: Reputation: Disabled
Installing Perl outputs some errors and build time isn't as long as indicated.


Couldn't copy and paste code but here is a screen shot of the results from

Code:
make install
http://i.imgur.com/AuxgGzM.jpg

~build time is said to be 7.5 SBU's but the whole process took much shorter than that. I've highlighted some errors which I think may be the problem. Hoping someone can shed some light on this issue for me and point me in the right direction.
 
Old 02-19-2013, 01:23 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Hi

You dont mention what chapter you are on,

Can you post the output of version-check script please to start with
 
Old 02-19-2013, 01:27 PM   #3
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Sorry. I'm in chapter 6.37. Ran out of room in the title and forgot to mention it in the text.

I'm entering

Code:
version-check
and I'm just getting back:

Code:
bash: version-check: command not found
This being done from the sources/perl-5.16.1 dir.
 
Old 02-19-2013, 01:37 PM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Ok that needs to be run from host but as you are that far along dont worry.
Did you install zlib chapter 6.11 Did you run the last command about moving
Code:
mv -v /usr/lib/libz.so.* /lib
ln -sfv ../../lib/libz.so.1.2.7 /usr/lib/libz.so
Also have a look in /usr/lib for lib.so lib.a

also ls -l /usr/lib

should have lib.so linked to libz.so -> ../../lib/libz.so.1.2.
 
Old 02-19-2013, 01:46 PM   #5
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Ok that needs to be run from host but as you are that far along dont worry.
Did you install zlib chapter 6.11 Did you run the last command about moving
Code:
mv -v /usr/lib/libz.so.* /lib
ln -sfv ../../lib/libz.so.1.2.7 /usr/lib/libz.so
Also have a look in /usr/lib for lib.so lib.a

also ls -l /usr/lib

should have lib.so linked to libz.so -> ../../lib/libz.so.1.2.
I thought I followed all the commands, but I guess I missed these because I do not see "lib.so" or "lib.a" in /usr/lib

Should I go back and redo chapter 6.11 and try 6.37 again?

::EDIT:: unless you meant "libz.so" and "libz.a" Because I do have those files in the /usr/lib directory and "libz.so" is linked to ../../lib/libz.so.1.2.7

Last edited by luckylinuxluser; 02-19-2013 at 01:48 PM.
 
Old 02-19-2013, 01:53 PM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
That was a typo your files are in order.

Did you copy and paste the sed command

---------- Post added 02-19-13 at 07:53 PM ----------

That was a typo your files are in order.

Did you copy and paste the sed command for perl

Last edited by spiky0011; 02-19-2013 at 01:54 PM.
 
Old 02-19-2013, 01:55 PM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by spiky0011 View Post
Did you copy and paste the sed command
I was just about to ask if the OP was 100% sure about the sed command
 
Old 02-19-2013, 01:57 PM   #8
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Also copy paste the "sh Configure"
 
Old 02-19-2013, 01:58 PM   #9
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
That was a typo your files are in order.

Did you copy and paste the sed command

---------- Post added 02-19-13 at 07:53 PM ----------

That was a typo your files are in order.

Did you copy and paste the sed command for perl
unfortunately I installed the host system without a GUI. I've had to be extra careful in how I enter commonds and I've gone through it twice, once while disregarding the spacing and again replicating the spaces at the end of lines.

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
Do I need to make sure the spacing is correct at the beginning of lines? For instance...

Code:
>       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
Also I've been hitting enter after every "\" as per my understanding of the instructions in the Typography page.

Last edited by luckylinuxluser; 02-19-2013 at 01:59 PM.
 
Old 02-19-2013, 02:03 PM   #10
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Dose the host not have a non graphical web browser "Links or lynx
 
Old 02-19-2013, 02:05 PM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by luckylinuxluser View Post
unfortunately I installed the host system without a GUI. I've had to be extra careful in how I enter commonds and I've gone through it twice replicated the spaces at the end.
You also mentioned this in one of your other posts. Why can't you copy and paste?

You can access multiple consoles from the CLI (ALT-F1 -> ALT-F6). Open lynx with the html doc in one terminal and do all the LFS related stuff in another. copy/paste using the mouse from one console to the other. Not sure if gpm is installed on your host, that is needed for having a mouse in CLI mode.

Quote:
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
Do I need to make sure the spacing is correct at the beginning of lines? For instance...

Code:
>       -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
That depends. In your example the first spaces can go, but the space between INCLUDE and = cannot go.

The command could be re-written to:
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

# or as a "one-liner"
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
Quote:
Also I've been hitting enter after every "\" as per my understanding of the instructions in the Typography page.
That sounds correct.
 
1 members found this post helpful.
Old 02-19-2013, 02:13 PM   #12
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Dose the host not have a non graphical web browser "Links or lynx
Quote:
Originally Posted by druuna View Post
You also mentioned this in one of your other posts. Why can't you copy and paste?
Umm.. Thank you... There are times such as these when I ask myself if maybe I needed to learn a bit more about Linux before trying LFS, but the GUI always spoiled me and I never got myself to use the CLI.

Quote:
Originally Posted by druuna View Post
You can access multiple consoles from the CLI (ALT-F1 -> ALT-F6). Open lynx with the html doc in one terminal and do all the LFS related stuff in another. copy/paste using the mouse from one console to the other. Not sure if gpm is installed on your host, that is needed for having a mouse in CLI mode.
I'm hitting ALT-F1, but it's not doing anything. Maybe because I'm in the LFS partition ATM... can I safely:

Code:
cd /dev/sdaX
to the host system and open another console where I cd /dev/xxxx back into LFS without fear of messing anything up like the environment variables?
 
Old 02-19-2013, 02:17 PM   #13
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Try Ctrl+Alt+F2
 
Old 02-19-2013, 02:18 PM   #14
luckylinuxluser
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Try Ctrl+Alt+F2
That worked
 
Old 02-19-2013, 02:24 PM   #15
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,614
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
It will go through to F6
 
  


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
Errors installing perl-gtk2 via slackbuilds Ook Slackware 1 02-11-2013 12:14 PM
Getting errors while installing perl-dbi bootleg550 Linux - Software 3 05-24-2011 01:59 PM
wxPython build take a long time madhu Linux - Embedded & Single-board computer 1 12-16-2010 09:41 PM
bugzilla - installing perl DBD::mysql - what do these errors mean? neocontrol Linux - Software 2 03-19-2007 02:17 PM
perl errors when installing modules jimi_j Programming 12 07-19-2004 11:16 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration