py26-wxpython trouble (even without pgAdmin3)

Jim Busser jbusser at interchange.ubc.ca
Mon Jun 14 23:10:19 PDT 2010


On 2010-06-14, at 8:55 PM, Ryan Schmidt wrote:

> You've found a bug! I fixed it in r68829. Please "sudo port selfupdate" and try again.

Maybe the first error below is expected. After, I reran

	sudo port -d install py26-wxpython

 which got further, but I still hit a snag, of which I append the last hundred lines at bottom (as opposed to the entire output of about 58K lines ~ 8.1 Mb). Thx for looking

**************************************************
MacBook:~ djb$ sudo port selfupdate
Password:
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.0 installed,
MacPorts base version 1.9.0 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
MacBook:~ djb$ port upgrade outdated
Error: No ports matched the given expression
MacBook:~ djb$ 

**************************************************
MacBook:~ djb$ sudo port -d install py26-wxpython
....
In file included from ../include/wx/glcanvas.h:54,
                 from ../src/gtk/glcanvas.cpp:17:
../include/wx/gtk/glcanvas.h:19:19: warning: GL/gl.h: No such file or directory
../include/wx/gtk/glcanvas.h:20:20: warning: GL/glx.h: No such file or directory
../include/wx/gtk/glcanvas.h:21:20: warning: GL/glu.h: No such file or directory
In file included from ../include/wx/glcanvas.h:54,
                 from ../src/gtk/glcanvas.cpp:17:
../include/wx/gtk/glcanvas.h:47: error: 'GLXContext' does not name a type
../include/wx/gtk/glcanvas.h:124: error: ISO C++ forbids declaration of 'GLXFBConfig' with no type
../include/wx/gtk/glcanvas.h:124: error: expected ';' before '*' token
../src/gtk/glcanvas.cpp: In constructor 'wxGLContext::wxGLContext(wxWindow*, const wxGLContext*)':
../src/gtk/glcanvas.cpp:65: error: 'GLXFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp:65: error: 'fbc' was not declared in this scope
../src/gtk/glcanvas.cpp:65: error: 'class wxGLCanvas' has no member named 'm_fbc'
../src/gtk/glcanvas.cpp:67: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:67: error: 'GLX_RGBA_TYPE' was not declared in this scope
../src/gtk/glcanvas.cpp:68: error: 'const class wxGLContext' has no member named 'm_glContext'
../src/gtk/glcanvas.cpp:69: error: 'GL_TRUE' was not declared in this scope
../src/gtk/glcanvas.cpp:69: error: 'glXCreateNewContext' was not declared in this scope
../src/gtk/glcanvas.cpp:76: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:77: error: 'const class wxGLContext' has no member named 'm_glContext'
../src/gtk/glcanvas.cpp:78: error: 'GL_TRUE' was not declared in this scope
../src/gtk/glcanvas.cpp:78: error: 'glXCreateContext' was not declared in this scope
../src/gtk/glcanvas.cpp:81: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp: In destructor 'virtual wxGLContext::~wxGLContext()':
../src/gtk/glcanvas.cpp:89: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:91: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:91: error: 'glXGetCurrentContext' was not declared in this scope
../src/gtk/glcanvas.cpp:95: error: 'glXMakeContextCurrent' was not declared in this scope
../src/gtk/glcanvas.cpp:98: error: 'glXMakeCurrent' was not declared in this scope
../src/gtk/glcanvas.cpp:101: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:101: error: 'glXDestroyContext' was not declared in this scope
../src/gtk/glcanvas.cpp: In member function 'void wxGLContext::SetCurrent(const wxGLCanvas&) const':
../src/gtk/glcanvas.cpp:106: error: 'm_glContext' was not declared in this scope
../src/gtk/glcanvas.cpp:112: error: 'glXMakeContextCurrent' was not declared in this scope
../src/gtk/glcanvas.cpp:115: error: 'glXMakeCurrent' was not declared in this scope
../src/gtk/glcanvas.cpp: In member function 'bool wxGLCanvas::Create(wxWindow*, const wxGLContext*, const wxGLCanvas*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&, int*, const wxPalette&)':
../src/gtk/glcanvas.cpp:307: error: 'm_fbc' was not declared in this scope
../src/gtk/glcanvas.cpp:316: error: 'GLXFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp:316: error: 'fbc' was not declared in this scope
../src/gtk/glcanvas.cpp:319: error: expected primary-expression before ')' token
../src/gtk/glcanvas.cpp:319: error: expected `;' before 'static_cast'
../src/gtk/glcanvas.cpp:324: error: expected primary-expression before ')' token
../src/gtk/glcanvas.cpp:324: error: expected `;' before 'wxGLCanvas'
../src/gtk/glcanvas.cpp:341: error: 'glXGetVisualFromFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp: In destructor 'virtual wxGLCanvas::~wxGLCanvas()':
../src/gtk/glcanvas.cpp:383: error: 'GLXFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp:383: error: 'fbc' was not declared in this scope
../src/gtk/glcanvas.cpp:383: error: expected primary-expression before ')' token
../src/gtk/glcanvas.cpp:383: error: expected `;' before 'm_fbc'
../src/gtk/glcanvas.cpp: In static member function 'static void* wxGLCanvas::ChooseGLVisual(int*)':
../src/gtk/glcanvas.cpp:402: error: 'glXChooseVisual' was not declared in this scope
../src/gtk/glcanvas.cpp: In static member function 'static void* wxGLCanvas::ChooseGLFBC(int*)':
../src/gtk/glcanvas.cpp:413: error: 'glXChooseFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp: In static member function 'static void wxGLCanvas::GetGLAttribListFromWX(int*, int*)':
../src/gtk/glcanvas.cpp:428: error: 'GLX_RGBA' was not declared in this scope
../src/gtk/glcanvas.cpp:429: error: 'GLX_DOUBLEBUFFER' was not declared in this scope
../src/gtk/glcanvas.cpp:430: error: 'GLX_DEPTH_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:431: error: 'GLX_RED_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:432: error: 'GLX_GREEN_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:433: error: 'GLX_BLUE_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:434: error: 'GLX_ALPHA_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:448: error: 'GLX_RGBA' was not declared in this scope
../src/gtk/glcanvas.cpp:451: error: 'GLX_BUFFER_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:455: error: 'GLX_LEVEL' was not declared in this scope
../src/gtk/glcanvas.cpp:460: error: 'GLX_DOUBLEBUFFER' was not declared in this scope
../src/gtk/glcanvas.cpp:465: error: 'GLX_DOUBLEBUFFER' was not declared in this scope
../src/gtk/glcanvas.cpp:469: error: 'GLX_STEREO' was not declared in this scope
../src/gtk/glcanvas.cpp:473: error: 'GLX_AUX_BUFFERS' was not declared in this scope
../src/gtk/glcanvas.cpp:477: error: 'GLX_RED_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:481: error: 'GLX_GREEN_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:485: error: 'GLX_BLUE_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:489: error: 'GLX_ALPHA_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:493: error: 'GLX_DEPTH_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:497: error: 'GLX_STENCIL_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:501: error: 'GLX_ACCUM_RED_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:505: error: 'GLX_ACCUM_GREEN_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:509: error: 'GLX_ACCUM_BLUE_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp:513: error: 'GLX_ACCUM_ALPHA_SIZE' was not declared in this scope
../src/gtk/glcanvas.cpp: In static member function 'static void wxGLCanvas::QueryGLXVersion()':
../src/gtk/glcanvas.cpp:531: error: 'glXQueryVersion' was not declared in this scope
../src/gtk/glcanvas.cpp: In member function 'void wxGLCanvas::SwapBuffers()':
../src/gtk/glcanvas.cpp:550: error: 'glXSwapBuffers' was not declared in this scope
../src/gtk/glcanvas.cpp: In member function 'void wxGLCanvas::SetColour(const wxChar*)':
../src/gtk/glcanvas.cpp:576: error: 'glColor3f' was not declared in this scope
../src/gtk/glcanvas.cpp: In member function 'bool wxGLApp::InitGLVisual(int*)':
../src/gtk/glcanvas.cpp:626: error: 'GLXFBConfig' was not declared in this scope
../src/gtk/glcanvas.cpp:626: error: expected primary-expression before ')' token
../src/gtk/glcanvas.cpp:626: error: expected `)' before 'm_glFBCInfo'
make: *** [gldll_gtk_glcanvas.o] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/work/wxPython-src-2.8.10.1/build" && /usr/bin/make " returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for wxWidgets-python): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for wxWidgets-python is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_wxWidgets-python/main.log
Error: The following dependencies failed to build: wxWidgets-python
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
MacBook:~ djb$ 



More information about the macports-users mailing list