LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 11-17-2002, 11:38 AM   #1
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Rep: Reputation: 15
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?
 
Old 11-17-2002, 02:30 PM   #2
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 11-18-2002, 08:11 AM   #3
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
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?
 
Old 11-18-2002, 11:17 AM   #4
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
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.
 
Old 11-18-2002, 03:30 PM   #5
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
did you apply the 4.2.0 patch? did you edit the hosts.def file at all?
 
Old 11-18-2002, 03:38 PM   #6
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
Yes I applied the patch.....and I edited the hosts.def patch to the best of my knowledge...
 
Old 11-18-2002, 04:21 PM   #7
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
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.
 
Old 11-18-2002, 04:58 PM   #8
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
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...
 
Old 11-19-2002, 02:54 AM   #9
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
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.
 
Old 11-21-2002, 10:45 PM   #10
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
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...
 
Old 11-22-2002, 06:25 AM   #11
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
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.
 
Old 11-22-2002, 12:05 PM   #12
jambeck
Member
 
Registered: Oct 2002
Distribution: VectorLinux for now...
Posts: 54

Original Poster
Rep: Reputation: 15
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error while installing XFree86 on Redhat nupur Linux - Newbie 7 10-05-2005 05:09 AM
Help Pleae: Error installing XFree86-100dpi-fonts-4.3.0-35.EL SEATU Linux - General 1 09-29-2005 08:12 AM
Installing XFree86 Ottoguy Linux - Newbie 2 09-13-2005 05:05 PM
Installing XFree86 darksnyder Linux - Newbie 1 02-25-2004 04:18 PM
Need help with installing xfree86 3.3.6. alex957 Linux - Newbie 1 10-15-2002 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration