Hi,
with several versions of wxWidgets I've had to uninstall it before it
builds, meaning that instead of upgrade one has to uninstall and
install it. You could try that, whenever the build fails. But the
srchctrl.h missing is something I saw while building wxPython 2.8.0.1
against wxWidgets 2.8.0(.0). I did the build recently succesfully, so
it should be ok, just check the versions (python 2.4, py-wxPython
2.8.1.1, and wxWidgets-devel 2.8.2-rc1). I really hope wxPython gets
back in sync with wxWidgets!
On 22.2.2007, at 21.00, Brian Myers wrote:
It's getting farther, but still failing with the same message.
You're right about the weird versions though. At one point there
was a problem with the wxWidgets port and it persisted for quite a
long time, so I switched to the devel port. I've since switched
back. What should I do here? Remove the wxWidgets-devel port?
I also did a port clean. Should I do anything else?
defaults-powerbook-g4-17:/opt/local root# port clean py-wxpython
Portfile changed since last build; discarding previous state.
---> Cleaning py-wxpython
defaults-powerbook-g4-17:/opt/local root# port install py-wxpython
---> Fetching py-wxpython
---> Verifying checksum(s) for py-wxpython
---> Extracting py-wxpython
---> Configuring py-wxpython
---> Building py-wxpython 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_
dports_python_py-wxpython/work/wxPython-src-2.8.1.1/wxPython" &&
UNICODE="1" WXPORT="mac" PATH="/opt/local/lib/wx-devel/bin:/opt/
local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/
bin" /opt/local/bin/python2.4 setup.py build" returned error 1
Command output: copying wx/tools/dbg.py -> build.unicode/
lib.darwin-8.8.0-Power_Macintosh-2.4/wx/tools
copying wx/tools/genaxmodule.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/helpviewer.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/img2img.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/img2png.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/img2py.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/img2xpm.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
copying wx/tools/pywxrc.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools
creating build.unicode/lib.darwin-8.8.0-Power_Macintosh-2.4/wx/
tools/XRCed
copying wx/tools/XRCed/__init__.py -> build.unicode/
lib.darwin-8.8.0-Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/encode_bitmaps.py -> build.unicode/
lib.darwin-8.8.0-Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/globals.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/images.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/panel.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/params.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/tools.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/tree.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/undo.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/xrced.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
copying wx/tools/XRCed/xxx.py -> build.unicode/lib.darwin-8.8.0-
Power_Macintosh-2.4/wx/tools/XRCed
running build_ext
building '_core_' extension
creating build.unicode/temp.darwin-8.8.0-Power_Macintosh-2.4
creating build.unicode/temp.darwin-8.8.0-Power_Macintosh-2.4/src
creating build.unicode/temp.darwin-8.8.0-Power_Macintosh-2.4/src/mac
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-
precomp -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -
g -O3 -Wall -Wstrict-prototypes -DSWIG_TYPE_TABLE=_wxPython_table -
DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -Iinclude -Isrc -I/
opt/local/lib/wx/include/mac-unicode-release-2.8 -I/opt/local/
include/wx-2.8 -I/opt/local/Library/Frameworks/Python.framework/
Versions/2.4/include/python2.4 -I/opt/local/include/python2.4 -c
src/helpers.cpp -o build.unicode/temp.darwin-8.8.0-
Power_Macintosh-2.4/src/helpers.o -O3
cc1plus: warning: command line option "-Wstrict-prototypes" is
valid for C/ObjC but not for C++
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No
such file or directory
error: command '/usr/bin/gcc-4.0' failed with exit status 1
On Feb 22, 2007, at 7:31 AM, Jyrki Wahlstedt wrote:
Hi,
some changes have been made, so please sync your ports and try
again (also because those versions shown in the transcript look
quite odd, py-wxpython is currently at 2.8.1.1 and wxWidgets-devel
at 2.8.2-rc1).
!
! 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
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users