Problem on installing Xorg
Hi folks,
FC3 Host BLFS 6.1 Xorg http://www.linuxfromscratch.org/blfs...ling.html#xorg X11R6.8.2-src.tar.bz2 MD5 sum: 8131cd7ea1e4566e6e05c438a93fcfe1 # md5sum /mnt/lfs/sources/X11R6.8.2-src.tar.bz2 8131cd7ea1e4566e6e05c438a93fcfe1 /mnt/lfs/sources/X11R6.8.2-src.tar.bz2 8131cd7ea1e4566e6e05c438a93fcfe1 MD5sum found matched. On chroot environment installed dependencies first Libpng-1.2.8 Fontconfig-2.3.2 FreeType-2.1.10 Expat-1.95.8 All went throught without problem Fontconfig Dependencies installing FreeType-2.1.10 and expat-1.95.8 also went through without problem Optional - Linux-PAM-0.80 Not installed Expat Dependencies Optional "Check " not installed. Steps performed :- root:/sources$ tar jxf X11R6.8.2-src.tar.bz2 root:/sources$ cd xc root:/sources/xc$ sed -i '/^SUBDIRS =/s/ etc$//' programs/Xserver/Xprint/Imakefile root:/sources/xc$ pushd config/util && > make -f Makefile.ini lndir Code:
/sources/xc/config/util /sources/xc B.R. satimis |
Hi folks
Further to my fist posting. Referring to the Notes on building LFS 6.1 6.14. GCC-3.4.3 http://www.linuxfromscratch.org/lfs/...ter06/gcc.html following 2 steps found left out ln -s ../usr/bin/cpp /lib ln -s gcc /usr/bin/cc To retain space GCC-3.4.3 source and build directories already removed. On running following commands I found; # find /mnt/lfs/ -name gcc -type d Code:
/mnt/lfs/tools/lib/gcc Code:
/mnt/lfs/tools/bin/cpp Code:
root:/sources$ ln -s /mnt/lfs/usr/bin/cpp /lib Code:
root:/sources$ ln -s /mnt/lfs/usr/lib/gcc /usr/bin/cc Code:
root:/sources$ ln -s /mnt/lfs/tools/lib/gcc /usr/bin/cc B.R. satimis |
Hi,
I don't exactly remember how makefile is done for Xorg, but you can probably set a CC environnement variable, for example do: export CC=/mnt/lfs/usr/bin/gcc And I know that it's a bit less comfortable, but I suggest you to compile Xorg from LFS, I mean boot LFS and compile Xorg... 'cause I've tried to do a lot of compilation in chroot environnement when I've built my LFS and I remember to have had a lot of problems when I've tried to compile Xorg from chroot whereas I've got nearly no problems when I've compiled it from LFS Oliv' |
Hi Oliv,
Tks for your advice. I'm preparing my way to boot LFS 6.1 and to install BLFS 6.1 packages thereafter. But I need to intall following packages on chroot environment first; Xorg lynx PPP-2.4.3 WvDial-1.54.0 RP-PPPoE-3.5 GTK+-1.2.10 GTK+-2.6.7 Firefox so that the LFS 6.1 box can be connected to Internet and I don't need to print the BLFS 6.1 book and to download all packages before start OR buring the packages on CDs as advised by a folk on forum. Quote:
I may try those commands listed on my 2nd posting, if faiing then moving the symbolic links. But I'm worrying whether there is any inverted side effect. B.R. satimis |
In fact, enter chroot environnement and do:
Code:
export CC=`which gcc` you can try echo $CC to check that something is assigned to CC variable :) |
Hi Oliv,
I have to install 'which' command first. root:/sources$ export CC=`which gcc` bash: which: command not found Maybe I can run it on the Host, i.e. exit chroot B.R. satimis |
Quote:
Well gcc is probably in /usr/bin so type: Code:
export CC=/usr/bin/gcc |
Hi Oliv' ,
I solved my problem as follow; In chroot environment root:/$ ln -s gcc /usr/bin/cc (no printout) root:/$ ls -l /usr/bin/cc lrwxrwxrwx 1 root root 3 2005-08-19 06:16 /usr/bin/cc -> gcc Xorg-6.8.2 http://www.linuxfromscratch.org/blfs...ling.html#xorg went through without problem except the last step as follow; Code:
... Code:
BUILD config doc LABEL lib nls programs README satimis |
Problem solved
Hi folks,
Last problem now solved. Because I missed running "popd". Tks. satimis |
Xorg installation error
hi
i install Xorg from lfs and from red hat both but when i write command make CC=/opt/gcc-2.95.3/bin/gcc -f Makefile.linux it say kernel.config file not found |
:confused:
That's not the way we compile Xorg... Have you follow this step by step document: http://www.linuxfromscratch.org/blfs...ling.html#xorg to install Xorg ??? Moreover, I'm not sure that Xorg will compile with gcc-2.95... Oliv' |
oliv
hi
oliv thanks for your reply. actually i am building lfs 5.1 the link you give is installation of Xorg lfs6.1 can it work for lfs 5.1 having Xorg 6.7.0 and i m using blfs 5.1 i m waiting for your reply bye bye |
Hi,
Well if you install Xorg6.8.2 it will work whatever the distribution you have... Now as you want to install Xorg-6.7.0, I think that it should work 'cause the procedure has not changed between 6.7.0 and 6.8.2 version Bye Oliv' |
Same error occurs oliv
hi
oliv i used your referenced manual but, when i write command cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel && make -f Makefile.linux && mkdir -p /lib/modules/`uname -r`/kernel/drivers/char/drm/ && cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o \ /lib/modules/`uname -r`/kernel/drivers/char/drm/ && depmod -a same error occur kernel config file not found. plz tell me how to remove this beautiful error bye bye |
Re: Same error occurs oliv
Quote:
ps: What I did was a litle hack, I copied the kernel from LFS to the /boot from my SuSE 9.3 and the /lib/modules to my host Distro and added a line to the grub so I boot with the LFS kernel on my SuSE distro and then compiled Xorg so I have the exact same kernel, when I did that I removed the kernel and modules and the line in grub.conf. You als have to copy the .config file from the compiled kernel to the /boot partition. If you have followed the book then it should work if not. Then you have to recompile the LFS kernel and copy the .config file to the boot directory. |
All times are GMT -5. The time now is 01:28 PM. |