[Xapian-tickets] [Xapian] #322: Bindings build problem on OS X

Xapian nobody at xapian.org
Fri Oct 22 03:56:45 BST 2010


#322: Bindings build problem on OS X
--------------------------------------+-------------------------------------
 Reporter:  tommortimer               |       Owner:  richard  
     Type:  defect                    |      Status:  new      
 Priority:  normal                    |   Milestone:  1.2.4    
Component:  Xapian-bindings (Python)  |     Version:  SVN trunk
 Severity:  normal                    |    Keywords:           
Blockedby:                            |    Platform:  Mac OS X 
 Blocking:                            |  
--------------------------------------+-------------------------------------
Changes (by olly):

  * milestone:  1.2.x => 1.2.4


Comment:

 Thinking about this some more, the issue here is caused by us going behind
 libtool's back, and copying _xapian.so from the .libs subdirectory.

 Perhaps we ought to take the libtool-supported route to this (which is
 what we currently do for Java) and use something like this:

 PYTHONPATH="xapian:$PYTHONPATH" ../libtool --mode=execute -dlopen
 _xapian.la python -c 'import _xapian'

 Does that work on OS X?

 Marking for 1.2.4 - if this approach works, we should apply it for the
 next release.

-- 
Ticket URL: <http://trac.xapian.org/ticket/322#comment:8>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list