php5 port compile problem

CHris Rich freebsdnews at gmail.com
Fri Oct 29 19:52:53 PDT 2004


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.

This may not apply to what you are trying but I thought I'd throw in my 2 cents.


On Fri, 29 Oct 2004 23:20:20 +0200, Xander Damen <xdamen at sci.kun.nl> wrote:
> I know this problem! I encountered it a few months ago when php5 was this
> beta.
> 
> What I found was that you need bind9 for php5, so install bind9 and your
> problem is solved.
> 
> Greets,
> 
> Xander
> 
> 
> ----- Original Message -----
> From: <freebsd-stable at auscert.org.au>
> To: <freebsd-stable at freebsd.org>
> Sent: Friday 29 October 2004 8:03
> Subject: php5 port compile problem
> 
> > Hi,
> >
> > After a make update in /usr/src today (about an hour ago):
> >
> > ext/standard/dns.lo(.text+0x1c6c): In function `.L163':
> > : undefined reference to `res_ninit'
> > ext/standard/dns.lo(.text+0x1cd8): In function `.L163':
> > : undefined reference to `res_nmkquery'
> > ext/standard/dns.lo(.text+0x1d0a): In function `.L163':
> > : undefined reference to `res_nsend'
> > ext/standard/dns.lo(.text+0x1e9a): In function `.L163':
> > : undefined reference to `res_nclose'
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/php5/work/php-5.0.2.
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/php5.
> > ** Command failed [exit code 1]: /usr/bin/script -qa
> > /tmp/portinstall88483.0 make DEPENDS_TARGET=package
> > ** Fix the problem and try again.
> > ** Listing the failed packages (*:skipped / !:failed)
> >        ! lang/php5     (linker error)
> > --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> >
> > Hope this is the right place to bring this up?
> >
> > joel
> > --
> > 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 at auscert.org.au
> > _______________________________________________
> > freebsd-stable at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> >
> >
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


More information about the freebsd-stable mailing list