Jump to content

[SOLVED] Gentoo what USE flag do I need for graphics support?


jordanwb

Recommended Posts

I don't believe there is a gd flag. The easiest way to see what flags you need to is do a pretend emerge (been a while since Iv'e used gentoo but I believe emerge -pv php5 should do it), this will show you what flags enable what.

Link to comment
Share on other sites

Close, thorpe - just a minor change to the package name. emerge -pv php shows me this:

 

$ emerge -pv php

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/php-5.2.6-r2  USE="apache2 berkdb bzip2 cjk cli crypt exif ftp gd gdbm iconv imap ipv6 json mysql ncurses nls pcre posix postgres readline reflection 
session simplexml soap spl sqlite ssl truetype unicode xml xmlreader xmlwriter zip zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -concurrentmodphp -ctype -curl 
-curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase 
-gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client 
-odbc -pcntl -pdo -pic -qdbm -recode -sapdb -sharedext -sharedmem -snmp -sockets -solid -spell -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx 
-xmlrpc -xpm -xsl -yaz -zip-external" 0 kB

 

The "gd" flag is indeed the one you want, but I'm not sure if you need it. I think that just adds support for external GD, and disables PHP's bundled GD.

Link to comment
Share on other sites

All right then I'll put gd in. Also for the $_SESSION superglobal there is a use flag called "session" with the description of "Adds Persistent Session Support", does this flag enable the $_SESSION superglobal or is this something different.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.