Gentoo Archives: gentoo-ppc-user

From: Mark Guertin <gerk@g.o>
To: linux_box@××××××××××××××.com, gentooppc-user@g.o
Subject: Re: [gentooppc-user] php requires X?
Date: Sun, 01 Sep 2002 22:45:18
Message-Id: 200209020140.38033.gerk@gentoo.org
In Reply to: [gentooppc-user] php requires X? by linux_box
1 On Monday 02 September 2002 01:52, linux_box wrote:
2 > Is it true that php "depends" on X in some way?
3 > I'm trying to install php on a headless server, and wondering why emerge
4 > wants X in there...
5 >
6 > Am I missing something? I just want php, and limited deps...
7
8 This is something that is determined by your USE flags. Take a look at them
9 in /etc/make.profile/make.defaults. This shows you the list of your current
10 USE flags, and the default has X. USE flags means that any configure
11 time/compile time options that are available for X within the ebuilds are
12 used (and in this case they also pull Xfree as a dependancy).
13
14 you can eedit your settings peramanently, or a quick fix you can also do this:
15 USE="-X" merge php.
16
17 Mark
18
19 P.S. php has a _lot_ of USE options, if you want a very bare bones php install
20 that doesn't pull in a lot of things from a basic system you may also want to
21 try USE="-*" emerge php