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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
11-17-2002, 11:38 AM
|
#1
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Rep:
|
Error installing XFree86
I did the make part of it ...and it went for about 20 min. and then I got an error.....it said make [World]: Error 2......I know this isn't enough information, but where can I find more information about what this error means? Anyone have any help fo rme?
|
|
|
11-17-2002, 02:30 PM
|
#2
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Heres is the last few lines from xfree-compile.log:
xftgram.y:168.8: parse error, unexpected ":", expecting ";" or "|"
xftgram.y:169.3-6: $$ of `matrix' has no declared type
make[3]: *** [xftgram.c] Error 1
make[3]: Leaving directory `/usr/src/xc/lib/Xft'
make[2]: *** [depend] Error 2
make[2]: Leaving directory `/usr/src/xc/lib'
make[1]: *** [depend] Error 2
make[1]: Leaving directory `/usr/src/xc'
make: *** [World] Error 2
If anyone knows what a possible solution to this could be I'd appreciate it.
|
|
|
11-18-2002, 08:11 AM
|
#3
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
Which version of XFree86 did you complile. What guide are you using to compile it with (e.g a hint, or BLFS). What commands have you run before compiling?
Also, have you tried to search the LFS archives?
|
|
|
11-18-2002, 11:17 AM
|
#4
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Xfree86 2.4.1 using the BLFS pages. As far as which commands I've run before doing it I don't know what you mean. I followed all the instructions in the BLFS book as far as I know, unless I missed something ....but I've tried it four times now starting from fresh source. I spent quite a few hours searching around trying to find someone with a similiar problem and answer, but I couldn't find anything. I took a look at the file that it says the error is in (xftgram.y) and found the part where it says the error is, but I don't know what is wrong with it. Anyways.....hope someone has some clue, this has me stumped. Installing the LFS system has gone very good for me so far until now.
|
|
|
11-18-2002, 03:30 PM
|
#5
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Rep:
|
did you apply the 4.2.0 patch? did you edit the hosts.def file at all?
|
|
|
11-18-2002, 03:38 PM
|
#6
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Yes I applied the patch.....and I edited the hosts.def patch to the best of my knowledge...
|
|
|
11-18-2002, 04:21 PM
|
#7
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Rep:
|
I'm thinking that something may be wrong w/ your system (just a guess... I don't know what those errors mean). Have you compiled many other things? If not, try just going through and installing some other (smaller) sources. maybe lynx or ncftp or something.
|
|
|
11-18-2002, 04:58 PM
|
#8
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Alright, thanks for your opinion. The thought had occured to me that something was wrong as well, although, I had been going through the BLFS book installing things that I wanted/needed and I haven't any problems with anything until this. Anyways, thanks for the responses and attempted help, I'm sure that this will get resolved one way or another. It's all a learning process for me...
|
|
|
11-19-2002, 02:54 AM
|
#9
|
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316
Rep:
|
Well I don't know if any of this would help but it might be worth a try. The file xftgram.y is a yacc file. Yacc is hardly used anymore and on your LFS system you should have installed bison to parse these kind of files. It's possible that something went wrong with the bison install and you are only running into troubles now because this is the first time it's being used. So you could try to reinstall bison following the steps in the book and then have a retry at X. Might be wise to start with a clean source tree of X again.
Also you might want to try to compile without optimizations if you are using any to see if that makes a difference.
I just compiled X on a brand new LFS system the other day and it didn't have any problems (I did use optimizations). I was surprised how fast it managed to compile actually. But that's probably because of all the new hardware I put in the machine.
Anyways good luck on figuring out what's going wrong.
Last edited by Mik; 11-19-2002 at 02:56 AM.
|
|
|
11-21-2002, 10:45 PM
|
#10
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Well, I tried re-installing Bison and then re-trying X.....it didn't work....so I thought maybe something with the whole system was messed up.....I went through the whole LFS book again from a newly partitioned drive.....still didn't work.....does anyone have any thoughts that haven't already been tried?? I've been searching all over the web but haven't come up with anything yet...
|
|
|
11-22-2002, 06:25 AM
|
#11
|
Senior Member
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081
Rep:
|
You could try one of the Xfree hints instead of the BLFS book, making sure you report the error you had on the BLFS mailing lists for future reference.
I have tried the hints when the BLFS book didn't work for me (errors on mozilla compile), and they seemed to work okay, you may have problems with some installation directories but other than that it should work.
There are a few you could try. I hate it when something wont compile and there is no solution on the web. I spent all of yesterday trying to get an IRC client to install and I still can't do it! So I know how your feeling. 
|
|
|
11-22-2002, 12:05 PM
|
#12
|
Member
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54
Original Poster
Rep:
|
Thanks a lot. I'll definitely give one of the hints a try. Hopefully it'll work. This site has been the best thing during my whole linux learning experience. Every time I've had trouble I"ve searched the web only to come up empty handed (with maybe one exception).....but I have always found a solution by asking around on here. Anyways....thanks again...I'll let everyone know how it turns out....
|
|
|
All times are GMT -5. The time now is 04:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|