From owner-freebsd-stable@FreeBSD.ORG Thu Nov 4 04:39:19 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADE0516A4CE for ; Thu, 4 Nov 2004 04:39:19 +0000 (GMT) Received: from titania.auscert.org.au (gw.auscert.org.au [203.5.112.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id B841043D3F for ; Thu, 4 Nov 2004 04:39:18 +0000 (GMT) (envelope-from freebsd-stable@auscert.org.au) Received: from app.auscert.org.au (app [10.0.1.192])iA44a56t021472 for ; Thu, 4 Nov 2004 14:36:05 +1000 (EST) Received: from app.auscert.org.au (localhost [127.0.0.1]) by app.auscert.org.au (8.12.10/8.12.10) with ESMTP id iA44dGiP026288 for ; Thu, 4 Nov 2004 14:39:17 +1000 (EST) Message-Id: <200411040439.iA44dGiP026288@app.auscert.org.au> To: freebsd-stable@freebsd.org From: freebsd-stable@auscert.org.au Date: Thu, 04 Nov 2004 14:39:16 +1000 Subject: php5 port compile problem (start again) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 04:39:19 -0000 Hi, When I last asked about problems portinstalling php5 I was given this advice: > When compiling php 5 recently here is what i had to do.... > i used the port in /usr/ports/lang/php5-extensions it gives you > options for what kind of support you want (socket, ftp, etc) and it > also installs php. You will probably have to recompile apache as well > (I did) but it was the best way i could get it to work. and > What I found was that you need bind9 for php5, so install bind9 and your > problem is solved. I found that trying to install the php5-extensions it failed in the same place during php5 compilation so, biting the bullet, I installed the bind9 port today - but no luck! Note that I tried with the php5-cgi port this time: ext/standard/dns.o(.text+0x1a36): In function `zif_dns_get_record': : undefined reference to `res_ninit' ext/standard/dns.o(.text+0x1a9c): In function `zif_dns_get_record': : undefined reference to `res_nmkquery' ext/standard/dns.o(.text+0x1ace): In function `zif_dns_get_record': : undefined reference to `res_nsend' ext/standard/dns.o(.text+0x1c5a): In function `zif_dns_get_record': : undefined reference to `res_nclose' *** Error code 1 Stop in /usr/ports/www/php5-cgi/work/php-5.0.2. *** Error code 1 Stop in /usr/ports/www/php5-cgi. Now what do I do? cheers, -- Joel Hatton -- Security Analyst | Hotline: +61 7 3365 4417 AusCERT - Australia's national CERT | Fax: +61 7 3365 7031 The University of Queensland | WWW: www.auscert.org.au Qld 4072 Australia | Email: auscert@auscert.org.au