wxWidgets/libiconv @ loggerheads?
Nigel King
nigel at nigelking.me.uk
Mon Apr 30 03:44:32 PDT 2007
I thought I would try building wxWidgets-devel. It also fails with
this undefined symbol error
__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_dp
orts_graphics_wxWidgets-devel/work/wxWidgets-2.8.4-rc1/build/lib/
libwx_macu_gizmos-2.8.0.1.1.dylib] Error 1
I thought this was the problem you had solved?
Thanks
Nigel
On 30 Apr 2007, at 07: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_dp
orts_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_dp
orts_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_dp
orts_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_dp
orts_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_dp
orts_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_dp
orts_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_dp
orts_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_dp
orts_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
>
_______________________________________________
macports-users mailing list
macports-users at lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
More information about the macports-users
mailing list