Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
smunk
n00b
n00b


Joined: 23 May 2003
Posts: 3

PostPosted: Fri May 23, 2003 9:23 am    Post subject: gentoo server? Reply with quote

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
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Fri May 23, 2003 9:40 am    Post subject: Reply with quote

Read this about use flags and all will become clear...
Back to top
View user's profile Send private message
smunk
n00b
n00b


Joined: 23 May 2003
Posts: 3

PostPosted: Fri May 23, 2003 10:15 am    Post subject: Reply with quote

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


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Fri May 23, 2003 11:37 am    Post subject: Reply with quote

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


Joined: 02 Jan 2003
Posts: 45

PostPosted: Fri May 23, 2003 12:43 pm    Post subject: Reply with quote

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


Joined: 23 May 2003
Posts: 3

PostPosted: Sat May 31, 2003 1:12 pm    Post subject: Thanks Reply with quote

Hello again

sorry for not responding but I've been to majorca :P

the -v flag is great :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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