[MacPorts] #11283: BUG: php5 installation fails if bind9 is already installed

MacPorts trac at macosforge.org
Sun Dec 2 18:43:21 PST 2007


#11283: BUG: php5 installation fails if bind9 is already installed
------------------------------------------+---------------------------------
  Reporter:  sander at paralleldimension.nl  |       Owner:  ryandesign at macports.org
      Type:  defect                       |      Status:  new                    
  Priority:  High                         |   Milestone:  Port Bugs              
 Component:  ports                        |     Version:                         
Resolution:                               |    Keywords:                         
------------------------------------------+---------------------------------
Comment (by blb at macports.org):

 Attached a patch to configure that should deal with this.  Many of the
 changes are simply configure line number changes since I actually changed
 ext/standard/config.m4 to update the tests for res_nmkquery, res_nsend,
 and dn_expand to not look in libbind for them.  Regenerating configure
 then results in the patch attached here.

 Basically, the problem is that php checks for both res_nmkquery and
 !__res_nmkquery (via the PHP_CHECK_FUNC def) but the code in
 ext/standard/dns.c only uses res_nmkquery; libbind with the bind9 port
 only has !__res_nmkquery, hence the link errors.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/11283#comment:6>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list