LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2014, 10:41 AM   #1
jkaidor
Member
 
Registered: Jun 2008
Location: SF Peninsula
Distribution: slackware
Posts: 33

Rep: Reputation: 23
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
 
Old 06-04-2014, 11:06 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

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

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

Are any of those what you want?
 
Old 06-04-2014, 11:31 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
+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, 11:54 AM   #4
bimboleum
Member
 
Registered: Oct 2009
Posts: 111

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


Reply



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 02:56 AM
cannot compile libvirt on slackware64 13.1 hopbyhop Slackware 9 04-29-2011 03:51 PM
[SOLVED] Slackware64-13.1 32 bit compile problems business_kid Slackware 10 03-21-2011 04:29 AM
[SOLVED] Transcode will not compile in Slackware64-13.0, Multilib TSquaredF Slackware 9 04-07-2010 10:39 PM
Kernel Compile and Slackware64 forum1793 Slackware 8 05-30-2009 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:44 AM.

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