BIND 10 #149: review: auto detect libpython fails for netbsd and linux (was: auto detect libpython fails for netbsd and linux)

BIND 10 Development do-not-reply at isc.org
Mon Apr 19 18:25:09 UTC 2010


#149: review: auto detect libpython fails for netbsd and linux
--------------------------+-------------------------------------------------
 Reporter:  jinmei        |        Owner:  jinmei
     Type:  defect        |       Status:  new   
 Priority:  minor         |    Milestone:        
Component:  Unclassified  |   Resolution:        
 Keywords:                |    Sensitive:  0     
--------------------------+-------------------------------------------------

Comment(by jinmei):

 I implemented this in the branches/trac149 branch.  Please review.

 Note: as I explained before, you don't have to checkout the whole branch
 for a quick check.  In many cases this should suffice:

 % cd trunk
 % svn update
 % svn switch svn+ssh://bind10.isc.org/svn/bind10/branches/trac149
 (try it)
 % svn switch svn+ssh://bind10.isc.org/svn/bind10/trunk

 Likewise, to see diff this should be sufficient:

 % svn diff svn+ssh://bind10.isc.org/svn/bind10/trunk
 svn+ssh://bind10.isc.org/svn/bind10/branches/trac149

 Replying to [ticket:149 jinmei]:
 > We currently use the result of "python*-config --ldflags" to identify
 the necessary ldflag (specifically a -L option) to build bind10 with
 libpython.
 >
 > Unfortunately it didn't work (at least some flavor of) NetBSD and Linux.
 This can be worked around by specifying LDFLAGS by hand before performing
 ./configure, but it's not intuitive.
 >
 > There doesn't seem to be a perfect solution to this problem out there,
 but we could introduce one more hack: using `python*-config --prefix`/lib.
 From a quick check this worked for Linux.  Should also be the case for
 NetBSD.

-- 
Ticket URL: <http://bind10.isc.org/ticket/149#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list