LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xorg build error (http://www.linuxquestions.org/questions/linux-software-2/xorg-build-error-338168/)

FlashAsh99 06-28-2005 06:48 PM

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.

exvor 06-28-2005 07:08 PM

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

FlashAsh99 06-28-2005 07:33 PM

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.

exvor 06-28-2005 07:56 PM

looks ok to me. Maybe its something freeky that the gentoo devs did to the xorg source.

FlashAsh99 06-29-2005 03:46 AM

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???
:cry:


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