Directories for Package Installation 6.1.1
Hi Everbody,
I realize this is an elementary question, but I have two concerns. I have installed Binutils and GCC and am now in the process of installing Linux-Libc-Headers. The instructions directed me to create a separate build directory for Binutils and GCC, one for each. There is no such instruction for decompressing and installing the Linux-Libc-Headers package. Where do I install it? After installation, I have do this command: Code:
cp -Rv include/asm-i386 /usr/include/asm Any help would be greatly appreciated. Bob |
Not going to plan..
Well, every turn is a new advernture. Got the headers installed, now trying to install Glibc-2.3.4, per instruction and created a glibc-build directory to decompress it. Did so, and expecting to ./configure make make install, I get this:
Code:
lfs:/mnt/lfs/glibc-build/glibc-2.3.4$ ./configure --prefix=/tools \ Anyone have any ideas? Thanks Bob |
Try doing this:
Code:
cd .. && |
The source and build directories for glibc should be located next to eachother, eg;
$LFS/sources/glibc-2.3.4 $LFS/sources/glibc-build Here is an excample: Step into your sources directory; Code:
cd $LFS/sources Code:
bunzip2 glibc-2.3.4.tar.bz2 Code:
patch -Np1 -i ../glibc-2.3.4-fix_test-1.patch Code:
mkdir -v ../glibc-build Code:
../glibc-2.3.4/configure --prefix=/tools \ |
Thanks for your responses. Unfortunately, I suppose I am biting off more than I can chew. I did finally get glibc to compile by taking your suggestion, but added another directory called "build" one up from glibc-build, and it worked.
Now, having compiled, tested, and installed, and running the specfile linker below: Code:
root:/mnt/lfs# SPECFILE=`gcc --print-file specs` && Code:
lfs:/mnt/lfs$ echo 'main(){}' > dummy. If anyone has any suggestions, it would be very much appreciated. Bob |
Good try, I suppose
http://images.linuxquestions.org/que...s/confused.gif
Well, I will post this to see if anyone has any thoughts on what is going on, and if its to far gone to fix, I guess I will just chalk this one up to experience. Got to the 2nd pass of Binutils, and except for some permissions errors, all seemed to be going according to the instructions. This one just might do me in on this attempt, though. Got this when I attempted "make" on the 2nd pass for binutils: Code:
bucomm.o(.text+0x415):bucomm.c: undefined reference to `bfd_set_format' It anyone knows what this is and if it can be fixed, I would sure appreciate the help. However, if the opinion is I should forget this attempt and maybe try again, if anyone knows where I went wrong it would help on a future attempt to do this. Thanks Bob |
Update...progress
What a ride! Just when I think I have had it, no way I am going to be able to actually finish thing, a little progress, and, VIOLA! All the preliminary packages have compiled and been installed, with make test on all of them, which all passed.
I have reached the point of actually chrooting into the new system to install the packages directly (Chapter 6.3). Well, one more little road block to solve, but it has me stumped a little. Here it is: Code:
chroot "$LFS" /tools/bin/env -i \ Code:
/tools/bin/bash: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory Code:
root:/mnt/lfs# locate libtermcap.so.2 Any help appreciated. Bob |
All times are GMT -5. The time now is 02:53 AM. |