Opened 19 years ago

Closed 19 years ago

#4407 closed defect (worksforme)

py-wxpython fails to build

Reported by: dgarrett@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I get the following results when I try to install py-wxpython.

dhcp-42-36$sudo port install py-wxpython ---> Fetching py-wxpython ---> Verifying checksum(s) for py-wxpython ---> Extracting py-wxpython ---> Applying patches to 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/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_python_py-wxpython/work/wxPython-src-2.6.1.0/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: contrib/stc/mac/stc_wrap.cpp:21537: error: 'wxEVT_STC_SAVEPOINTREACHED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21540: error: 'wxEVT_STC_SAVEPOINTLEFT' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21543: error: 'wxEVT_STC_ROMODIFYATTEMPT' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21546: error: 'wxEVT_STC_KEY' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21549: error: 'wxEVT_STC_DOUBLECLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21552: error: 'wxEVT_STC_UPDATEUI' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21555: error: 'wxEVT_STC_MODIFIED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21558: error: 'wxEVT_STC_MACRORECORD' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21561: error: 'wxEVT_STC_MARGINCLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21564: error: 'wxEVT_STC_NEEDSHOWN' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21567: error: 'wxEVT_STC_PAINTED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21570: error: 'wxEVT_STC_USERLISTSELECTION' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21573: error: 'wxEVT_STC_URIDROPPED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21576: error: 'wxEVT_STC_DWELLSTART' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21579: error: 'wxEVT_STC_DWELLEND' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21582: error: 'wxEVT_STC_START_DRAG' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21585: error: 'wxEVT_STC_DRAG_OVER' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21588: error: 'wxEVT_STC_DO_DROP' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21591: error: 'wxEVT_STC_ZOOM' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21594: error: 'wxEVT_STC_HOTSPOT_CLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21597: error: 'wxEVT_STC_HOTSPOT_DCLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:21600: error: 'wxEVT_STC_CALLTIP_CLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp: At global scope: contrib/stc/mac/stc_wrap.cpp:231: warning: 'swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void)' defined but not used contrib/stc/mac/stc_wrap.cpp:419: warning: 'const char* SWIG_UnpackDataName(const char*, void*, size_t, const char*)' defined but not used contrib/stc/mac/stc_wrap.cpp:499: warning: 'void SWIG_PropagateClientData(swig_type_info*)' defined but not used contrib/stc/mac/stc_wrap.cpp:1199: warning: 'void* SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)' defined but not used contrib/stc/mac/stc_wrap.cpp:1213: warning: 'int SWIG_Python_ConvertPacked(PyObject*, void*, size_t, swig_type_info*, int)' defined but not used contrib/stc/mac/stc_wrap.cpp:1399: warning: 'int SWIG_CheckLongInRange(long int, long int, long int, const char*)' defined but not used error: command 'gcc' failed with exit status 1

Change History (8)

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…

what version of py-wxpython is this? Did you gcc_select 3.3? Also I need the complete output of 'port build py-wxpython -vd';

comment:2 Changed 19 years ago by dgarrett@…

(In reply to comment #1)

what version of py-wxpython is this? Did you gcc_select 3.3? Also I need the complete output of 'port build py-wxpython -vd';

Brin$port search py-wxpython py-wxpython python/py-wxpython 2.6.1.0 Python interface to the wxWindows cross platform GUI

I was using gcc 4, but have switched to gcc 3.3. I'm still not building.

The debug build output is to big to attach. I'm sending it directly to you via email.

comment:3 Changed 19 years ago by mww@…

what version of wxWindows do you have installed? (version+revision)

comment:4 Changed 19 years ago by dgarrett@…

dhcp-42-36$port search wxwindows wxWindows graphics/wxWindows 2.4.2 mature cross-platform C++ GUI framework

This was probably built with gcc 4, if that matters.

Some time tonight I'll try to figure out how to rebuild all installed packages with gcc 3.3 to get everything consistent, if you think that might make a difference.

comment:5 Changed 19 years ago by mww@…

ah, crap - wxWidgets I meant!

comment:6 Changed 19 years ago by dgarrett@…

No problem.

dhcp-42-36$port search wxwidgets wxWidgets graphics/wxWidgets 2.6.1 mature cross-platform C++ GUI framework

comment:7 Changed 19 years ago by dgarrett@…

I switched to gcc 3.3, uninstalled/cleaned all darwin port packages, and did "port install py-wxpython". This rebuilt all dependancies and installed just fine.

I'm not sure where the problem came from, but I suspect it's related to the upgrade process for some of the other packages as well as mixing compiler versions.

My only complaint is that it was not trivial to uninstall everything and rebuild it.

So should we close this?

comment:8 Changed 19 years ago by mww@…

Resolution: worksforme
Status: newclosed

works - closed!

Note: See TracTickets for help on using tickets.