Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with emerging xfree-4.2.1-r2?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
prophetx2
n00b
n00b


Joined: 04 Jan 2003
Posts: 13

PostPosted: Fri Jan 10, 2003 4:50 pm    Post subject: problems with emerging xfree-4.2.1-r2? Reply with quote

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
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Sun Jan 12, 2003 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Jan 12, 2003 8:14 pm    Post subject: Reply with quote

If you search this forum, you'll find mention of this problem several times 8O
Most common solutions:
emerge only 1 program at a time, and more important:
lower your optimisation-flags.
Back to top
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Mon Jan 13, 2003 1:13 am    Post subject: Reply with quote

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
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Mon Jan 13, 2003 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Mon Jan 13, 2003 1:40 am    Post subject: Reply with quote

check

http://www.freehackers.org/gentoo/gccflags/
Back to top
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Mon Jan 13, 2003 1:55 am    Post subject: Reply with quote

oh, thank you :) dunno if it works though but.. I'm compiling now :) going to sleep :=

thx, Ellidi
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Mon Jan 13, 2003 4:04 am    Post subject: Reply with quote

good luck, going to bed too
Back to top
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Mon Jan 13, 2003 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebgarden
Guru
Guru


Joined: 21 Dec 2002
Posts: 353

PostPosted: Mon Jan 13, 2003 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Mon Jan 13, 2003 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
sebgarden
Guru
Guru


Joined: 21 Dec 2002
Posts: 353

PostPosted: Mon Jan 13, 2003 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Tue Jan 14, 2003 1:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Tue Jan 14, 2003 1:10 am    Post subject: Reply with quote

Anyway, what does the -03 mean ? and -pipe ?
is there anyplace I can read about that ?

ty
Ellidi
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Jan 14, 2003 1:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Ellidi
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 204
Location: iceland

PostPosted: Tue Jan 14, 2003 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum