Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aterm does not work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
asouldja
n00b
n00b


Joined: 17 Dec 2004
Posts: 18
Location: Belgium

PostPosted: Fri Dec 17, 2004 7:42 pm    Post subject: aterm does not work Reply with quote

It's strange I don't think it a problem with portage but I can't seem to get aterm working. It installs okay, I've looked at the portage logs and it has no errors only a warning on a USE flag(which I don't really understand) and it says the AfterStep libraries are not installed, but I don't think they are required ?

When I start aterm I get no prompt, I've been able to emerge loads of other things with no problems, anyone else experience this ?
Back to top
View user's profile Send private message
nyteryda
Guru
Guru


Joined: 26 Jul 2003
Posts: 337
Location: London

PostPosted: Fri Dec 17, 2004 9:59 pm    Post subject: Reply with quote

what about xterm ? does that do the same thing ?
_________________
Code:
#include "forums.h"
     int main() {while (bollox) postcount++;}
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Fri Dec 17, 2004 10:02 pm    Post subject: Reply with quote

You should try to start aterm with verbose oprions, or emerge strace and do:
Code:
strace aterm

To see if you can find the error. :?
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Fri Dec 17, 2004 11:13 pm    Post subject: Reply with quote

Yeah I've had this problem. It's the optimization ccflag in your /etc/make.conf (-O3). Change this to -Os, -O2, or anything lower than three and it should work fine.

PS:
-Os, is -O2 optimizations with some stripping on the binaries to reduce size.
Back to top
View user's profile Send private message
asouldja
n00b
n00b


Joined: 17 Dec 2004
Posts: 18
Location: Belgium

PostPosted: Sat Dec 18, 2004 10:02 am    Post subject: Reply with quote

I changed my CFLAGS setting from -O2 to -Os and it worked !

It's odd that I've been able to compile things like gnome & fluxbox as well as emerge -u world without a problem.

Do you recommend leaving CFLAGS as -Os ?

btw: xterm worked fine


Last edited by asouldja on Sat Dec 18, 2004 11:24 pm; edited 2 times in total
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sat Dec 18, 2004 9:41 pm    Post subject: Reply with quote

For the most part, you'll be safe leaving it at "-O3". I left mine "-Os", but I'm very, very lazy.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Dec 19, 2004 7:26 am    Post subject: Reply with quote

asouldja: Which version of gcc are you using? I've only seen this behaviour with GCC 3.3.
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Sun Dec 19, 2004 9:37 am    Post subject: Reply with quote

Ack, that's what I'm using. (3.3.3).
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Sun Dec 19, 2004 10:37 am    Post subject: Reply with quote

3.4.1 is very fast, good and stable... I use it. I have 3.3.3 too, but I always use 3.4 without problems
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
asouldja
n00b
n00b


Joined: 17 Dec 2004
Posts: 18
Location: Belgium

PostPosted: Sun Dec 19, 2004 12:54 pm    Post subject: Reply with quote

yep gcc 3.3.3 too, I should try 3.4
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Dec 19, 2004 1:06 pm    Post subject: Reply with quote

You'll find that gcc 3.4.1 is much more stable and produces higher quality code than 3.3.3. We've switched stable compilers to 3.4.1 because of this.
Back to top
View user's profile Send private message
asouldja
n00b
n00b


Joined: 17 Dec 2004
Posts: 18
Location: Belgium

PostPosted: Sun Dec 19, 2004 3:35 pm    Post subject: Reply with quote

good to know, thanks for the info
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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