[SOLVED] Installing Perl outputs some errors and build time isn't as long as indicated.
Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@luckylinuxluser: It does look like your general Linux knowledge is a bit low and building LFS might become a very difficult task. But if you are up for a challenge.....
The first terminal is the one that pops up when you press ALT-F1 (and nothing will happen if the focus is already on that terminal). Press ALT-F2 for the second termnal (you are probably greeted with a login shell).
Quote:
cd /dev/sdaX
This doesn't make any sense. /dev/sdaX is a device, not a directory you can go to. This device is mounted to a directory (a mount-point). LFS uses /mnt/lfs as mount-point.
Also I guess it would have helped had I tried something other than F1... :\ Sorry and thank you all for the help. I will try copying and pasting the commands and see if that helps.
Ok I can't figure out how to copy text to a clipboard and paste in Links or Lynx.
In links it says to use ^Z or ^X to copy or cut, but that just exits the program. I've been googling but apparently this task is so simple that no one has every asked about it or had to explain it.
Ok I can't figure out how to copy text to a clipboard and paste in Links or Lynx.
In links it says to use ^Z or ^X to copy or cut, but that just exits the program. I've been googling but apparently this task is so simple that no one has every asked about it or had to explain it.
Don't use a clipboard utility; Select text with the mouse (holding down left mouse button) and paste at the wanted location by pressing right mouse button.
I'm pretty sure the GUI wasn't installed because I left it unchecked.
I've tried "startx" but it's not working. Does Debian have a different command?
You mentioned in post #14 that you need ctrl-alt-fX to get to a console, which tells me that you/debian has started some sort of GUI. If started in CLI then alt-fX would suffice (although ctrl-alt-fX will work).
But don't worry about having started with the CLI or a GUI, both are suited to copy/paste from and can be used to build LFS.
You mentioned in post #14 that you need ctrl-alt-fX to get to a console, which tells me that you/debian has started some sort of GUI. If started in CLI then alt-fX would suffice (although ctrl-alt-fX will work).
But don't worry about having started with the CLI or a GUI, both are suited to copy/paste from and can be used to build LFS.
No, I'm just retarded and didn't think to try alt+F2. I don't need CTRL+ALT+Fx for it to work.
So figuring out how to copy and paste from Links and Lynx was too difficult for me. I wound up installing a GUI. Unfortunately something happened to my PC and it wound up going into sleep mode or powered off or something. I had to boot it up again and found my consoles had been closed.
I'm not working with Konsole from the GUI and copying and pasting commands from here on out. First I remounted the partition and made the $LFS variable etc tben reentered the chroot environment with:
@luckylinuxluser: If, for whatever reason, you reboot your host you need to do the following (assuming you are working on chapter 6):
- check/set LFS variable,
- mount LFS related partition(s), - mount and populate dev (chapter 6.2.2),
- mount virtual kernel file systems (chapter 6.2.3),
- enter chrooted environment (as shown in chapter 6.4).
It looks like you did not do the bold parts.
Also: If you are halfway a chapter when you rebooted, it it wise to completely restart that chapter (remove the build directory, untar package and start again). In this case remove the perl source directory, untar the perl package and start from the top of the chapter (you might not need to do this step: echo "127.0.0.1 localhost $(hostname)" > /etc/hosts. Check /etc/hosts to see if this is already set).
Last edited by druuna; 02-23-2013 at 12:26 PM.
Reason: Fixed minor mistake.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.