From owner-freebsd-ports Sun Aug 29 10: 2:24 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B2429156C1 for ; Sun, 29 Aug 1999 10:02:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA06450; Sun, 29 Aug 1999 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (Postfix) with ESMTP id 81FB7156C1 for ; Sun, 29 Aug 1999 09:58:39 -0700 (PDT) (envelope-from will@shadow.blackdawn.com) Received: from 5042-243.008.popsite.net ([209.224.140.243] helo=shadow.blackdawn.com) by neptune.psn.net with esmtp (PSN Internet Service 2.12 #3) for FreeBSD-gnats-submit@freebsd.org id 11L8Hg-0007BB-00; Sun, 29 Aug 1999 09:58:25 -0700 Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id MAA62248; Sun, 29 Aug 1999 12:58:06 -0400 (EDT) (envelope-from will) Message-Id: <199908291658.MAA62248@shadow.blackdawn.com> Date: Sun, 29 Aug 1999 12:58:06 -0400 (EDT) From: Will Andrews Reply-To: Will Andrews To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13454: www/apache13-php4 port gd dependency broken Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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