LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 11-20-2014, 10:56 PM   #1
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Rep: Reputation: 0
Trouble getting installing gzdoom with source code


I want to install gzdoom. The problem is that I can't find a way to compile the source code here
Code:
https://github.com/coelckers/gzdoom
The only source binary I found was a windows one
Code:
http://www.osnanet.de/c.oelckers/gzdoom/download.html
I'm not sure how to compile the git code to a tarball for use in Slackware to use with freedoom, some help here would be appreciated in this problem. Thanks.
 
Old 11-20-2014, 11:21 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
see the file "CMakeLists.txt"

it is a cmake project
( not a normal ./configure && make... )

google using "cmake"

Code:
cd To/the/location/of/the/folder/gzdoom-master
mkdir BUILD
cd BUILD
cmake ../
------ if it has NO ERRORS ---
make

then MANUALLY INSTALL !!!!!!!!!
or
use a cmake install option
Code:
cd BUILD
cmake -DCMAKE_INSTALL_PREFIX=/opt/gzdoom ../
------ if it has NO ERRORS ---
make
 
Old 11-20-2014, 11:30 PM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

it seems to use cmake, so:
Code:
git clone https://github.com/coelckers/gzdoom
cd gzdoom
mkdir build
cd build
cmake ..
make
I just tried this and the build failed. So I tried again with the 2.6 branch and that failed too. Seems it needs something called "FMOD". Have no idea what that is. There is a docs directory so you may be able to work out what is needed.

HTH,

Evo2.
 
Old 11-20-2014, 11:48 PM   #4
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
Ok, it seems to have compiled without errors. I learn something new everyday, it seems.
 
Old 11-20-2014, 11:52 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i got that missing "FMOD" error
but if you let cmake run you find it is looking for "FluidSynth"
-- for opensuse13.2
Code:
zypper in fluidsynth fluidsynth-devel
it needs a ton of code , i do not plan on using this game so ...
the first things that would need fixing
Code:
---- 
CMake Error at src/CMakeLists.txt:274 (message):
  Could not find FMOD include files


CMake Error at src/CMakeLists.txt:293 (message):
  Could not find FMOD library


-- Found FluidSynth: /usr/lib64/libfluidsynth.so  
-- Looking for filelength
-- Looking for filelength - not found
-- Looking for strupr
-- Looking for strupr - not found
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test HAS_VA_COPY
-- Performing Test HAS_VA_COPY - Success
 
Old 11-21-2014, 11:18 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,241

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
You said in another post that you were using Slackware.

Does it have to be the git repo and not a release tarball?

http://slackbuilds.org/games/gzdoom/

If your BASH is good enough, you can just edit the SlackBuild and have it build the git clone. Here's a guide to how SlackBuilds work:

http://www.slackwiki.com/Writing_A_SlackBuild_Script

Last edited by dugan; 11-21-2014 at 11:26 AM.
 
Old 11-21-2014, 02:13 PM   #7
Pinonoir
Member
 
Registered: May 2014
Posts: 209

Original Poster
Rep: Reputation: 0
My BASH is terrible.
Also, the README.source says to uae the git repo, and the link for the source code is dead as well for the 1.8.2 version.
Code:
http://slackbuilds.org/slackbuilds/14.1/games/gzdoom/README.source
 
Old 11-21-2014, 02:36 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,241

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
I've emailed the SlackBuild maintainer to report the broken source link. In the meantime, you can do the following to get the package built:

First, install the fmodapi dependency from Sbo (SlackBuilds.org).

Then you can just run the following script as root to download the source and build it into a Slackware package:

Code:
#!/usr/bin/env bash

wget http://slackbuilds.org/slackbuilds/14.1/games/gzdoom.tar.gz
tar xf gzdoom.tar.gz
cd gzdoom
git clone https://github.com/coelckers/gzdoom.git
cd gzdoom
VERSION=`git rev-parse --short HEAD`
cd ..
mv gzdoom gzdoom-$VERSION
tar -czf gzdoom-${VERSION}.tar.gz gzdoom-$VERSION
VERSION=$VERSION ./gzdoom.SlackBuild
I've only tested it as far as the "it starts to build" stage, so let me know if it doesn't work (and I'll make it work).

Last edited by dugan; 11-21-2014 at 02:41 PM.
 
Old 11-21-2014, 03:01 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,241

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
The source tarball is now available here:

http://sourceforge.net/projects/slac.../files/gzdoom/

I expect the SlackBuild to be updated soon.
 
  


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
LXer: Is Google Code In Trouble? No More Open Source Downloads For You LXer Syndicated Linux News 0 05-24-2013 02:21 PM
Trouble transferring a code for table from source to html Menon Linux - Networking 1 08-20-2011 06:44 PM
Installing Source Code Help Thorlord Linux - Software 5 03-12-2006 07:31 PM
installing source code MilkyBar_Kid Slackware 2 07-18-2004 01:46 AM
Installing from source code chuckeff Mandriva 2 03-16-2004 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:18 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