Re: FreeBSD 5.3 and BIND9 problems!

2004-12-21 Thread O. Hartmann
O. Hartmann schrieb:
Daniel Bye schrieb:
On Sun, Dec 19, 2004 at 03:26:26PM +0100, O. Hartmann wrote:
 

Dear Sirs.
Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection 
and PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
(cvsupdated and rebuilt today!) with an error that seems to be BIND9 
specific:

ext/standard/dns.lo(.text+0x1d49): In function `.L166':
: undefined reference to `res_ninit'
ext/standard/dns.lo(.text+0x1db5): In function `.L166':
: undefined reference to `res_nmkquery'
ext/standard/dns.lo(.text+0x1de7): In function `.L166':
: undefined reference to `res_nsend'
ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
: undefined reference to `res_nclose'
I searched the web and mailing lists for this problem and I found 
out, that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I 
know, FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling 
the expected way? /usr/include/resolv.h does not have any 
definitions for the above mentioned routines and it seems to be a 
'weird' failure, maybe something I missed when installing 'world'?
  

You don't by any chance have NO_BIND set in /etc/make.conf?  I've been
caught out by a similar failure in the past...
Dan
 

NO_BIND isn't set as it wasn't set before.
I checked the installed /usr/include/resolv.h again and found that no 
one of the missing
routines shown above are within this include file, so it seemes to me 
strange ...

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
All right, maybe this is of suitable help:
This is a port of the ./configure output, when configurte checks system 
properties:

checking for res_nmkquery... no
checking for __res_nmkquery... no
checking for res_nmkquery in -lresolv... no
checking for __res_nmkquery in -lresolv... no
checking for res_nmkquery in -lbind... no
checking for __res_nmkquery in -lbind... yes
checking for res_nsend... no
checking for __res_nsend... yes
checking for dn_expand... yes
Should this mean that the problem is a PHP5 problem?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 and BIND9 problems!

2004-12-21 Thread O. Hartmann
O. Hartmann schrieb:
O. Hartmann schrieb:
Daniel Bye schrieb:
On Sun, Dec 19, 2004 at 03:26:26PM +0100, O. Hartmann wrote:
 

Dear Sirs.
Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection 
and PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
(cvsupdated and rebuilt today!) with an error that seems to be 
BIND9 specific:

ext/standard/dns.lo(.text+0x1d49): In function `.L166':
: undefined reference to `res_ninit'
ext/standard/dns.lo(.text+0x1db5): In function `.L166':
: undefined reference to `res_nmkquery'
ext/standard/dns.lo(.text+0x1de7): In function `.L166':
: undefined reference to `res_nsend'
ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
: undefined reference to `res_nclose'
I searched the web and mailing lists for this problem and I found 
out, that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I 
know, FreeBSD 5.3 definitely has BIND9, but why is PHP not 
compiling the expected way? /usr/include/resolv.h does not have any 
definitions for the above mentioned routines and it seems to be a 
'weird' failure, maybe something I missed when installing 'world'?
  

You don't by any chance have NO_BIND set in /etc/make.conf?  I've been
caught out by a similar failure in the past...
Dan
 

NO_BIND isn't set as it wasn't set before.
I checked the installed /usr/include/resolv.h again and found that no 
one of the missing
routines shown above are within this include file, so it seemes to me 
strange ...

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

All right, maybe this is of suitable help:
This is a port of the ./configure output, when configurte checks 
system properties:

checking for res_nmkquery... no
checking for __res_nmkquery... no
checking for res_nmkquery in -lresolv... no
checking for __res_nmkquery in -lresolv... no
checking for res_nmkquery in -lbind... no
checking for __res_nmkquery in -lbind... yes
checking for res_nsend... no
checking for __res_nsend... yes
checking for dn_expand... yes
Should this mean that the problem is a PHP5 problem?

Shorthand solution: renaming all the missing routines in 
ext/standard/dns.c with a preceding '__' - and
it works! This job should be done via autoconf, but it doesn't ...

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.3 and BIND9 problems!

2004-12-20 Thread Daniel Bye
On Sun, Dec 19, 2004 at 03:26:26PM +0100, O. Hartmann wrote:
 Dear Sirs.
 Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection and 
 PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
 (cvsupdated and rebuilt today!) with an error that seems to be BIND9 
 specific:
 
 ext/standard/dns.lo(.text+0x1d49): In function `.L166':
 : undefined reference to `res_ninit'
 ext/standard/dns.lo(.text+0x1db5): In function `.L166':
 : undefined reference to `res_nmkquery'
 ext/standard/dns.lo(.text+0x1de7): In function `.L166':
 : undefined reference to `res_nsend'
 ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
 : undefined reference to `res_nclose'
 
 I searched the web and mailing lists for this problem and I found out, 
 that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I know, 
 FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling the 
 expected way? /usr/include/resolv.h does not have any definitions for 
 the above mentioned routines and it seems to be a 'weird' failure, maybe 
 something I missed when installing 'world'?

You don't by any chance have NO_BIND set in /etc/make.conf?  I've been
caught out by a similar failure in the past...

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp1FMqjOURW0.pgp
Description: PGP signature


Re: FreeBSD 5.3 and BIND9 problems!

2004-12-20 Thread O. Hartmann
Daniel Bye schrieb:
On Sun, Dec 19, 2004 at 03:26:26PM +0100, O. Hartmann wrote:
 

Dear Sirs.
Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection and 
PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
(cvsupdated and rebuilt today!) with an error that seems to be BIND9 
specific:

ext/standard/dns.lo(.text+0x1d49): In function `.L166':
: undefined reference to `res_ninit'
ext/standard/dns.lo(.text+0x1db5): In function `.L166':
: undefined reference to `res_nmkquery'
ext/standard/dns.lo(.text+0x1de7): In function `.L166':
: undefined reference to `res_nsend'
ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
: undefined reference to `res_nclose'
I searched the web and mailing lists for this problem and I found out, 
that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I know, 
FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling the 
expected way? /usr/include/resolv.h does not have any definitions for 
the above mentioned routines and it seems to be a 'weird' failure, maybe 
something I missed when installing 'world'?
   

You don't by any chance have NO_BIND set in /etc/make.conf?  I've been
caught out by a similar failure in the past...
Dan
 

NO_BIND isn't set as it wasn't set before.
I checked the installed /usr/include/resolv.h again and found that no 
one of the missing
routines shown above are within this include file, so it seemes to me 
strange ...

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.3 and BIND9 problems!

2004-12-19 Thread O. Hartmann
Dear Sirs.
Compiling PHP 5.0.3 from PHP.NET, PHP 5.0.2 from ./ports collection and 
PHP5-SNAP from php.net fail in compiling in FreeBSD 5.3-STABLE 
(cvsupdated and rebuilt today!) with an error that seems to be BIND9 
specific:

ext/standard/dns.lo(.text+0x1d49): In function `.L166':
: undefined reference to `res_ninit'
ext/standard/dns.lo(.text+0x1db5): In function `.L166':
: undefined reference to `res_nmkquery'
ext/standard/dns.lo(.text+0x1de7): In function `.L166':
: undefined reference to `res_nsend'
ext/standard/dns.lo(.text+0x1f6a): In function `.L166':
: undefined reference to `res_nclose'
I searched the web and mailing lists for this problem and I found out, 
that PHP won't compile when FreeBSD 5.x lacks in BIND9. As I know, 
FreeBSD 5.3 definitely has BIND9, but why is PHP not compiling the 
expected way? /usr/include/resolv.h does not have any definitions for 
the above mentioned routines and it seems to be a 'weird' failure, maybe 
something I missed when installing 'world'?

PHP5.0.2 built without problems in FreeBSD 5.2.1 and FreeBSD 
5.3-RELEASE-p1, but not in FreeBSD 5.3-STABLE. Some suggestions?

Thanks in advance,
Oliver
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]