LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cant Compile WxWidgets on Slackware64 14.0 (https://www.linuxquestions.org/questions/slackware-14/cant-compile-wxwidgets-on-slackware64-14-0-a-4175507030/)

jkaidor 06-04-2014 10:41 AM

Cant Compile WxWidgets on Slackware64 14.0
 
Hello,

I've been trying to install WxWidgets on my Slackware server. It does not build.

-------------- snip -----------------
In file included from /usr/include/gtk-2.0/gdk/gdkx.h:32:0,
from ./src/unix/displayx11.cpp:43:
/usr/include/X11/Xlib.h:1694:1: error: '_X_DEPRECATED' does not name a type
/usr/include/X11/Xlib.h:3935:3: error: expected initializer before '_X_SENTINEL'
( and a bunch more of those )
-------------- endsnip --------------
I found a discussion of this problem at:

http://web.archiveorange.com/archive...yCszXoNUPmecx8

--------
The last comment was that the problem was fixed by copying the entire contents of /usr/include/sys from a slackware32 system. To me, this sounds like a recipe for disaster. Who knows what else that could break?

I could possibly set up a slackware32 in a VM, browse the /usr/include/sys directory and find out what's different. Awful lot of downloading to get (probably) one file though. Is there a way to browse a slackware distro file by file without downloading the whole thing?

Or, has anybody got WxWidgets to build on a 64-bit system?

- Jerry Kaidor

brianL 06-04-2014 11:06 AM

There are SlackBuilds for wxGTK, wxGTK3, wxPython, and wxX11 here:

http://slackbuilds.org/repository/14.1/libraries/

Are any of those what you want?

weibullguy 06-04-2014 11:31 AM

+1 for brianL's answer.

I have successfully built wxWidgets-3.0.0 on my Slackware64-current system. Possibly a version mismatch between X11 on 14.0 and the version of wxWidgets you're trying to build.

bimboleum 06-04-2014 11:54 AM

Hi,
I have wxWidgets-2.8.12 compiled succesfully on both Slackware 14 and Slackware 14.1 using:-

configure --prefix=/usr/local --enable-unicode --with-gtk

cheers
pete

pete hilton
saruman@ruvolo-hilton.org


All times are GMT -5. The time now is 10:56 AM.