Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No Extra Crap
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Tue Nov 26, 2002 6:49 am    Post subject: No Extra Crap Reply with quote

Not sure if this is the right place for this, but maybe I'll get some help here. It's really simple. I don't want X windows installed. At all. For any reason. PHP seems to believe it needs X, even though it doesn't. I know it doesn't, because I can do it on other linux systems. my USE flags get ignored, and it's really actually starting to piss me off that short of hacking the ebuild to bits, there doesn't seem to be a way to do this. Feel free to enlighten me if I am incorrect.
Back to top
View user's profile Send private message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Tue Nov 26, 2002 7:13 am    Post subject: Reply with quote

Ok, so I finally just hacked make.defaults all to hell and back, now things work the way they should have in the first place... but my question still stands as to why my USE flags were being ignored. If I explicitly specify "-X" in make.conf, it had better take precidence over make.defaults, and for whatever reason, that's not the case.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 26, 2002 7:31 am    Post subject: Reply with quote

There should never be a need to touch make.defaults. What is the exact ebuild that you were trying to emerge and what were your USE settings in /etc/make.conf?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Tue Nov 26, 2002 3:26 pm    Post subject: Reply with quote

The problem was with trying to emerge php. Instead of a nice, basic php install, it decided that I needed to install all the qt libraries (unneccesary), X11 (unneccesary) as well as alot of other random bloat. My make.conf is as follows:

Code:

USE="3dnow cdr fbcon gif jpeg png tiff ipv6 pam ssl crypt socks5 imap ldap maildir spell java perl python libg++ mysql odbc samba gpm doc zlib -3dfx -voodoo3 -matrox -pda -gphoto2 -scanner -cups -slp -x -X -xv -kde -arts -gnome -alsa -esd -mikmod -oss -nas -dvd -xmms -oggvorbis -mozilla -nls -cjk -canna -freewnn -mule"

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe"
CXXFLAGS="${CFLAGS}"


As I said in my previous posts, it was as though make.conf was simply being entirely ignored, and since make.defaults includes the X, xv, qt, and other things, it decided to try those as well. Once I removed those from make.defaults, everything went as intended.
Back to top
View user's profile Send private message
aanund
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 147

PostPosted: Tue Nov 26, 2002 4:28 pm    Post subject: Reply with quote

adding -qt -qtmt should take care of the qt dependency, but where the X dependency comes from, I have no idea, except if qt depends on x? Might be, but add -qt and -qtmt to USE at least.
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Tue Nov 26, 2002 4:29 pm    Post subject: Reply with quote

I see a -kde but I don't see a -qt in your use flags, which would be what caused the qt depence, which in turns caused the X dependence, or so I would imagine.
_________________
Excellent..
Back to top
View user's profile Send private message
Kilian
n00b
n00b


Joined: 24 Jun 2002
Posts: 74
Location: Canada

PostPosted: Tue Nov 26, 2002 4:38 pm    Post subject: Reply with quote

Yep, that appears to be it. Although I'm not sure why that is... I can think of a few situations where it might be handy to have the qt libraries despite a lack of X11. Oh well.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 26, 2002 7:17 pm    Post subject: Reply with quote

tcltk is another vector for bringing X in:
Code:
$ USE="tcltk -X -qt" emerge -pe php | grep xfree
[ebuild  N   ] x11-base/xfree-4.2.1

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
timbo
Apprentice
Apprentice


Joined: 29 Jul 2002
Posts: 231
Location: New Zealand

PostPosted: Tue Nov 26, 2002 9:32 pm    Post subject: Reply with quote

I have put mod_php onto a small server I'm setting up as a jukebox and had struck the same thing. All I done was went through the iuse of mod_php and -whatever the emerge -p mod_php was trying to add into my make.conf.

I had -X -kde -gnome but addted -qt and heaps of other stuff not needed for php or apache.

Works a charm on the 486dx2 100 with 32meg ram.....

Regards
Tim
8)
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Wed Nov 27, 2002 12:36 am    Post subject: Reply with quote

You may want to add a -motif to those use flags. Motif dependence is another thing that causes a request to install X. Sort of a nasty surprise when emerging emacs pulls X with it :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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