Re: [lfs-support] How to know how many packages are installed?
How many packages are installed? I don't know. I suppose you can count the installs in chapter 6. Is a package installed? Hm, check the chapter related to installing the package and see if any of the files detailed in the Contents of section exist on your system. ~ On Wed, Oct 31, 2012 at 3:33 PM, Mario St-Gelais mario@videotron.cawrote: On Wed, 31 Oct 2012 01:04:49 -0700 (PDT) gmspro gms...@yahoo.com wrote: Is there any way to know how many packages are installed? Is it possible to know if a package is installed or not? Thanks. I am very new to LFS. I wrote a very complex script I called wg :P: #!/bin/bash wget $1 echo $1/sources/wget_log.txt So I keep a log of what's downloaded. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- Yes, Virginia, there is an awful lot of common sense in the world. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Stuck at Bash 5.16
On Thu, Aug 16, 2012 at 4:13 PM, Mikie k...@mikienet.com wrote: Hello List, Stuck at Bash 5.16. says no such thing as make: no it doesn't. lfs@ubuntu:/mnt/lfs/sources/bash-4.2$ make yacc -d ./parse.y make: yacc: Command not found make: *** [y.tab.c] Error 127 the program make is reporting an error. a make-owned subshell (am i just making this up?) cannot find the yacc program. lfs@ubuntu:/mnt/lfs/sources/bash-4.2$ ubuntu. uhhuh. Not every host distro is created equal. It looks like you missed the part about the Host System Requirements in the Preface of the book. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Can't do df -h, but coreutils is installed successfully
On Fri, Jul 13, 2012 at 9:57 PM, gmspro gms...@yahoo.com wrote: Hi, I have a problem running df command. df -h df: cannot read table of mounted file systems man df , displays/shows the manual. Where is the problem? What should i do? I think the error message was misinterpreted. It looks to me like the program df is reporting an error condition -- that it cannot read a table of mounted file systems. I think your first steps should be to investigate this cannot read table of mounted file systems message. So it looks like you can run the df command properly. The shell is not reporting some weird error about df. Rather the program df is having problems with something it needs. hth. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Chapter 5 questions
On Thu, May 3, 2012 at 1:30 PM, Bruce Dubbs bruce.du...@gmail.com wrote: Scott Robertson wrote: I think I have a fair understanding of things, except for a few things. As I said, I have a sources directory on the LFS partition that I created, but I don't have a /lfs/tools directory there, so i got a little confused. ... [ and there was other stuff about directories ] ... The book talks about $LFS/sources or $LFS/tools and such. This is a more formalized way to reference those directories because the value of the LFS environment variable may vary, as long as that value is used consistently throughout a build. LFS users on the mailing lists talk about /mnt/lfs/sources and such. This is like simplifying to the de facto standard. The specific path /mnt/lfs is understood to be whatever you named your top-level build directory. So just remember that the discussions on the mailing lists sometimes elaborate the value of the LFS environment variable. Confusion about what the book is describing is one thing. But during the first pass (or two or three) through the LFS book, it is a good idea to follow the instructions to the letter. At least until you feel confident with the process. The LFS project has been around since 1999. Over-thinking the instructions at this stage of the project's maturity should only be done by professionals. Or at least only the LFS devs. ;) Just use the recommended values from the book. Read the book carefully but don't over-think it. Stick to the one version. Ask one question at a time. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Networking Question
On Sat, Mar 31, 2012 at 9:59 AM, Jim Washko jimwas...@gmail.com wrote: I have gone through the whole LFS 7.0 book and it boots great. I am running it on VirtualBox I am doing this for a project in my class and I am now required to give it networking capabilities, I am assuming I just need to go through the networking section in BLFS, and I have a few questions. Ultimately, I am looking for my VirtualBox LFS machine to get an IP address via DHCP along with still having network connectivity on the machine VirtualBox is running on (Win7) How am I able to download the .tar files onto my booted system (I used wget www.etc before to get all of the files previously)? how did you get files downloaded into the virtual machine to build LFS? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Networking Question
On Sat, Mar 31, 2012 at 10:30 AM, Jim Washko jimwas...@gmail.com wrote: The host system I used previously (Ubuntu 11.10) had the wget package and now that I am booting from the LFS system, it does not have the wget package to get the tar files (this is my first build). (i'm not ignoring you. i'm waiting for the penny to drop.) PS. this list prefers bottom-posting. please post responses at the bottom of quoted text. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Network card configuring
On Sun, Mar 25, 2012 at 12:11 PM, Eleanore Boyd cara...@cox.net wrote: How exactly does one configure the /etc/hosts for using DHCP? I can't really tell at all. DHCP is covered in the Beyond LFS book. http://www.linuxfromscratch.org/blfs/view/svn/basicnet/connect.html ~ -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] preprocessor error
On Wed, Mar 21, 2012 at 7:01 AM, siefke_lis...@web.de siefke_lis...@web.de wrote: Hello, now in Build LFS System, GCC come the error again. checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include accepts -g... yes checking for /sources/gcc-build/./gcc/xgcc -B/sources/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include option to accept ISO C89... unsupported checking how to run the C preprocessor... /lib/cpp configure: error: in `/sources/gcc-build/i686-pc-linux-gnu/libgcc': configure: error: C preprocessor /lib/cpp fails sanity check See `config.log' for more details. make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/sources/gcc-build' make: *** [all] Error 2 The config.log find under http://nopaste.info/87120df9c2.html. In your config.log, on several lines, there is the message: # /sources/gcc-4.6.2/libgcc/configure: line 1441: /lib/cpp: No such file or directory It looks like the symbolic link wasn't created correctly. (Hopefully it is as simple as that.) Double check with the installation of GCC in Ch6 of the LFS book. ~rick PS. my complements on having the foresight to provide the config.log file! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] ln -sv ../usr/bin/cpp /lib
On Tue, Mar 20, 2012 at 7:41 AM, Alexander Kapshuk alexander.kaps...@gmail.com wrote: While working on '6.17.1. Installation of GCC', I created and cd'd into '/sources/gcc-build'. One of the instructions suggests creating this symlink, 'ln -sv ../usr/bin/cpp /lib'. I assumed that I was supposed to run the command line while still in '/sources/gcc-build'. If that is the case, shouldn't the command line be 'ln -sv ../../usr/bin/cpp'? When the ln command is given two paths, the current directory does not affect the result. The current directory only has an affect when there is only one path passed to the command. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Failures when booting
On Tue, Mar 13, 2012 at 6:42 PM, Jim Washko jimwas...@gmail.com wrote: I have been working on LFS 7.0 with Ubuntu as my host and this is my first buildSo I have good news and bad news. IT BOOTS!... but I get two Fails and get an error in /etc/profile as shown below: I was hoping anyone could give me insight on what I either a. Did wrong in the LFS book to make these fails happen (I have backups where I can go and change anything needed) b. How I can fix these Failures from the new machine I created. Any help would be greatly appreciated. Thanks, Jim Washko It looks like /etc/profile was not created correctly. http://www.linuxfromscratch.org/lfs/view/stable/chapter07/profile.html Read the beginning of that section again, paying attention to the part where it says to replace ll and CC. Once /etc/profile has been corrected, try restarting the logging daemons. That may be the problem there. -rick PS. Are you booting LFS in a virtual box or something? How did you get the screen shot? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [lfs-support] Nobody has received the fatal error missing gmp.h in coreutils-8.14
On Tue, Jan 3, 2012 at 4:36 PM, Matijn Woudt tijn...@gmail.com wrote: On Wed, Jan 4, 2012 at 12:28 AM, jasonps...@jegas.com wrote: I posted earlier, and I don't expect speedy response but I was hoping someone would say yay or Nay. compiling: coreutils-8.14 I get: expr.c:54:18 fatal error : gmp.h: no such file or directory Sounds kind of serious to me... has anyone see this before? Or is it me, my linux host or something? Thank You Jason My guess would be that you did something wrong with the installation of GCC. There are special instructions for GMP, MPFR and MPC packages, are you did that correctly? The commands should be executed from inside the GCC source directory. Matijn -- More generally, any time there is an error related to a missing file or directory, begin by identifying the source of that file or directory. In this case a header file is missing. Missing headers usually indicate a missing dependency, a library or some such. Missing can mean two things: either the thing-that-is-missing is completely absent or the thing-that-wants-it is looking in the wrong place. So once the source is identified, an appropriate interpretation of missing can be ... traced and stuff can ... do ... yawn ... find the ... environment ... mmm ... ~rick -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: 64-bit-LFS?
Is true that if I build LFS on 64 bit hardware using a 64 bit host OS the result will be a 64-bit-LFS? Is it as simple as that or is there more to it? this is not a bait-and-switch kind of operation. Many packages require explicit flags or additional patches to enable 64-bit support. Once the system is built, you'll have a pure 64-bit system; it will not support any 32-bit applications. A 64-bit system that supports 32-bit applications is called a multi-lib system. A multi-lib system involves building almost everything twice, once in 64-bit mode, once in 32-bit mode. Cross-LFS has some information about that. But simply digging a bigger hole and filling it with more water does not make an Olympic-sized swimming pool. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: make command is running continously for an HOUR ......
On Sat, Sep 10, 2011 at 11:02 AM, Ashish Mishra dgash...@gmail.com wrote: HI all , THIS IS MY VERY FIRST MAIL I am using LFS 6.8 on SUSE .I have just started chapter 5 currently was installing binutils pass1. This is my problem:- a) The make command is running continously .it is not terminating.(It is showing the O/P of ./configure command continously in loop ) this may happen when the host system's time is not set correctly. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Kernel config, how to find which kernel driver I need?
On Wed, Mar 30, 2011 at 6:10 AM, Kuangyu Jing kuangyuj...@gmail.com wrote: Hi, I'm trying to build kernel without module support. But I don't know how to find drivers I need. i did, * lsmod in another distribution (debian lenny) to find loaded modules * lspci to find devices connect to my PC But Device Drivers (kernel menuconfig) has a lot of drivers I don't know such as I2C support, something in Serial ATA and Parallel ATA drivers, etc. Many distributions cast a wide net. They ship with kernel configurations that appeal to as much of the most common hardware as possible. Copying a kernel config from such a distro is a fair starting point. So, how can I find which kernel driver I need? This might be a fun experience, depending on your attitude. It involves a combination of things. You have to research your hardware. Look up the brand and model name of your motherboard and see how much you can derive from that specification. This goes hand-in-hand with reading the kernel documentation while configuring. You have to guess. You have to experiment. It takes a little effort to get good at it. Some direction can be found in the system's boot messages; save the output from dmesg after booting and look through that for driver names. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Building a LFS system
On Wed, Mar 30, 2011 at 9:17 PM, Harold Hartley wheelie...@gmail.com wrote: I would like to build a LFS system, but I don't want to use a .rpm or .deb compiled files. I just want to build a simple linux box and I looked over the lfs book and it talks about .deb or .rpm files or using a linux system to compile the files to the operating system they currently run. I'm interested in using the tar files on the system or being able to compile the files on the new box without using a current linux box. Where in the book are pre-compiled packages mentioned? I haven't read it in a while, but I don't remember that part. In what context are they mentioned? Your host system must provide some basic tools. How those initial, basic tools are installed on the host system is between you and your distro. The host system becomes optional after a certain point in the build. LFS is a system built from source, often found in tarballs. I hope someone has the answer for me to what I'm looking for. LFS has the answer for you. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: network troubleshooting
On Thu, Jan 20, 2011 at 12:20 PM, Rick Shelton rick.shel...@gmail.com wrote: #ifconfig yields: command not found ifconfig is not installed with recent versions of LFS. look at the Contents of IPRoute2 section. /etc/sysconfig/network-devices/ifconfig.eth0/ipv4 ONBOOT=yes SERVICE=ipv4-static IP=10.0.0.2 GATEWAY=192.168.1.2 PREFIX=24 BROADCAST=192.168.1.255 I'm rusty, but why is your static IP on a completely different subnet than your gateway? Gateway should be the address of your router. And I think you want an IP that is on the same subnet as the gateway. So IP and Gateway should differ only in the last octet. hth. Sorry, forgot the friendly link to accompany reference to the Contents of IPRoute2. http://www.linuxfromscratch.org/lfs/view/stable/chapter06/iproute2.html -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Copy and Paste
On Thu, Dec 30, 2010 at 9:56 PM, Blake Morgan b.morgan@gmail.com wrote: I was planning to denote as little space as needed to the distro I'm using, then partition the rest of the disk space according to the LFS book. Some questions. Should I be planning on developing multiple LFS systems? yes and no. Once you succeed in one build, it will be nice to have an extra partition that is not in use so that you can use that to start your next LFS build when the absolute latest and greatest must have version is released. I've done that and it turns out to be a kind of bouncing back and forth between which partition holds the primary system. What is the /var used for? o you know, various and sundry things ... mostly lower-level system stuff that users don't normally need to think about. What do you me by /usr being separate? A system can have multiple partitions. If desired, you can make a separate partition on which to house the /usr directory hierarchy. What do you mean by making multiple '/' partitions? See my answer to the first question above. When you say inside of the disk, do you mean selecting the End options when prompted to choose beginning or end? I think inside of the disk means the physical location of the sectors -- lower numbered sectors are physically located toward the center of the disk (closer to the hole in a common CD, for example). The End options may have different meaning depending on which partitioning tool you're using. How would I switch the /home and /boot partitions between build. You would just do it. Actually, from a design standpoint, you would want separate /home and /boot partitions so that you would NOT have to switch between builds. The idea is to install a new base system and then mount your old /home into the new system, without all the fuss of moving and copying data back and forth when it isn't necessary. I know this is many questions, but I wasn't planning for the partitioning to be this difficult. Thank you for the major help. Yea, there is a long learning curve with partitioning. At least it was for me. I spent a summer staring at a poor notebook run chkdsk over and over and over and over and ... I eventually figured out a lot about disks before I learned the names for the ideas. My point is that partitioning is not something many novices are good at. And if you don't mind my saying, you do sound inexperienced. So I will echo Ken's thought that you may not be ready for LFS. It is a labor intensive process to build a system you will be happy with and you won't get it quite right the first time. So don't rush. Take some time (a year?) to check out other distros. Add a cheap extra drive and partition and break it all to hell. Get comfortable starting and stopping system services. Get comfortable working with tarballs and trouble-shooting failed software installations. Get to know _a_ Linux-based system. Get to know how you _use_ a Linux-based system. Then you'll have much clearer ideas about how to build your own LFS system. That said, please keep asking questions. This is a support list. How can the people here gain or offer support without questions? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Copy and Paste
On Thu, Dec 30, 2010 at 6:29 PM, Blake Morgan b.morgan@gmail.com wrote: Is there any special configuration, either on the remote computer or in PuTTY that I need to set in order for SSH to work correctly? SSH needs a client and a server. Does the LFS LiveCD system include some ssh service? Is that service enabled? Putty does produce different error messages for different problems. What _exactly_ does Putty say when a connection fails? -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Copy and Paste
One of the problems with a boot CD is that you will need to do that every time you boot. What would be better is to just do a minimal install of a distro like Ubuntu or Fedora and use that. You do have to make sure you have the host requirements and update the distro install to make those complete. The reason I have been avoiding the differen didstro is because I'm confused about the partitioning. Would I not partition durin the install and do it in the shell? Would I follow the books instructions during the install? I don't understand how to partition for LFS using another distro. -- One thing the canned distros usually have over LFS is a graphical disk manager or partitioning wizard (or whatever it may be called). If you are unfamiliar with partitioning, I highly recommend using a canned distro to start you off. You would (for example) install Ubuntu on your system. During the Ubuntu install, allocate about 2 to 5 Gb (being generous) of the disk for Ubuntu, a fine sized swap partition (still 1.5x RAM?), and the rest of the disk unused. The unused portion is earmarked for LFS. Once the canned distro is installed, you should have no trouble using that system (with its graphical interface) as a host (instead of LFS LiveCD) for your LFS installation. Then you can follow the LFS instructions in a graphical web browser and copy-and-paste to your delight in a terminal emulator window. To stick with the LFS LiveCD provides the same sort of interaction, but with one step back. Using the LiveCD you can allocate the entire disk for LFS (if you want). Actually, as I recall, the LiveCD includes a graphical interface, XFCE? Yea. There's another option -- forget this thread and just use the LiveCD. once booted and logged in, type startx. You should get a desktop environment, graphical web browser, terminal window, copy-n-paste, all the amenities. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: glibc: 16.9 SBU, really?
On Fri, Oct 15, 2010 at 3:57 AM, Alberto Hernando pajaro...@gmail.com wrote: Hi. I'm building lfs-6.7, and I'm stuck compiling glibc in the chroot. I have had it running for over 24 hours, and make isn't complete yet. I don't want to stop it because there is no error, but I copied the lfs folder to another point and started another building. Same result. Make is all the time leaving sources/glibc/ntpl directory. I don't think it's doing anything new. Something like this happened to a friend of mine. He had installed some boxed distro merely for the sake of attempting an installation of LFS. But he never set the host system's time properly. So make would loop trying to build packages with timestamps from the future. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: infinite loop while making Glibc-2.11.1 - Chapter 5
On Sun, May 23, 2010 at 5:30 PM, Timothy Powell kd4...@gmail.com wrote: After a couple of hours running I stopped the make and notice that the following kept repeating in the log. Has anyone else had this problem and if so how did you correct it? I've seen this happen when the system clock is not set correctly. Make is tricked into rebuilding targets because they are stamped with a time that is older than their source files. When I saw this, it was on a friend's LFS build. He had quickly installed some Linux distribution without bothering to set the correct time. So check the host system's clock is correctly set. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.6 Section 6.22 typo?
I am working thru LFS 6.6. In Section 6.22 (Coreutils-8.4) where running the coreutils tests as user nobody the book gives the following command: su-tools nobody -s /bin/bash -c make RUN_EXPENSIVE_TESTS=yes check this command is correct. When I run this command, I cut-and-paste from the book, I get: root:/sources/coreutils-8.4# su-tools nobody -s /bin/bash -c make RUN_EXPENSIVE_TESTS=yes check bash: su-tools: command not found this means su-tools cannot be found in your PATH. first check that your PATH environment variable is set correctly; second verify that you installed su-tools as per the instructions in 5.17. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: linux from scratch in 6.3 and section 5.7
On Tue, Apr 20, 2010 at 11:50 PM, David Expósito david.sa...@gmail.com wrote: Hello Me and position with linux from scratch in 6.3 and section 5.7 gives me the tools to adjust the following error. the line: gcc-dumpspecs | sed 's @ ^ / lib/ld-linux.so.2 @ / tools @ g' \ `Dirname $ (gcc-print-libgcc-file-name)` / specs I get error can not find the specs directory. If that is exactly how you typed in the command, then there should not be spaces around the slash characters. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Is it supported if I want to create a non-standard file structure?
On Thu, Apr 15, 2010 at 6:26 PM, Jordan Peters daweef...@gmail.com wrote: I'm going through the LFS 6.6 book with ubuntu 9.10 as the host and I'm wondering if there are any tutorials anywhere to help if I want to try creating a custom filesystem setup. Like having /apps instead of /bin, /users instead of /home, etc. I'm aware I'll have to edit every makefile I come across, but I figured this is an experiment already, might as well have more fun with it and make it more mine. I doubt such a hint or tutorial exists. And I think this is a bad idea. Maintenance and support will be unusual hassles. Furthermore, I think the effort to standardize a filesystem is incredibly essential in enabling open source, community-driven development. That said, you should take detailed notes and document your progress. It may be helpful research to look over LFS hints regarding encrypted filesystems and fakeroot installations. Another thought is to try it out first by creating some simple symlinks to your host system and then trying your edit_makefile-configure-make-make_install method on some small packages. That would give you an idea of the labor involved. good luck. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: 6.16 GCC-4.4.3 make -k check Error 2
The /tools in the SEARCH_DIR is what worries me. grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' SEARCH_DIR(/tools/i686-pc-linux-gnu/lib) Shouldn't it be /usr/i686-pc-linux-gnu/lib may this pose any problems later or should i just keep going? This is a problem. You should back up and start again from 6.10. Re-adjusting the Toolchain and make sure all of that was done correctly. You may even have to begin Ch 6 over again. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Psmisc-22.10 broken symlink
I think I found a little problem with the instructions in the book here. LFS 6.6 Ch 6.52. Psmisc-22.10 ./configure --prefix=/usr make make install ln -sv killall /bin/pidof root:/sources/psmisc-22.10# ln -sv killall /bin/pidof `/bin/pidof' - `killall' root:/sources/psmisc-22.10# ls -l /bin/killall ls: cannot access /bin/killall: No such file or directory root:/sources/psmisc-22.10# file /bin/pidof /bin/pidof: broken symbolic link to `killall' The same problem is in the current development version of the book also. To address the issue, I moved /usr/bin/killall to /bin/ before running the link command. ~rick -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: binutils
On Wed, Jan 6, 2010 at 9:40 PM, Hamish West hamishru...@live.com.au wrote: Ok, my problem is, When I type in this command: mkdir -v ../binutils-build cd ../binutils-build Found on page:36 of LFS version:3.6 I get this message in return: l...@westnotebook:~$ mkdir -v ../binutils-build mkdir: cannot create directory `../binutils-build': Permission denied l...@westnotebook:~$ cd ../binutils-build bash: cd: ../binutils-build: No such file or directory On Wed, Jan 6, 2010 at 9:40 PM, Hamish West hamishru...@live.com.au wrote: l...@westnotebook:~$ mkdir -v ../binutils-build f...@westnotebook:~$ mkdir -v ../binutils-buil s...@westnotebook:~$ mkdir -v ../binutils-bui @WestNotebook:~$ mkdir -v ../binutils-bu WestNotebook:~$ mkdir -v ../binutils-b estNotebook:~$ mkdir -v ../binutils- stNotebook:~$ mkdir -v ../binutils tNotebook:~$ mkdir -v ../binutil Notebook:~$ mkdir -v ../binuti otebook:~$ mkdir -v ../binut (sorry if this seems flippant, but i'm trying to hone in on the trouble ...) tebook:~$ mkdir -v ../binu ebook:~$ mkdir -v ../bin book:~$ mkdir -v ../bi ook:~$ mkdir -v ../b ok:~$ mkdir -v ../ k:~$ mkdir -v .. hmmm -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: section 6.4 env not found
On Sat, Jun 27, 2009 at 11:52 AM, Davedave.meh...@gmail.com wrote: Hello, I'm working my way through the lfs book so far without any problems all has gone right after a few fumbling starts. I am now on section 6.4 when i have to chroot in to the build environment. I'm getting the error that env is not found. I did not get any compilation errors with bash so was figuring it should be there. Googling didn't show me anything on this. Has anyone else seen this? Thanks. Dave. env is a program installed with the coreutils package. In section 6.4, one of the arguments to the chroot command is '/tools/bin/env -i '. So it looks like env is not located under /tools/bin/. First, double check your /tools link. Make sure the /tools link points to the tools/ directory under your mounted $LFS location. The simplest issue to look at is making sure /tools points to the right place. If that doesn't work, try reinstalling coreutils as directed in chapter 5 of the LFS book. Hopefully, it was just an issue with that one package. Beyond that, uhm ... well, in the worst case can we write this off as another fumbling start? ~rick -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS 6.4 Chapter 6.14 GCC-4.3.2 Could anyone confirm this for me.
Yea, it's okay to continue. The error code was sort of captured during execution, but the -k flag forced the compilation to continue through the error(s). The test log files are provided in part to help assure LFS users what's okay and to help developers with feature tracking (or something like that). If your test_summary matches the given test_summary from the website, then you're fine to continue. Press on! ~rick On Sat, Jan 24, 2009 at 1:51 PM, ga ho gazz...@yahoo.co.uk wrote: The make -k check finished with an error code of 2 and stated cannot make check-target. However when I checked ../gcc-4.3.2/contrib/test_summary against the 073-gcc test log file on the LFS website I had exactly the same passes, successes and failures. So could anyone confirm for sure that it is okay to continue? Thanks Gary -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: A Suggestion For A Simple Package Manager
What about packages with 'make install' scripts that do not respect the DESTDIR variable? add your own to the makefile. some makefiles use the variable root_prefix, some have different names for what is functionally the same as DESTDIR. You can usually just add DESTDIR to the rules in the install target. DESTDIR does not need to explicitly defined in the makefile. (should not be?) The variable will take on any value specified in the command line and remain empty otherwise, provided it isn't defined in the environment. ~rick -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS's Chapter 6.16. Coreutils-6.9 - uname patch asks for a file name
root:/sources# cd coreutils-6.9 root:/sources/coreutils-6.9# ls -l total 184 -rw-r--r-- 1 root root 80541 Jan 14 2007 ABOUT-NLS -rw-r--r-- 1 root root 17987 Mar 18 2007 COPYING -rw-r--r-- 1 root root 2804 Mar 18 2007 Makefile.am -rw-r--r-- 1 root root 1655 Mar 18 2007 Makefile.cfg -rw-r--r-- 1 root root 36181 Mar 22 2007 Makefile.in -rw-r--r-- 1 root root 8867 Mar 22 2007 configure.ac drwx-- 2 root root 4096 Jun 2 10:38 doc drwxrwxrwx 2 root root 16384 Mar 22 2007 lib drwxrwxrwx 2 root root 4096 Mar 22 2007 man root:/sources/coreutils-6.9# if that's all you have when you extract coreutils-6.9.tar.bz2, then something terrible happened and you wound up with an incomplete tarball. try downloading it again and check the md5sum to make sure it is complete. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: GCC Pass 1 Problems
I am trying to build the first pass of GCC. I am using the LFS live cd as my host. My problem is if I extract and run the GCC tar under /mnt/lfs I get an error that I cannot build in the source directory. was this the exact error message? configure: error: Building in the source directory is not supported in this release. See http://gcc.gnu.org/install/configure.html for more details. if so then you simply skipped a step to create and change into the build directory. if not then please send along the complete error message. ~rick -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: [Fwd: Re: Grub Setup]
setup (hd0) Checking if /boot/grup/stage1 exists... no Checking if /grup/stage1 exists... yes ... I noticed this typo. 'grup' should probably be 'grub'. hopefully it was just a typo when copying into the email message. but might be worth double checking if you are still having trouble. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: 6.12. Q about the symlinks
it's fine. the semantics for creating symbolic links with ln takes a little getting used to. I don't know how to explain it very well, so i just say play with it and you'll get a feel for it. On 4/19/07, Dan Dis [EMAIL PROTECTED] wrote: Hallo! In Chapter 6.12.1. Installation of GCC, I've to do the following two commands now: ln -sv ../usr/bin/cpp /lib ln -sv gcc /usr/bin/cc My working directory is: /sources/gcc-build Now I am confused! Are the commands, especially the pathes or my working directory right?? Should the first command be? ln -sv ../../usr/bin/cpp /lib and the second? ??? I need help, I need answers! Thank you! Im www.uni.de Apple Store findet ihr die Palette der Apple Produkte zum Studentenpreis -- powered by uni.de -- -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Sanity check output from 6.12 GCC is identical to output from 6.10 Toolchain
On 2/25/07, Alex Winfield [EMAIL PROTECTED] wrote: On 2/25/07, Alex Winfield [EMAIL PROTECTED] wrote: SEARCH_DIR(/tools/i686-pc-linux-gnu/lib) it looks like the new linker from 6.11 binutils is not being used. try that grep command on the linker binary inside the chroot environment and see what you get. $ grep -a 'SEARCH.*/usr/lib' /usr/bin/ld |sed 's|; |\n|g' | sort | uniq SEARCH_DIR(/lib) SEARCH_DIR(/usr/i686-pc-linux-gnu/lib) SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib) Using that grep command, I get the exact same output that you listed: $ grep -a 'SEARCH.*/usr/lib' /usr/bin/ld |sed 's|; |\n|g' | sort | uniq SEARCH_DIR(/lib) SEARCH_DIR(/usr/i686-pc-linux-gnu/lib) SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib) so now i wonder if PATH was set correctly. The shell will use the first match it finds so the order of those directories does matter. Double check the set up when entering the chroot environment. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Sanity check output from 6.12 GCC is identical to output from 6.10 Toolchain
Checking variable PATH: echo $PATH /bin:/usr/bin:/sbin:/usr/sbin:/tools/bin that's the output. so it seems like the environment is set up correctly. But the system is still using the old linker. from your original message: root:/sources# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' SEARCH_DIR(/tools/i686-pc-linux-gnu/lib) at this point it may be good to back up to ch 6.11 and reinstall binutils. then if you still get /tools in the output of ch 6.12, you might have to restart ch 6 all over again. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Distribute my BLFS
On 1/19/07, Gerardo Medellin Hdez. [EMAIL PROTECTED] wrote: Hi, I've a BLFS system working pretty good, but now i want to make a Install Disk to distribute it, somebody know how to make it, any tip or trick is welcome. Tank's. the following hint might be a good starting point: http://www.linuxfromscratch.org/hints/downloads/files/lfscd-remastering-howto.txt -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: mandb funkiness
On 12/19/06, Dan Nicholson [EMAIL PROTECTED] wrote: On 12/19/06, Rick Shelton [EMAIL PROTECTED] wrote: since installing gcc-3 i've been getting weird messages with the man command. for example... $ man sysctl mandb: can't chmod /opt/gcc-3.3.6/man/index.bt: No such file or directory mandb: warning: can't update index cache /opt/gcc-3.3.6/man/index.bt: No such file or directory mandb: No databases updated. Reformatting sysctl(8), please wait... man-db will automatically add another path for manpages if it finds them in certain places, like /opt/*/man. But it needs to initialize a database there. Try this: mandb -c /opt/gcc-3.3.6/man -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page that did it. Thanks! -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page