| View previous topic :: View next topic |
| Author |
Message |
smunk n00b


Joined: 23 May 2003 Posts: 3
|
Posted: Fri May 23, 2003 9:23 am Post subject: gentoo server? |
|
|
Hey
I'm setting up a gentoo linux server (apache, squid, samba, ...)
and I dont need X, but it seems that I cant install anything without getting X.
fx. emerge -p apache mod_ssl php gives me
xfree and opengl
It seems it's php that makes the trouble, but i'm sure it's not the only package that includes X, is there a way to prevent emerge from including X11  |
|
| Back to top |
|
 |
blubber Retired Dev


Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Fri May 23, 2003 9:40 am Post subject: |
|
|
| Read this about use flags and all will become clear... |
|
| Back to top |
|
 |
smunk n00b


Joined: 23 May 2003 Posts: 3
|
Posted: Fri May 23, 2003 10:15 am Post subject: |
|
|
I did, and I thought you could just put -X in the USE flag but i doesnt work
I tried to put it in make.conf and manually export it. Nothing worked.
Do I need to run a command before the flags are "discovered" ? |
|
| Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri May 23, 2003 11:37 am Post subject: |
|
|
| smunk wrote: | I did, and I thought you could just put -X in the USE flag but i doesnt work  |
Try with -gtk -qt ecc. Even better try with USE="-* flag1 flag2...", where -* disables everything (even the defaut flags) and flag1 flag2 are the flags you want. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
| Back to top |
|
 |
sweede n00b


Joined: 02 Jan 2003 Posts: 45
|
Posted: Fri May 23, 2003 12:43 pm Post subject: |
|
|
When they added the -v flag which shows USE flags on packages you are about to emerge, it quickly became a habbit
emerge -pv php
see the flags that you dont want,
USE="-gtk -x -qt -java" emerge -pv php
if all goes well,
USE="-gtk -x -qt -java" emerge php |
|
| Back to top |
|
 |
smunk n00b


Joined: 23 May 2003 Posts: 3
|
Posted: Sat May 31, 2003 1:12 pm Post subject: Thanks |
|
|
Hello again
sorry for not responding but I've been to majorca
the -v flag is great  |
|
| Back to top |
|
 |
|