wxWidgets/libiconv @ loggerheads?

Jyrki Wahlstedt jwa at macports.org
Mon Apr 30 03:32:41 PDT 2007


Hi,
it seems there was a typo in the dirname. I modified wxWidgets-devel  
Portfile already, but it would be better to try:
configure.ldflags	-L${build.dir}/lib

(linker complaint in your trace is about not finding the 'libs'  
directory!)

On 30.4.2007, at 9.42, Nigel King wrote:

> I copied the line
> configure.env	LDFLAGS="-L${build.dir}/libs"
> from
> /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets- 
> devel/Portfile
> to
> /opt/local/var/db/dports/sources/ 
> rsync.rsync.darwinports.org_dpupdate_dports/graphics/wxWidgets/ 
> Portfile
> wxWidgets still fails to build with the trace below. Although still  
> complaining about __ZN10wxListCtrl8SetFocusEv this is not now  
> complaining about libiconv.
>
> Any suggestions?
>
> Thanks
>
> Nigel
>
>
> *****************
> --->  Building wxWidgets
> Error: Target com.apple.build returned: shell command "cd /opt/ 
> local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build && make -C  
> contrib/src/gizmos" returned error 2
> Command output: /usr/bin/g++-4.0 -dynamiclib -single_module - 
> headerpad_max_install_names -o /opt/local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/lib/ 
> libwx_macu_gizmos-2.8.0.1.1.dylib  gizmosdll_dynamicsash.o  
> gizmosdll_editlbox.o gizmosdll_ledctrl.o gizmosdll_multicell.o  
> gizmosdll_splittree.o gizmosdll_statpict.o -L/opt/local/var/db/ 
> dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/libs -L/opt/ 
> local/lib -L/opt/local/lib -framework QuickTime -framework IOKit - 
> framework Carbon -framework Cocoa -framework System    -L/opt/local/ 
> var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/lib - 
> install_name /opt/local/lib/libwx_macu_gizmos-2.8.0.dylib   - 
> compatibility_version 2.0 -current_version 2.1  -lz -lpthread - 
> liconv -lwx_macu-2.8       -lwxregexu-2.8  -L/opt/local/var/db/ 
> dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/libs -L/opt/ 
> local/lib -L/opt/local/lib -framework QuickTime -framework IOKit - 
> framework Carbon -framework Cocoa -framework System  -lz -lpthread - 
> liconv  -lpng -lz -ljpeg -ltiff -framework WebKit
> ld: warning -L: directory name (/opt/local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/libs) does not  
> exist
> ld: warning -L: directory name (/opt/local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/libs) does not  
> exist
> ld: warning prebinding disabled because dependent library: /opt/ 
> local/lib/libz.1.dylib is not prebound
> ld: Undefined symbols:
> __ZN10wxListCtrl8SetFocusEv
> /usr/bin/libtool: internal link edit command failed
> make: *** [/opt/local/var/db/dports/build/ 
> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
> dports_graphics_wxWidgets/work/wxWidgets-2.8.3/build/lib/ 
> libwx_macu_gizmos-2.8.0.1.1.dylib] Error 1
> ****************
>
> On 26 Apr 2007, at 10:00, Jyrki Wahlstedt wrote:
>
>>
>> On 25.4.2007, at 18.00, Nigel King wrote:
>>
>>> Hi,
>>> Has any further progress been made on this? It is completely  
>>> blocking my progress with wxWidgets and py-wxpython.
>>>
>>> Thanks
>>>
>>> Nigel
>>>
>> Hi,
>> I had forgotten this, sorry! If it is convenient to you to modify  
>> portfiles, you could copy the line with 'configure.env' from  
>> wxWidgets-devel to wxWidgets Portfile. It adds a flag to look for  
>> symbols in built libraries prior to outside libraries. That should  
>> fix the problem of missing symbols. It ought be added to wxWidgets 
>> {26}, too. I am getting a new laptop soon, so I'll have better  
>> chances to handle things.


!
! Jyrki Wahlstedt
!	skype:jyrkiwahlstedt
!	http://www.wahlstedt.fi/jyrki/
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0  A780  
6366 EFD9 139C C386






More information about the macports-users mailing list