[MacPorts] #26734: OpenSceneGraph 2.8.3 installation on Mac OS X 10.6 Snow Leopard - Building Failed

MacPorts noreply at macports.org
Tue Oct 5 12:25:24 PDT 2010


#26734: OpenSceneGraph 2.8.3 installation on Mac OS X 10.6 Snow Leopard - Building
Failed
------------------------------------+---------------------------------------
 Reporter:  huangpeng723@…          |       Owner:  ryandesign@…           
     Type:  defect                  |      Status:  new                    
 Priority:  Normal                  |   Milestone:                         
Component:  ports                   |     Version:  1.9.1                  
 Keywords:                          |        Port:  OpenSceneGraph         
------------------------------------+---------------------------------------

Comment(by huangpeng723@…):

 I have worked around this by disable ffmpeg:
 {{{
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenSceneGraph/work/OpenSceneGraph-2.8.3
 }}}
 edit CMakeLists.txt (comment following out)
 {{{
 ...
 #FIND_PACKAGE(FFmpeg)
 ...
 }}}
 Run make manually
 {{{
 sudo make
 }}}
 Finally
 {{{
 cd ~
 sudo port install OpenSceneGraph
 }}}
 If you meet the same situation with me like follows:
 {{{
 10:~ peng$ sudo port install openscenegraph
 --->  Computing dependencies for OpenSceneGraph
 --->  Activating OpenSceneGraph @2.8.3_0
 Error: Target org.macports.activate returned: Image error:
 /opt/local/lib/libOpenThreads.11.dylib already exists and does not belong
 to a registered port.  Unable to activate port OpenSceneGraph. Use 'port
 -f activate OpenSceneGraph' to force the activation.
 Log for OpenSceneGraph is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_OpenSceneGraph/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}
 delete conflicted files
 {{{
 sudo rm /opt/local/lib/libosg*
 }}}
 and run make again
 {{{
 sudo make
 }}}
 Done
 {{{
 10:~ peng$ sudo port install openscenegraph
 --->  Computing dependencies for OpenSceneGraph
 --->  Activating OpenSceneGraph @2.8.3_0
 --->  Cleaning OpenSceneGraph
 }}}

 But I still have no idea how to fix ffmpeg, hopefully, I will not need
 that when I am using osg..

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


More information about the macports-tickets mailing list