FBSD 8 php 52 extensions dependency on X11 ???

Amitabh Kant amitabhkant at gmail.com
Sat Nov 20 18:48:38 UTC 2010


On Sat, Nov 20, 2010 at 10:18 PM, Alejandro Imass <ait at p2ee.org> wrote:

> Hi,
>
> Whilst installing some (many) of the php 52 extensions in a jail I
> suddenly realized I was about to install X11 and a whole bunch of x11
> related deps.
> Would some kind soul explain to me which php 52 extension requires X11
> ??? Should it not say it EXPLICITLY??? !!!
>
> FreeBSD 8.0-RELEASE
> port: /usr/ports/lang/php52-extensions
>
> These are all the possible extension in this port:
>
> BCMATH BZ2 CALENDAR CTYPE CURL DBA DBASE DOM EXIF FILEINFO FILTER
> FRIBIDI FTP GD GETTEXT GMP HASH ICONV IMAP INTERBASE JSON LDAP
> MBSTRING MCRYPT MHASH MING MSSQL MYSQL MYSQLI NCURSES  ODBC OPENSSL
> PCNTL PCRE PDF PDO PDO_SQLITE PGSQL POSIX PSPELL READLINE RECODE
> SESSION SHMOP SIMPLEXML SNMP SOAP SOCKETS SPL SQLITE SYBASE_CT SYSVMSG
> SYSVSEM SYSVSHM TIDY TOKENIZER WDDX XML XMLREADER XMLRPC XMLWRITER XSL
> YAZ ZIP ZLIB
>
> Empirically I cant'see the connection but the depends list does. At
> first just by looking at the depends list it seems that only some X11
> libs are needed but the you see that it's actually installing
> xorg-vfbserver, a dependency of Xvfb in turn a dependency of
> accessibility/accerciser which seems to be a dependency of the ming
> flash extension. This I found just by chance, but IMHO if this is the
> case it should be CLEARLY noted in the ming extension comment!!!
>
> Also, is there another command or make option that would have warned
> me of the Xvfb or xorg dependencies??
>
> Many thanks in advance,
>
> --
> Alejandro Imass
>

Either use WITHOUT_X11=yes in your make line, or have WITHOUT_X11=yes in
your /etc/make.conf file beofre you run the make command. Can't help you
with generating correct dependency list though.

Regards

Amitabh Kant


More information about the freebsd-questions mailing list