In general we don't allow packages to pick and choose between  
different header/library packages, unless the libraries are the same  
(same install_name), because that can produce breakage at runtime.

Updates to packages are supposed to be made in a such a way such that  
existing packages still build properly, but that doesn't always work  
out.


On Mar 6, 2009, at 4:34 AM, Damian Dimmich wrote:

> Hi,
>
> Installing libbind6-dev fixes the issue, although that sounds like a
> workaround not a fix - I'm guessing it should be possible to have php5
> compile with either of the libbind versions?
>
> Cheers,
> Damian
>


> Damian Dimmich wrote:
>> Hi - Thanks for the suggestion,
>>
>> That certainly adds the missing header files, would it make sense to
>> make libbind6-dev a dependency of php instead of libbind9-dev which  
>> is
>> currently the case?  That - or see if the bind9 install is
>> broken/missing files?
>>
>> I'll let you know how the build goes.
>>
>> Cheers,
>> Damian
>>
>>
>>
>> Alexander Hansen wrote:
>>
>>> For what it's worth, I tried rebuilding php5 in the presence of
>>> libbind6-dev, and it still worked for me (10.5.6/Intel).
>>>
>>> TheSin wrote:
>>>
>>>
>>>> I woudl assume the files required are in libbind6-dev since that  
>>>> pkg
>>>> just dramatically changed.  I'll have to look into this.
>>>> ---
>>>> TS
>>>> http://southofheaven.org/
>>>> Chaos is the beginning and end, try dealing with the rest.
>>>>
>>>> On 5-Mar-09, at 2:53 PM, Alexander Hansen wrote:
>>>>
>>>>
>>>>
>>>>> 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?
>>>>>
>>>>>
>>>>>
>>>
>>>
>>
>>

------------------------------------------------------------------------------
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