From owner-freebsd-ports Sat Nov 23 9:52:32 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D19337B401; Sat, 23 Nov 2002 09:52:30 -0800 (PST) Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E793B43E9C; Sat, 23 Nov 2002 09:52:28 -0800 (PST) (envelope-from ady@freebsd.ady.ro) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id TAA60967; Sat, 23 Nov 2002 19:50:11 +0200 (EET) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Sat, 23 Nov 2002 19:50:11 +0200 (EET) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: Jens Rehsack Cc: dirk@FreeBSD.org, ports@FreeBSD.org Subject: Re: mod_php4 w/ GD support doesn't compile In-Reply-To: <3DDFBCEC.6040705@liwing.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, From what I tried it seems that "configure" forgets to send a "-L /usr/local/lib" parameter to gcc besides "-lintl" when compiling the test program. I don't know what further steps I should take to convince "configure" to use the -L parameter. $ gcc -lintl x.c -o x /usr/libexec/elf/ld: cannot find -lintl $ gcc -lintl -L /usr/local/lib x.c -o x $ ./x Contetns of x.c (taken from the configure script): char bindtextdomain(); int main() {bindtextdomain(); return 0; } PS: yes, I do have gettext-0.11.5_1 installed, which provides the libintl and bindtextdomain function. The system is a 4.7-STABLE from around mid-october. Other info, if really needed, can be offered. Thanks, Ady (@frebsd.ady.ro) ____________________________________________________________________ | An age is called Dark not because the light fails to shine, but | | because people refuse to see it. | | -- James Michener, "Space" | On Sat, 23 Nov 2002, Jens Rehsack wrote: > Adrian Penisoara wrote: > > Hi, > > > > It seems that configure doesn't recognize the presence of a function > > in libintl when mod_php is compile with GD v2 support: > > > > checking for GNU gettext support... yes > > checking for bindtextdomain in -lintl... no > > checking for bindtextdomain in -lc... no > > configure: error: Unable to find required gettext library > > ===> Script "configure" failed unexpectedly. > > Please report the problem to dirk@FreeBSD.org [maintainer] and > > attach the > > "/usr/ports/www/mod_php4/work/php-4.2.3/config.log" including the > > output > > of the failure of your make command. Also, it might be a good idea > > to > > provide an overview of all packages installed on your system (e.g. > > an `ls > > /var/db/pkg`). > > *** Error code 1 > > > > Stop in /usr/ports/www/mod_php4. > > *** Error code 1 > > > > Stop in /usr/ports/www/mod_php4. > > > > > > > > Regards, > > Ady (@freebsd.ady.ro) > > Is it allowed to ask for the content of the config.log file, the list of > your installed ports and an "uname -a" output? > > Thank you, > Jens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message