py-wxpython and py-wxpython26 fails on Intel
Nigel King
nigel at nigelking.me.uk
Mon Apr 9 02:37:53 PDT 2007
Hi all,
While I have py-wxpython (2.8.3.0_0) installed on PPC I am having
great difficulty trying to install any version of py-wxpython on Intel.
port is version 1.400
port install py-wxpython
fails building wxWidgets
==============-error log wxWidgets
---> 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/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/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 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
Error: The following dependencies failed to build: wxWidgets
============== end of error log wxWidgets
Not understanding the above I noted that py-wxpython26 was available.
I installed wxWidgets without problem but py-wxpython26 fails
port install py-wxpython26
==============-error log py-wxpython26
---> Building py-wxpython26 with target build
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_python_py-wxpython26/work/wxPython-src-2.6.3.3/wxPython" &&
WX_CONFIG="/opt/local/bin/wx-config" UNICODE="1" WXPORT="mac" /opt/
local/bin/python2.4 setup.py build" returned error 1
Command output: src/helpers.cpp:2763: error: 'stream' was not
declared in this scope
src/helpers.cpp:2763: error: expected ',' or ';' before '{' token
src/helpers.cpp:2785: error: 'bool wxPyImageHandler::LoadFile' is not
a static member of 'class wxPyImageHandler'
src/helpers.cpp:2785: error: 'wxImage' was not declared in this scope
src/helpers.cpp:2785: error: 'image' was not declared in this scope
src/helpers.cpp:2785: error: 'wxInputStream' was not declared in this
scope
src/helpers.cpp:2785: error: 'stream' was not declared in this scope
src/helpers.cpp:2786: error: expected primary-expression before 'bool'
src/helpers.cpp:2786: error: expected primary-expression before 'int'
src/helpers.cpp:2786: error: initializer expression list treated as
compound expression
src/helpers.cpp:2786: error: expected ',' or ';' before '{' token
src/helpers.cpp:2810: error: 'bool wxPyImageHandler::SaveFile' is not
a static member of 'class wxPyImageHandler'
src/helpers.cpp:2810: error: 'wxImage' was not declared in this scope
src/helpers.cpp:2810: error: 'image' was not declared in this scope
src/helpers.cpp:2810: error: 'wxOutputStream' was not declared in
this scope
src/helpers.cpp:2810: error: 'stream' was not declared in this scope
src/helpers.cpp:2811: error: expected primary-expression before 'bool'
src/helpers.cpp:2811: error: initializer expression list treated as
compound expression
src/helpers.cpp:2811: error: expected ',' or ';' before '{' token
src/helpers.cpp:2833: error: 'int wxPyImageHandler::GetImageCount' is
not a static member of 'class wxPyImageHandler'
src/helpers.cpp:2833: error: 'wxInputStream' was not declared in this
scope
src/helpers.cpp:2833: error: 'stream' was not declared in this scope
src/helpers.cpp:2833: error: expected ',' or ';' before '{' token
src/helpers.cpp: In function 'bool wxPyCheckForApp()':
src/helpers.cpp:877: warning: control reaches end of non-void function
src/helpers.cpp: In member function 'bool wxPyInputStream::eof()':
src/helpers.cpp:1219: warning: control reaches end of non-void function
src/helpers.cpp: In member function 'int wxPyInputStream::tell()':
src/helpers.cpp:1366: warning: control reaches end of non-void function
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Status 1 encountered during processing.
============== end of error log
Any suggestions or further info required?
Nigel King
More information about the macports-users
mailing list