LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-04-2014, 01:41 PM   #1
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 865
Blog Entries: 9

Rep: Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593
Error compiling gzdoom from SBo


I am attempting to compile gzdoom from SBo, and sometime in the compile process (about 32%) I get this error:

Code:
/tmp/SBo/gzdoom-1.8.2/src/sdl/i_main.cpp:44:21: fatal error: gtk/gtk.h: No such file or directory
 #include <gtk/gtk.h>
I am at a loss to know how to correct this, since I don't know where gzdoom expects to find gtk.h. I know the header files are there, but I don't know where gzdoom expects to find them. Is there a symlink I could create for the header files? I'm scratching my head here.

Regards,

Matt
 
Old 08-04-2014, 02:16 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,753

Rep: Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856Reputation: 1856
which Slackware version do you use?
I tested on Slackware64-14.1 VM and it compiles fine

Code:
SUMMARY LOG
Using the SBo repository for Slackware 14.1
Queue Process:  Download, build, and install

fmodapi:
  MD5SUM check for fmodapi42817linux64.tar.gz ... OK
  Building package fmodapi-4.28.17-x86_64-1_SBo.tgz ... OK
  Installing package fmodapi-4.28.17-x86_64-1_SBo.tgz ... OK

gzdoom:
  MD5SUM check for gzdoom-1.8.2.tar.gz ... OK
  Building package gzdoom-1.8.2-x86_64-1_SBo.tgz ... OK
  Installing package gzdoom-1.8.2-x86_64-1_SBo.tgz ... OK
 
Old 08-04-2014, 03:00 PM   #3
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 865

Original Poster
Blog Entries: 9

Rep: Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593
Quote:
Originally Posted by willysr View Post
which Slackware version do you use?
I tested on Slackware64-14.1 VM and it compiles fine

Code:
SUMMARY LOG
Using the SBo repository for Slackware 14.1
Queue Process:  Download, build, and install

fmodapi:
  MD5SUM check for fmodapi42817linux64.tar.gz ... OK
  Building package fmodapi-4.28.17-x86_64-1_SBo.tgz ... OK
  Installing package fmodapi-4.28.17-x86_64-1_SBo.tgz ... OK

gzdoom:
  MD5SUM check for gzdoom-1.8.2.tar.gz ... OK
  Building package gzdoom-1.8.2-x86_64-1_SBo.tgz ... OK
  Installing package gzdoom-1.8.2-x86_64-1_SBo.tgz ... OK
I'm on -current. If you could get that package off your VM, I'd very much like to have a copy of it. Thanks.
 
Old 08-04-2014, 04:11 PM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Here's one our chum Panagiotis Nik prepared earlier:
http://slackonly.com/pub/packages/14.../games/gzdoom/

but clearly there is something broken (and a symlink is almost never the right answer). You should have all three of these files:

/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-3.0/gtk/gtk.h

and when you build gzdoom, cmake should say this before it starts compiling the source:

Code:
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.20
-- Found Xcursor at /usr/lib64/libXcursor.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
The obvious thing for you to try is to reinstall gtk+2 (it hasn't been upgraded in -current yet, so we can't blame that, but are you one of the recent dropline upgraders or something?)
 
Old 08-04-2014, 06:47 PM   #5
1337_powerslacker
Member
 
Registered: Nov 2009
Location: Kansas, USA
Distribution: Slackware64-15.0
Posts: 865

Original Poster
Blog Entries: 9

Rep: Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593
Quote:
Originally Posted by 55020 View Post
Here's one our chum Panagiotis Nik prepared earlier:
http://slackonly.com/pub/packages/14.../games/gzdoom/

but clearly there is something broken (and a symlink is almost never the right answer). You should have all three of these files:

/usr/include/gtk-1.2/gtk/gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-3.0/gtk/gtk.h

and when you build gzdoom, cmake should say this before it starts compiling the source:

Code:
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so  
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.20
-- Found Xcursor at /usr/lib64/libXcursor.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
The obvious thing for you to try is to reinstall gtk+2 (it hasn't been upgraded in -current yet, so we can't blame that, but are you one of the recent dropline upgraders or something?)
I went ahead and used the link you provided to get the package. Thanks for the assistance.

Regards,

Matt
 
  


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
Need to help: compiling the sage-5.3 in sbo oxsard Slackware 2 05-18-2013 02:55 AM
Prob compiling SBo kipi-plugins (Slackware 14 x64) spoovy Slackware 2 03-18-2013 02:13 PM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 02:41 AM
hardware midi possible with fluidsynth and/or timidity backend with GZDoom? Holering Linux - Games 0 10-02-2010 06:42 PM
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 10:10 PM

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

All times are GMT -5. The time now is 08:34 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
Open Source Consulting | Domain Registration