Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 21:52:46 -0500
From:      CHris Rich <freebsdnews@gmail.com>
To:        Xander Damen <xdamen@sci.kun.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: php5 port compile problem
Message-ID:  <8292450b04102919526837b66d@mail.gmail.com>
In-Reply-To: <001501c4bdfd$184afe40$0200000a@bavaria>
References:  <200410290603.i9T63JiP072834@app.auscert.org.au> <001501c4bdfd$184afe40$0200000a@bavaria>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@auscert.org.au>
> To: <freebsd-stable@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@auscert.org.au
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> >
> >
> 
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8292450b04102919526837b66d>