Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57572 - gd in mod_php5 has no jpeg or ttf support
Summary: gd in mod_php5 has no jpeg or ttf support
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
Depends on:
Blocks: 56963
  Show dependency tree
Reported: 2004-07-19 06:42 UTC by Rumba
Modified: 2004-07-21 08:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rumba 2004-07-19 06:42:16 UTC
The mod_php5 ebuild doesn't add support for jpeg and ttf. The switches for these options are --with-jpeg-dir=/usr and --with-truetype-dir=/usr

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-07-19 15:22:29 UTC
you neglected to provide `emerge info`
Comment 2 Tobias Luetke 2004-07-19 16:14:24 UTC

Calculating dependencies ...done!
[ebuild   R   ] dev-php/mod_php-5.0.0  -adabas +apache2 -bcmath +berkdb -birdstep -bzlib -calendar -cdb -cpdflib +crypt -ctype +curl -curlwrappers -db2 -dba -dbase -dbmaker -dbx -debug -dio -empress -empress-bcs -esoob -exif -fam -fdftk -filepro -flatfile -frontbase -ftp +gd +gd-external -gdbm -gmp -hyperwave-api -iconv +imap -informix -ingres -inifile -interbase -iodbc -kerberos -ldap -libedit -mcve -mhash -ming -mnogosearch -msession -msql -mssql +mysql +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos -pcntl -pcre -pfpro -posix +postgres -qdbm +readline -recode -sapdb -sasl +session -shared -shared +simplexml -snmp -soap -sockets -solid +spell -spl +sqlite +ssl +ssl +ssl -sybase -sybase-ct -sysvipc -tidy -tokenizer +truetype -wddx +xml2 -xmlrpc -xsl +zlib  0 kB

mod_php was compiled like this :

'./configure' '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-apxs2=/usr/sbin/apxs2' '--with-config-file-path=/etc/php/apache2-php5' '--without-pear' '--disable-bcmath' '--without-bz2' '--disable-calendar' '--without-cpdflib' '--disable-ctype' '--with-curl' '--without-curlwrappers' '--disable-dbase' '--disable-dbx' '--disable-dio' '--disable-exif' '--without-fam' '--without-fbsql' '--without-fdftk' '--disable-filepro' '--disable-ftp' '--with-gettext' '--without-gmp' '--without-hwapi' '--without-iconv' '--without-informix' '--without-ingres' '--without-interbase' '--enable-mbstring' '--with-mcrypt' '--without-mcve' '--without-mhash' '--without-ming' '--without-mnogosearch' '--without-msql' '--without-mssql' '--with-ncurses' '--without-oci8' '--without-oracle' '--with-openssl' '--without-ovrimos' '--without-pcre-regx' '--without-pfpro' '--with-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--without-snmp' '--disable-soap' '--disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--without-tidy' '--disable-tokenizer' '--disable-wddx' '--without-xsl' '--without-xmlrpc' '--disable-yp' '--with-zlib' '--with-gd' '--enable-gd-jis-conf' '--enable-gd-native-ttf' '--with-imap' '--without-kerberos' '--with-imap-ssl' '--with-mysql' '--without-msession' '--enable-sqlite-utf8' '--disable-dba' '--with-readline' '--without-libedit'

missing --with-jpeg-dir=/usr and --with-truetype-dir=/usr 

php error (example):

Fatal error: Call to undefined function imagejpeg() in /home/tobi/ on line 2

Comment 3 SpanKY gentoo-dev 2004-07-20 16:16:34 UTC
i confirmed this with stuart ... he said he has a working version which he'll release once he cleans it up
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-07-21 03:45:16 UTC
Okay, I've just committed an updated php5-sapi.eclass which fixes internal GD support.  It will arrive on your local rsync mirror in about an hour.  To test it, you will need to re-merge your PHP 5 package(s).

Best regards,
Comment 5 Rumba 2004-07-21 05:49:12 UTC

The ebuild now correctly picks up the jpeg use flag.

I think the next bug status should be verified... please correct if I'm mistaking.

thanks a bunch
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2004-07-21 08:37:53 UTC
Thanks for testing that.  Closing bug.