[MacPorts] #19380: missing dependency in wxWidgets

MacPorts noreply at macports.org
Mon Apr 20 11:05:46 PDT 2009


#19380: missing dependency in wxWidgets
----------------------------------------+-----------------------------------
 Reporter:  laurent.perrinet@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.8.0                                
 Keywords:                              |        Port:                                       
----------------------------------------+-----------------------------------
 while compiling py26-wxpython, wxWidgets failed to build:

 {{{
 $ sudo port install py26-wxpython

 (....)

 ld: library not found for -lwx_macu-2.8
 collect2: ld returned 1 exit status
 make: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.10/build/lib/libwx_macu_gl-2.8.0.6.0.dylib]
 Error 1
 make: *** Waiting for unfinished jobs....
 (cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets/work/wxWidgets-2.8.10/build/lib/;
 rm -f libwx_macu-2.8.dylib libwx_macu-2.8.0.dylib; ln -s
 libwx_macu-2.8.0.6.0.dylib libwx_macu-2.8.0.dylib; ln -s
 libwx_macu-2.8.0.dylib libwx_macu-2.8.dylib)

 Error: The following dependencies failed to build: wxWidgets
 Error: Status 1 encountered during processing.
 }}}

 so one (dirty) solution is to build the missing wxgtk library

 {{{
 $ sudo port install wxgtk
 }}}

 and then to restart compiling py26-wxpython

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


More information about the macports-tickets mailing list