View previous topic :: View next topic |
Author |
Message |
Kilian n00b
Joined: 24 Jun 2002 Posts: 74 Location: Canada
|
Posted: Tue Nov 26, 2002 6:49 am Post subject: No Extra Crap |
|
|
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 |
|
|
Kilian n00b
Joined: 24 Jun 2002 Posts: 74 Location: Canada
|
Posted: Tue Nov 26, 2002 7:13 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 26, 2002 7:31 am Post subject: |
|
|
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 |
|
|
Kilian n00b
Joined: 24 Jun 2002 Posts: 74 Location: Canada
|
Posted: Tue Nov 26, 2002 3:26 pm Post subject: |
|
|
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 |
|
|
aanund Tux's lil' helper
Joined: 29 Aug 2002 Posts: 147
|
Posted: Tue Nov 26, 2002 4:28 pm Post subject: |
|
|
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 |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Tue Nov 26, 2002 4:29 pm Post subject: |
|
|
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 |
|
|
Kilian n00b
Joined: 24 Jun 2002 Posts: 74 Location: Canada
|
Posted: Tue Nov 26, 2002 4:38 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 26, 2002 7:17 pm Post subject: |
|
|
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 |
|
|
timbo Apprentice
Joined: 29 Jul 2002 Posts: 231 Location: New Zealand
|
Posted: Tue Nov 26, 2002 9:32 pm Post subject: |
|
|
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
|
|
Back to top |
|
|
aja l33t
Joined: 26 Aug 2002 Posts: 705 Location: Edmonton, Canada
|
Posted: Wed Nov 27, 2002 12:36 am Post subject: |
|
|
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 |
|
|
|