py-wxpython problems

Jochen Küpper jochen at fhi-berlin.mpg.de
Sat May 19 14:44:26 PDT 2007


Hi,

port upgrade recently updated wxPython to
   py-wxpython 2.8.4.0, python/py-wxpython (Variants: universal).

Now I am trying to enhance the py-matplotlib port and have to  
reinstall it. This does not work and gives me the errors given below,  
which seem to be the once described here:
   http://lists.macosforge.org/pipermail/macports-users/2007-February/ 
001820.html

Can you confirm this?
How can we fix this?


 > sudo port install +gtk2
--->  Fetching py-matplotlib
--->  Attempting to fetch matplotlib-0.90.0.tar.gz from http:// 
downloads.sourceforge.net/matplotlib
--->  Verifying checksum(s) for py-matplotlib
--->  Extracting py-matplotlib
--->  Applying patches to py-matplotlib
--->  Configuring py-matplotlib
--->  Building py-matplotlib with target build
Error: Target com.apple.build returned: shell command " cd "/opt/ 
local/var/db/dports/build/_Users_jochen_source_macports- 
trunk_dports_python_py-matplotlib/work/matplotlib-0.90.0" && /opt/ 
local/bin/python2.4 setup.py build " returned error 1
Command output: ./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = Func]':
src/_transforms.h:379:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = FuncXY]':
src/_transforms.h:466:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = Transformation]':
src/_transforms.h:538:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
cc1plus: warning: command line option "-Wstrict-prototypes" is valid  
for C/ObjC but not for C++
src/_wxagg.cpp: In function 'wxBitmap* convert_agg2bitmap 
(RendererAgg*, Bbox*)':
src/_wxagg.cpp:238: error: conversion from 'wxImage*' to 'const  
wxString' is ambiguous
/opt/local/include/wx-2.8/wx/string.h:692: note: candidates are:  
wxString::wxString(wxChar, size_t) <near match>
/opt/local/include/wx-2.8/wx/string.h:682: note:                  
wxString::wxString(int) <near match>
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = BufferRegion]':
src/_backend_agg.h:50:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = LazyValue]':
src/_transforms.h:27:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = Func]':
src/_transforms.h:379:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = FuncXY]':
src/_transforms.h:466:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
./CXX/Extensions.hxx: In constructor  
'Py::PythonExtension<T>::PythonExtension() [with T = Transformation]':
src/_transforms.h:538:   instantiated from here
./CXX/Extensions.hxx:477: warning: right-hand operand of comma has no  
effect
error: Command "/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long- 
double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g - 
O3 -Wall -Wstrict-prototypes -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES - 
D__WXMAC__ -I/opt/local/include -I/usr/include -I/opt/local/include/ 
python2.4 -I. -Isrc -Iswig -Iagg23/include -I. -I/opt/local/include - 
I/usr/include -I/opt/local/include/python2.4 -I. -I/opt/local/include/ 
freetype2 -I/usr/include/freetype2 -I/opt/local/include/python2.4/ 
freetype2 -I./freetype2 -Isrc/freetype2 -Iswig/freetype2 -Iagg23/ 
include/freetype2 -I./freetype2 -I/opt/local/include/freetype2 -I/usr/ 
include/freetype2 -I/opt/local/include/python2.4/freetype2 -I./ 
freetype2 -I/opt/local/include -I/usr/include -I/opt/local/include/ 
python2.4 -I. -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 -c src/_wxagg.cpp -o  
build/temp.macosx-10.3-i386-2.4/src/_wxagg.o" failed with exit status 1

Error: Status 1 encountered during processing.


Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen- 
Kuepper.de
     Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
         Sex, drugs and rock-n-roll


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20070519/2ce6ac93/PGP.bin


More information about the macports-users mailing list