wxgtk fails to install

Jyrki Wahlstedt jwa at macports.org
Thu Aug 2 05:17:58 PDT 2007


On 2.8.2007, at 15.12, Bengt Nilsson wrote:

> Hi!
>
> wxgtk fails to install:
>
> mc2-p039:/Users/bnilsson root# port install wxgtk
> --->  Fetching wxgtk
> --->  Attempting to fetch wxGTK-2.8.4.tar.bz2 from http:// 
> downloads.sourceforge.net/wxwindows
> --->  Verifying checksum(s) for wxgtk
> --->  Extracting wxgtk
> --->  Applying patches to wxgtk
> --->  Configuring wxgtk
> --->  Building wxgtk with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_w 
> xgtk/work/wxGTK-2.8.4" && make all " returned error 2
> Command output: ./src/unix/utilsx11.cpp:249: error: 'XSendEvent'  
> was not declared in this scope
> /src/unix/utilsx11.cpp:258: error: 'XChangeProperty' was not  
> declared in this scope
> /src/unix/utilsx11.cpp: In function 'void wxWMspecSetState 
> (Display*, Window, Window, int, Atom)':
> /src/unix/utilsx11.cpp:338: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:358: error: 'XSendEvent' was not declared in  
> this scope
> /src/unix/utilsx11.cpp: In function 'void wxWMspecSetFullscreen 
> (Display*, Window, Window, bool)':
> /src/unix/utilsx11.cpp:367: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp: In function 'bool wxKwinRunning(Display*,  
> Window)':
> /src/unix/utilsx11.cpp:379: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:388: error: 'XGetWindowProperty' was not  
> declared in this scope
> /src/unix/utilsx11.cpp:395: error: 'XFree' was not declared in this  
> scope
> /src/unix/utilsx11.cpp: In function 'void wxSetKDEFullscreen 
> (Display*, Window, Window, bool, wxRect*)':
> /src/unix/utilsx11.cpp:407: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:408: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:409: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:410: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:426: error: 'XSync' was not declared in this  
> scope
> /src/unix/utilsx11.cpp:431: error: 'XUnmapWindow' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:436: error: 'XChangeProperty' was not  
> declared in this scope
> /src/unix/utilsx11.cpp:441: error: 'XMapRaised' was not declared in  
> this scope
> /src/unix/utilsx11.cpp:460: error: 'XMoveResizeWindow' was not  
> declared in this scope
> /src/unix/utilsx11.cpp: In function 'wxX11FullScreenMethod  
> wxGetFullScreenMethodX11(WXDisplay*, void*)':
> /src/unix/utilsx11.cpp:473: error: 'XInternAtom' was not declared  
> in this scope
> /src/unix/utilsx11.cpp: In function 'bool wxGetKeyState(wxKeyCode)':
> /src/unix/utilsx11.cpp:814: error: 'XKeysymToKeycode' was not  
> declared in this scope
> /src/unix/utilsx11.cpp:820: error: 'XGetModifierMapping' was not  
> declared in this scope
> /src/unix/utilsx11.cpp:832: error: 'XQueryPointer' was not declared  
> in this scope
> /src/unix/utilsx11.cpp:833: error: 'XFreeModifiermap' was not  
> declared in this scope
> /src/unix/utilsx11.cpp:843: error: 'XQueryKeymap' was not declared  
> in this scope
> make: *** [coredll_utilsx11.o] Error 1
>
> I am using MacPorts 1.5 and I have done "port sync".
>
> Anything I can do?
>
> bnilsson
>
Hi, just a quick guess, check whether you have X11 stuff from Xcode  
installed, and if not, do install that. If you made the step, try  
again, if not, quit!
!
! Jyrki Wahlstedt
!	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






More information about the macports-users mailing list