Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 12:58:06 -0400 (EDT)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13454: www/apache13-php4 port gd dependency broken
Message-ID:  <199908291658.MAA62248@shadow.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         13454
>Category:       ports
>Synopsis:       www/apache13-php4 port gd dependency broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 29 10:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
none
>Environment:

FreeBSD shadow.blackdawn.com 3.2-STABLE FreeBSD 3.2-STABLE #0: Sat Aug 14 00:56:46 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

Hello. I have a problem with the apache13-php4 port. It looks like
the PHP module is depending on a newer version of gd than the ports
collection has:

gcc295 -DHARD_SERVER_LIMIT=512  -DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\"  -funsigned-char -DTARGET=\"apache\" -DMOD_SSL=204100 -I/usr/ports/www/apache13-p hp4/work/php-4.0b2 -I/usr/ports/www/apache13-php4/work/php-4.0b2/libzend -I/usr/ ports/www/apache13-php4/work/php-4.0b2/libzend -I/usr/ports/www/apache13-php4/wo rk/php-4.0b2 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-lite -O -pipe `./apaci`  -L/usr/local/lib  -Wl,-E  -o apache buildmark.o modules.o  modules/standard/libs tandard.a  modules/php4/libphp4.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a   lib/expat-lite/libexpat.a -L/usr/local/lib -R/usr/local/lib -R/usr/local/lib/m ysql -R/usr/local/pgsql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php 4 -lmodphp4 -L/usr/ports/www/apache13-php4/work/php-4.0b2/ext/pcre/pcrelib -lpcr e  -lgdbm -L/usr/local/lib -lgd -lttf -lmcrypt -lmhash -L/usr/local/lib/mysql -l mysqlclient     -L/usr/local/pgsql/lib -lpq -lpam -lz -lm -lcrypt  -rdynamic  -l crypt -lmm
modules/php4/libphp4.a(ext_gd_gd.o): In function `php3_imagecreatefromgif':
ext_gd_gd.o(.text+0x475): undefined reference to `gdImageCreateFromGif'
modules/php4/libphp4.a(ext_gd_gd.o): In function `php3_imagegif':
ext_gd_gd.o(.text+0xd76): undefined reference to `gdImageGif'
ext_gd_gd.o(.text+0xdcf): undefined reference to `gdImageGif'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

At first, I thought it was because of gcc 2.7.2.3, so I tried using
USE_NEWGCC / gcc 2.95.1, but that was not so.  This error is exactly the 
same as I got under gcc 2.95.1.

I checked for "gdImageGif" in /usr/local/include/gd/*, but none of the
header files had that anywhere. This is for gd 1.6.2. I checked out
the gd website (http://www.boutell.com/gd/) - it appears that the version
of gd (1.6.2) that is currently in the ports tree does not support GIF in
any manner or form.

Note: I have successfully compiled Apache 1.3.9 + PHP 4.0b2 + mod_ssl
2.4.0 with MySQL, PostgreSQL, mhash, and mcrypt support...:

*** /var/log/apache_error_log ***
[Sun Aug 29 12:50:04 1999] [notice] Apache/1.3.9 (FreeBSD) PHP/4.0B2 configured -- resuming normal operations

On another note, I will shortly be sending in a diff to udpate the gd port,
from version 1.6.2 to 1.6.3.

>How-To-Repeat:

Updated ports collection, then:

	# cd /usr/ports/www/apache13-php4 && make install

Subsequently, attempt to enable gd support in PHP.

>Fix:

What to do? Well - there are several options. We can either mark the
entire port broken, or just the gd part, like we have the pdflib and
IMAP parts.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908291658.MAA62248>