Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-04-2014, 11:41 AM   #1
LQ Newbie
Registered: Jun 2008
Location: SF Peninsula
Distribution: slackware
Posts: 25

Rep: Reputation: 8
Cant Compile WxWidgets on Slackware64 14.0


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:

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
Old 06-04-2014, 12:06 PM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,641
Blog Entries: 56

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

Are any of those what you want?
Old 06-04-2014, 12:31 PM   #3
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
+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.
Old 06-04-2014, 12:54 PM   #4
Registered: Oct 2009
Posts: 109

Rep: Reputation: 23
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


pete hilton


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64 multilib compile error Breeze Slackware 7 05-22-2011 03:56 AM
cannot compile libvirt on slackware64 13.1 hopbyhop Slackware 9 04-29-2011 04:51 PM
[SOLVED] Slackware64-13.1 32 bit compile problems business_kid Slackware 10 03-21-2011 05:29 AM
[SOLVED] Transcode will not compile in Slackware64-13.0, Multilib TSquaredF Slackware 9 04-07-2010 11:39 PM
Kernel Compile and Slackware64 forum1793 Slackware 8 05-30-2009 08:27 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration