View previous topic :: View next topic |
Author |
Message |
prophetx2 n00b
Joined: 04 Jan 2003 Posts: 13
|
Posted: Fri Jan 10, 2003 4:50 pm Post subject: problems with emerging xfree-4.2.1-r2? |
|
|
Code: |
LD_LIBRARY_PATH=../../../exports/lib ../../../exports/bin/xkbcomp -lfhlpR -o compat.dir '*'
/bin/sh: line 1: ../../../exports/bin/xkbcomp: No such file or directory
make[4]: *** [compat.dir] Error 1
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/programs/xkbcomp/compat'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/programs/xkbcomp'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.1-r2/work/xc'
make: *** [install] Error 2
!!! ERROR: x11-base/xfree-4.2.1-r2 failed.
!!! Function src_install, Line 322, Exitcode 2
!!! (no error message)
|
I was just wondering if anyone is having the same problems? I'm running 1.4rc2. |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Sun Jan 12, 2003 7:51 pm Post subject: |
|
|
Yes, I'm having the same problem.. why isn't anyone answering?
Is there another thread where this is explained ?
please help
Ellidi |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sun Jan 12, 2003 8:14 pm Post subject: |
|
|
If you search this forum, you'll find mention of this problem several times
Most common solutions:
emerge only 1 program at a time, and more important:
lower your optimisation-flags. |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Mon Jan 13, 2003 1:13 am Post subject: |
|
|
I'm sorry, but.. optimisation flags ?
htf do I do that ? I mean.. through editing the ebuild? and what
do I edit?
(I'm sorry for being a newbie or not searching the forums better.. but if they go into details in other posts.. would you please let me know ? :)
thanks, Ellidi |
|
Back to top |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
Posted: Mon Jan 13, 2003 1:34 am Post subject: |
|
|
in /etc/make.conf
check this:
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Example to lower your optimisation-flags:
CFLAGS="-march=pentium3 -O2 -pipe"
CXXFLAGS="${CFLAGS}" |
|
Back to top |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Mon Jan 13, 2003 1:55 am Post subject: |
|
|
oh, thank you :) dunno if it works though but.. I'm compiling now :) going to sleep :=
thx, Ellidi |
|
Back to top |
|
|
zepar Tux's lil' helper
Joined: 28 Jul 2002 Posts: 107
|
Posted: Mon Jan 13, 2003 4:04 am Post subject: |
|
|
good luck, going to bed too |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Mon Jan 13, 2003 2:11 pm Post subject: |
|
|
Hmm, It still doesn't work, well,
I put CFLAGS="-march=athlon-xp -02 -pipe"
I have an Athlon XP 1700+, Is there anything that I'm doing wrong or/and should set some flags on or off or higher or lower ?
thx, Ellidi |
|
Back to top |
|
|
sebgarden Guru
Joined: 21 Dec 2002 Posts: 353
|
Posted: Mon Jan 13, 2003 7:47 pm Post subject: |
|
|
Hi, I also have the same issue on mz Pentium 3 Coppermine 900 MHz (laptop) and after unmerging, reemerging and adkust the flags, I always get the same error. Quid ? |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Mon Jan 13, 2003 8:03 pm Post subject: |
|
|
Ellidi wrote: | Hmm, It still doesn't work, well,
I put CFLAGS="-march=athlon-xp -02 -pipe" |
I always go back to -march=i686. If those work you can always optimize further from a working situation. The gcc-athlon settings can be tricky. |
|
Back to top |
|
|
sebgarden Guru
Joined: 21 Dec 2002 Posts: 353
|
Posted: Mon Jan 13, 2003 8:40 pm Post subject: |
|
|
I will try to compile with -march=i686 and when it doesn|t work, I ll try to compile xfree-4.2.99.
Regards.
Sebastien |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Tue Jan 14, 2003 1:06 am Post subject: |
|
|
Thank you guys :)
It seems that I had to change the settings in /etc/make.globals
still I find it strange, because I thought make.conf overrides make.globals
anyway this is working now with
Code: |
CFLAGS="-march=athlon-xp -03 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -03 -pipe -fomit-frame-pointer"
|
Thanks alot guys :)
Ellidi |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Tue Jan 14, 2003 1:10 am Post subject: |
|
|
Anyway, what does the -03 mean ? and -pipe ?
is there anyplace I can read about that ?
ty
Ellidi |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Jan 14, 2003 1:17 am Post subject: |
|
|
The quick way (as always) is to read the man pages:
man gcc
Which states:
Code: |
-O3 Optimize yet more. -O3 turns on all ptimizations specified by -O2 and also turns on the -finline-functions and -frename-registers options.
|
If you really don't know what these do, I suggest not to use them. Using any flag with the c-compiler without knowing the consequences may wreck havoc on your system.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
Ellidi Apprentice
Joined: 22 Oct 2002 Posts: 204 Location: iceland
|
Posted: Tue Jan 14, 2003 1:27 am Post subject: |
|
|
Hmm.. Thanks..
so it might not be such a good Idea to enable the -03 ay?
well.. I started compiling my system on it.. we'll see how much havoc it turns out to wreck.
:)
Ty for the tip though.
Ellidi |
|
Back to top |
|
|
|