[MacPorts] #24503: Upgrade opencv from 2.0.0 to 2.1.0

MacPorts noreply at macports.org
Mon Aug 2 13:41:36 PDT 2010


#24503: Upgrade opencv from 2.0.0 to 2.1.0
--------------------------------+-------------------------------------------
 Reporter:  dersh@…             |       Owner:  stante@…        
     Type:  update              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:                  
 Keywords:                      |        Port:  opencv          
--------------------------------+-------------------------------------------

Comment(by josharian@…):

 Replying to [comment:18 stromnov@…]:
 > Replying to [comment:16 josharian@…]:
 > > Tried this on my MPB 15" late 2009, 10.6.4, with variants +debug and
 +python26. The core installation went great and works. The python adapter
 appears to install cleanly (no complaints during install), but doesn't
 work:
 > >
 > > python
 > > >>> import cv
 > > Fatal Python error: Interpreter not initialized (version mismatch?)
 > > Abort trap
 > >
 > > This is python 2.6 installed through macports and selected via
 python_select.
 >
 > Please, provide output of
 > {{{
 > otool -L
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/cv.so
 > }}}

 {{{
 $ otool -L
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/cv.so
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/cv.so:
         /opt/local/lib/cv.so (compatibility version 0.0.0, current version
 0.0.0)
         /System/Library/Frameworks/Python.framework/Versions/2.6/Python
 (compatibility version 2.6.0, current version 2.6.1)
         /opt/local/lib/libcxcore.2.1.dylib (compatibility version 2.1.0,
 current version 2.1.0)
         /opt/local/lib/libcv.2.1.dylib (compatibility version 2.1.0,
 current version 2.1.0)
         /opt/local/lib/libcvaux.2.1.dylib (compatibility version 2.1.0,
 current version 2.1.0)
         /opt/local/lib/libhighgui.2.1.dylib (compatibility version 2.1.0,
 current version 2.1.0)
         /opt/local/lib/libml.2.1.dylib (compatibility version 2.1.0,
 current version 2.1.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.9.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 123.0.0)
 }}}

 That /System/Library... bit looked suspicious, so I went ahead and
 confirmed that I am running the MacPorts python...

 {{{
 $ which python
 /opt/local/bin/python
 $ python_select -s
 python26
 $ python -V
 Python 2.6.5
 $ python -vv
 [snip]
 >>> import cv
 [snip]
 # trying
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/cv.so
 dlopen("/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/cv.so", 2);
 Fatal Python error: Interpreter not initialized (version mismatch?)
 Abort trap
 }}}

 That's all I could think of offhand. I'd be more than happy to provide any
 other info that might be helpful.

 > > Also, shouldn't it be python 2.7 now? :)
 > I'm waiting for 2.7.1 or 2.7.2. :)
 Fair enough. :)

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


More information about the macports-tickets mailing list