LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-28-2005, 06:48 PM   #1
FlashAsh99
LQ Newbie
 
Registered: Jun 2005
Posts: 29

Rep: Reputation: 15
Xorg build error


Hi i am new to Linux, and recently installed gentoo on my machine. I am struggling to emerge x11-xorg. Everytime i do it, after about an hour I get the following:

/xkbcomp/geometry'
rm -f geometry.dir
LD_LIBRARY_PATH=../../../exports/lib XLOCALEDIR=../../../exports/lib/locale ../
../..exports/bin/xkbcomp -lfhlpR -o geometry.dir '*'
make[5]: *** [geometry.dir] illegal instruction
make[5]: *** Deleting file 'geometry.dir'
make[5]: Leaving directory '/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/xkbcom/geometry'
make[4]: *** [all] Error 2
make[4]: Leaving directory '/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/xkbcom'
make[3]: *** [all] Error 2
make[3]: Leaving directory '/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/'
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory '/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed
!!! Function build, Line 956, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


Is there anyway of resolving this problem. Appreciate any help, thanks.
 
Old 06-28-2005, 07:08 PM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
you are running as root right ?


it looks like its having an issue deleteing a file im not so sure about gentoo tho because it does everything in the background.

you may have better luck grabbing from source and compiling manually
 
Old 06-28-2005, 07:33 PM   #3
FlashAsh99
LQ Newbie
 
Registered: Jun 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Yep i am running it as root? Do you reckon it's something to do with my /etc/make.conf is there anything i need to change here?

my current /etc/make.conf is:

CFLAGS="-02 -march=athlon-xp -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome qt kde dvd als cdr java oss"

Thanks for any help.
 
Old 06-28-2005, 07:56 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
looks ok to me. Maybe its something freeky that the gentoo devs did to the xorg source.
 
Old 06-29-2005, 03:46 AM   #5
FlashAsh99
LQ Newbie
 
Registered: Jun 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Now I realise i might have made a mistake with my processor, its just a normal athlon, not athlon XP, so i modified to the following:

CFLAGS="-02 -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome qt kde dvd als cdr java oss"

So know when I emerge xorg-x11:

After about the same sort of time i know get this error:

../../exports/lib/libXfont.so: undefined reference to `FT_Get_PS_Font_Info'
../../exports/lib/libXfont.so: undefined reference to `FT_Stream_Seek'
../../exports/lib/libXfont.so: undefined reference to `FT_Has_PS_Glyph_Names'
../../exports/lib/libXfont.so: undefined reference to `FT_Get_BDF_Charset_ID'
../../exports/lib/libXfont.so: undefined reference to `FT_Get_X11_Font_Format'
../../exports/lib/libXfont.so: undefined reference to `FT_Get_Name_Index'
../../exports/lib/libXfont.so: undefined reference to `FT_Activate_Size'
../../exports/lib/libXfont.so: undefined reference to `FT_Get_Postscript_Name'
collect2: ld returned 1 exit status
make[4]: *** [bdftopcf] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs/
bdftopcf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r1/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r1 failed.
!!! Function build, Line 956, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.


Can somebody please tell me whats going on? Please???
 
  


Reply



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
baghira build error megadeth Linux - Software 2 05-23-2005 06:47 PM
package build error help thushara Linux - Newbie 2 03-31-2005 03:24 PM
package build error help thushara Linux - General 1 03-31-2005 08:49 AM
wxPython Build Error slacklinux Linux - Newbie 8 05-26-2004 11:12 PM
garnome build error Tarential Linux - Software 1 09-28-2003 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:23 PM.

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