Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-lang/php wants to install X ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Dw2k
n00b
n00b


Joined: 28 Sep 2003
Posts: 5
Location: UK

PostPosted: Wed Feb 22, 2006 2:52 pm    Post subject: dev-lang/php wants to install X ? Reply with quote

Hi guys,

Back to playing around with a newly installed Gentoo 2005.1 box and i've got apache2 running fine and now im going for php.

I have been looking at:

http://www.gentoo.org/proj/en/php/php-upgrading.xml
http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml
https://forums.gentoo.org/viewtopic-t-436285.html

And I have got

dev-lang/php mysql -X -opengl
=dev-lang/php-4* mysql -X -opengl
=dev-lang/php-5* mysql -X -opengl

In package.use

Doing emerge -up dev-lang/php
or
emerge -up =dev-lang/php-4*

Wants to install X, which I dont need as its a server box.

Any pointers? The best way to install either PHP4 or PHP5 with no X or similar components.
_________________
Dave
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Wed Feb 22, 2006 3:04 pm    Post subject: Reply with quote

Quote:
Doing emerge -up dev-lang/php
or
emerge -up =dev-lang/php-4*

Wants to install X, which I dont need as its a server box.


why don't you just post the output of those commands?
_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
AllenJB
Veteran
Veteran


Joined: 02 Sep 2005
Posts: 1285
Location: Ashford, Kent

PostPosted: Wed Feb 22, 2006 3:43 pm    Post subject: Reply with quote

PHP pulls in many libraries, some of which may have non-optional dependencies on X. You can add -vt (--verbose --tree) to your emerge command (in combination with --ask or --pretend) and it will show you what keywords affect what packages, and also the tree of dependencies. From this you can fine-tune your setup using keywords.

As well as -X you might want to start with "-opengl -kde -qt -gnome -gtk" as these are some common dependencies which can result in X being installed.

Allen
_________________
http://gentoo-wiki.com :: http://lug.org.uk :: http://www.linux.org/groups/ :: User Blogs
Back to top
View user's profile Send private message
Dw2k
n00b
n00b


Joined: 28 Sep 2003
Posts: 5
Location: UK

PostPosted: Wed Feb 22, 2006 3:45 pm    Post subject: Reply with quote

Sure.

emerge -pv =dev-lang/php-4*

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] app-admin/php-toolkit-1.0-r2 0 kB
[ebuild N ] app-text/aspell-0.50.5-r4 +gpm 992 kB
[ebuild N ] media-libs/freetype-2.1.9-r1 -bindist -doc +zlib 0 kB
[ebuild N ] dev-libs/libmcrypt-2.5.7 511 kB
[ebuild N ] media-libs/libpng-1.2.8 -doc 0 kB
[ebuild N ] x11-base/opengl-update-2.2.4 38 kB
[ebuild N ] media-libs/fontconfig-2.2.3 0 kB
[ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 0 kB
[ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 44,697 kB
[ebuild N ] virtual/x11-6.8 0 kB
[ebuild N ] media-libs/t1lib-5.0.2 +X -doc 1,657 kB
[ebuild N ] app-arch/rpm2targz-9.0-r3 0 kB
[ebuild N ] sys-apps/utempter-0.5.5.6 20 kB
[ebuild N ] x11-terms/xterm-207 -Xaw3d -doc -toolbar +truetype -unicode 727 kB
[ebuild N ] dev-db/unixODBC-2.2.11-r1 -gnome -qt 2,350 kB
[ebuild N ] sys-apps/ed-0.2-r6 181 kB
[ebuild N ] dev-db/mysql-4.1.14 +berkdb -big-tables -cluster -debug -doc -extraengine -geometry -minimal +perl +readline (-selinux) +ssl -static +tcpd -utf8 16,724 kB
[ebuild N ] dev-perl/Net-Daemon-0.38 -minimal 30 kB
[ebuild N ] perl-core/Storable-2.15 -minimal 159 kB
[ebuild N ] virtual/perl-Storable-2.15 0 kB
[ebuild N ] dev-perl/PlRPC-0.2018 -minimal 17 kB
[ebuild N ] dev-perl/DBI-1.48 -minimal 369 kB
[ebuild N ] dev-perl/DBD-mysql-2.9007 -minimal 114 kB
[ebuild U ] sys-devel/m4-1.4.3 [1.4.2-r1] +nls 298 kB
[ebuild U ] sys-devel/automake-1.9.6-r1 [1.9.5] 747 kB
[ebuild N ] net-mail/mailbase-1 +pam 0 kB
[ebuild N ] mail-mta/ssmtp-2.61 +ipv6 -mailwrapper -md5sum +ssl 0 kB
[ebuild N ] dev-lang/php-4.4.1-r3 -adabas -apache +apache2 -bcmath +berkdb -birdstep +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype -curl -db2 -dba -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif +expat -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd -gd-external +gdbm -gmp -hardenedphp -hyperwave-api -iconv -imap -informix -inifile -interbase -iodbc +ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql +mysql +ncurses +nls -oci8 -oci8-instant-client +odbc -oracle7 -overload -ovrimos -pcntl -pcre -pfpro -pic -posix -postgres +readline -recode -sapdb -session -sharedext -sharedmem -snmp -sockets -solid +spell -sqlite +ssl -sybase -sybase-ct -sysvipc -threads -tiff -tokenizer +truetype -wddx -xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,072 kB

Total size of downloads: 73,710 kB
_________________
Dave
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Feb 22, 2006 6:59 pm    Post subject: Reply with quote

Please see this FAQ: https://forums.gentoo.org/viewtopic-t-53808.html

Moved from Portage & Programming to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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