Damian Dimmich wrote:
> Hi,
>
> The latest php5 .info file fails to build on my system - running intel/10.5
>
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:51:28:
> error: bind/arpa/inet.h: No such file or directory
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:53:24:
> error: bind/netdb.h: No such file or directory
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:59:31:
> error: bind/arpa/nameser.h: No such file or directory
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:62:25:
> error: bind/resolv.h: No such file or directory
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c: In
> function 'php_gethostbyaddr':
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:161:
> warning: assignment makes pointer from integer without a cast
> /sw/src/fink.build/php5-5.2.6-4/php-5.2.6/ext/standard/dns.c:163:
> warning: assignment makes pointer from integer without a cast
>
> The headers in question seem to belong to the bind package.
>
> 'fink list bind' gives:
>
> Information about 7923 packages read in 2 seconds.
>      bind9                    9.5.999-3          Berkeley Internet Name
> Domain
>  p   bind9-dev                                   [virtual package]
>  p   bind9-shlibs                                [virtual package]
>      bind9-ssl                9.5.999-3          Berkeley Internet Name
> Domain
>  i   bind9-ssl-dev            9.5.999-3          Berkeley Internet Name
> Domain
>  i   bind9-ssl-shlibs         9.5.999-3          Berkeley Internet Name
> Domain
>      libbind6                 5.999-3            Berkeley Internet Name
> Domain
>      libbind6-dev             5.999-3            Berkeley Internet Name
> Domain
>      webmin-bind              1.270-1            Webmin module: BIND DNS
> Server
>
> so in theory I should have the correct headers.
>
> Looking in /sw/include/ I only have a 'bind9' directory, as opposed to a
> 'bind'.
> This only contains the following headers: check.h        
> getaddresses.h  version.h
> and none of the ones php is looking for...
>
> Any ideas/suggestions?
>
> Thanks!
> Damian
>
>   
What does the output line before these messages say?

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to