[MacPorts] #24310: python26 does not provide _bsddb

MacPorts noreply at macports.org
Tue Oct 19 13:41:53 PDT 2010


#24310: python26 does not provide _bsddb
----------------------------------+-----------------------------------------
 Reporter:  guy.linton@…          |       Owner:  mcalhoun@…           
     Type:  defect                |      Status:  new                  
 Priority:  Normal                |   Milestone:                       
Component:  ports                 |     Version:  1.8.2                
 Keywords:                        |        Port:  python26             
----------------------------------+-----------------------------------------

Comment(by elelay@…):

 hi,
 jumping into this because I would like to test gramp...

 I can't have the _bsddb.so module built with python26 @2.6.6_0+no_tkinter.
 I'm on 10.4.11 ppc G4 XCode 2.5 and uninstalled db46 python26 and then
 reinstalled this afternoon, with no success.

 running sudo port -d destroot python26, this is what I found :
 {{{
 Failed to find the necessary bits to build these modules:
 _bsddb             linuxaudiodev      ossaudiodev
 spwd               sunaudiodev
 To find the necessary bits, look in setup.py in detect_modules() for the
 module's name.
 }}}

 So bsddb46 is not found.
 To my mind, it is due to [this change
 http://svn.python.org/view/python/trunk/setup.py?r1=63718&r2=63742],
 because in the list of working architectures there isn't "Power
 Macintosh", so setup.py ignores the installed db46. The change dates back
 to april, so it wasn't there in the version of python Guy tried. Overwise
 I don't understand how he managed to build _bsddb.so

 Indeed, when I edit setup.py line 805 to add 'Power Macintosh' like this :
 {{{
                 if arch not in ('i386', 'i486', 'i586', 'i686',
                                 'x86_64', 'ia64', 'Power Macintosh'):
 }}}
 _bsddb.so is built. I'll test some more and provide a patch.

-- 
Ticket URL: <https://trac.macports.org/ticket/24310#comment:18>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list