freebsd-stable@auscert.org.au
2004-Nov-03 20:39 UTC
php5 port compile problem (start again)
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