LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 11:41 AM   #1
jkaidor
LQ Newbie
 
Registered: Jun 2008
Location: SF Peninsula
Distribution: slackware
Posts: 17

Rep: Reputation: 0
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, 12:06 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,145
Blog Entries: 52

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, 12:31 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
+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
bimboleum
Member
 
Registered: Oct 2009
Posts: 51

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


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


All times are GMT -5. The time now is 03:54 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration