Opened 19 years ago
Closed 18 years ago
#9008 closed defect (worksforme)
py-wxpython compile error during upgrade to 2.6.3.2
Reported by: | scooter.phd@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | markd@…, jeffszuhay (Jeff Szuhay) | |
Port: |
Description
Is there a dependent component that should have been upgraded?
---> Fetching py-wxpython ---> Attempting to fetch wxPython-src-2.6.3.2.tar.gz from http://puzzle.dl.sourceforge.net/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/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_python_py-wxpython/work/wxPython-src-2.6.3.2/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:18670: error: expected primary-expression before 'void' contrib/stc/mac/stc_wrap.cpp:18670: error: expected `)' before 'void' contrib/stc/mac/stc_wrap.cpp: In function 'void init_stc()': contrib/stc/mac/stc_wrap.cpp:23478: error: 'wxEVT_STC_CHANGE' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23481: error: 'wxEVT_STC_STYLENEEDED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23484: error: 'wxEVT_STC_CHARADDED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23487: error: 'wxEVT_STC_SAVEPOINTREACHED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23490: error: 'wxEVT_STC_SAVEPOINTLEFT' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23493: error: 'wxEVT_STC_ROMODIFYATTEMPT' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23496: error: 'wxEVT_STC_KEY' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23499: error: 'wxEVT_STC_DOUBLECLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23502: error: 'wxEVT_STC_UPDATEUI' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23505: error: 'wxEVT_STC_MODIFIED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23508: error: 'wxEVT_STC_MACRORECORD' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23511: error: 'wxEVT_STC_MARGINCLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23514: error: 'wxEVT_STC_NEEDSHOWN' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23517: error: 'wxEVT_STC_PAINTED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23520: error: 'wxEVT_STC_USERLISTSELECTION' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23523: error: 'wxEVT_STC_URIDROPPED' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23526: error: 'wxEVT_STC_DWELLSTART' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23529: error: 'wxEVT_STC_DWELLEND' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23532: error: 'wxEVT_STC_START_DRAG' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23535: error: 'wxEVT_STC_DRAG_OVER' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23538: error: 'wxEVT_STC_DO_DROP' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23541: error: 'wxEVT_STC_ZOOM' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23544: error: 'wxEVT_STC_HOTSPOT_CLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23547: error: 'wxEVT_STC_HOTSPOT_DCLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23550: error: 'wxEVT_STC_CALLTIP_CLICK' was not declared in this scope contrib/stc/mac/stc_wrap.cpp:23553: error: 'wxEVT_STC_AUTOCOMP_SELECTION' was not declared in this scope error: command '/usr/bin/gcc-4.0' failed with exit status 1
Change History (8)
comment:1 Changed 18 years ago by jeffszuhay (Jeff Szuhay)
Cc: | jeff@… added |
---|
comment:2 Changed 18 years ago by jeffszuhay (Jeff Szuhay)
I did 1) deactivate wxWidgets 2) uninstalled wxWidgets 3) cleaned wxWidgets 4) reinstalled wxWidgets 5) installed py-wxpython -- SUCCESS!
the missting directory stc/stc.h appeared after reinstall of wxWidgets and everything went smoothly
comment:4 Changed 18 years ago by pguyot (Paul Guyot)
Owner: | changed from darwinports-bugs@… to mww@… |
---|
comment:5 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|
Can this problem still be duplicated with up-to-date port versions and Xcode 2.4?
comment:6 Changed 18 years ago by scooter.phd@…
(In reply to comment #4)
Can this problem still be duplicated with up-to-date port versions and Xcode 2.4?
Dunno, since I don't develop with 2.4 (yet).
comment:7 Changed 18 years ago by markd@…
(In reply to comment #5)
(In reply to comment #4)
Can this problem still be duplicated with up-to-date port versions and Xcode 2.4?
Dunno, since I don't develop with 2.4 (yet).
Ok. But you should have at least 2.3 in my opinion since pre 2.3 Xcodes can cause some ports to fail. Did Jeff's 5 steps above work?
comment:8 Changed 18 years ago by markd@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I can't duplicate the upgrade, but install from scratch works fine.
I've gotten the same thing.
When I try to install with the -d option, the first error that occurs says that the file wx/stc/stc.h cannot be found. This appears to be the cause of the subsequent errors.
So, the problem appears to be either 1) stc is not included in the package (or is elsewhere), or 2) what is building stc is not putting it in the assumed place.
Hope this helps.