Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6180 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44353 invoked by uid 1010); 4 Dec 2003 07:41:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44318 invoked from network); 4 Dec 2003 07:41:07 -0000 Received: from unknown (HELO smtp1.pp.htv.fi) (212.90.64.119) by pb1.pair.com with SMTP; 4 Dec 2003 07:41:07 -0000 Received: from localhost.localdomain (cs181008.pp.htv.fi [213.243.181.8]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 6B2F97FEF4; Thu, 4 Dec 2003 09:41:06 +0200 (EET) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id hB47f6ZK006085; Thu, 4 Dec 2003 09:41:06 +0200 Date: Thu, 4 Dec 2003 09:41:06 +0200 (EET) Reply-To: Jani Taskinen To: John Huntjens Cc: internals@lists.php.net In-Reply-To: <20031204072143.9861.qmail@pb1.pair.com> Message-ID: References: <20031204072143.9861.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] build gd and zlib From: sniper@iki.fi (Jani Taskinen) The build doesn't fail, only configure. Big difference.. Use --with-zlib-dir. --Jani On Thu, 4 Dec 2003, John Huntjens wrote: >Hello group, > >building with options > > --with-zlib=shared,/usr \ > --with-gd=shared \ > >fails > >configure:30085: gcc -o >conftest -g -O2 -Wl,-rpath,/usr/local/libxml/lib -L/usr/local/libxml/lib - >lz conftest.c -lpng -lresolv -lm -ldl -lnsl -lxml2 -lm -lxml2 -lm 1>&5 >/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3/../../../libpng.a(pngwrite.o): In >function `png_write_flush': >pngwrite.o(.text+0x115c): undefined reference to `deflate' > >while > > --with-zlib=/usr \ > --with-gd=shared \ > >suceeds. > >Gr, > >JOhn > >