Trying to compile on Gentoo

Everything about ToME 4.x.x. No spoilers, please

Moderator: Moderator

Post Reply
Message
Author
j-rod
Halfling
Posts: 106
Joined: Sun Apr 23, 2006 7:17 pm

Trying to compile on Gentoo

#1 Post by j-rod »

So I am having a weird night so far. Have a spare laptop, threw latest version of Sabayon on it. Of course, downloaded TOME as one of the first things after a basic install. To my surprise, it ran great. I do a full system package update, and now TOME barely runs at all. 100% CPU, never stops, unplayable. I figure maybe I'll try compiling with different options, not even sure what I would try though considering it ran fine before all the updates. After running a premake, I am getting this message after the make command is executed:

Code: Select all

jrod@ENKI ~/Downloads/t-engine4-src-1.0.0beta34 $ make
==== Building physfs (debug) ====
physfsrwops.c
In file included from ../src/physfs/physfsrwops.c:24:0:
../src/physfs/physfsrwops.h:30:17: fatal error: SDL.h: No such file or directory
compilation terminated.
make[1]: *** [../obj/Debug/physfs/physfsrwops.o] Error 1
make: *** [physfs] Error 2
Anyone have an idea for me to try? Maybe not so much the compile but even anything to try regarding high CPU usage?

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Trying to compile on Gentoo

#2 Post by greycat »


j-rod
Halfling
Posts: 106
Joined: Sun Apr 23, 2006 7:17 pm

Re: Trying to compile on Gentoo

#3 Post by j-rod »

Heh, I did notice that SDL.h missing. I didn't think to check the wiki. Thanks, hopefully I can compile a playable version somehow.

Gah. Having issues emerging that SDL, emerge is complaining about curl, and some USE flag issue that I either need to enable or disable. I built a Gentoo system *once* years back. I don't remember much about it, didn't stay on my machine very long. I'll maybe try to get down to it later tomorrow.

Code: Select all

Calculating dependencies \

!!! Problem resolving dependencies for net-misc/curl
... done!

!!! The ebuild selected to satisfy "curl" has unmet requirements.
- net-misc/curl-7.22.0::gentoo USE="gnutls ipv6 kerberos ldap nss ssl -ares -idn -libssh2 -static-libs -test -threads"

  The following REQUIRED_USE flag constraints are unsatisfied:
    nss? ( !gnutls )

  The above constraints are a subset of the following complete expression:
    threads? ( !ares ) gnutls? ( ssl ) nss? ( ssl ) nss? ( !gnutls )

*durrrr*

USE="-nss" emerge curl

j-rod
Halfling
Posts: 106
Joined: Sun Apr 23, 2006 7:17 pm

Re: Trying to compile on Gentoo

#4 Post by j-rod »

So I realize now that I simply don't have the SDL 1.3 available in the repositories, so compiling fails. Wiki is also apparently outdated for Beta32 and later. Kinda bummed, I might just move to another distro or something, might have more luck there. I am certain this hardware will play the game smoothly, just need to find an agreeable OS.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Trying to compile on Gentoo

#5 Post by darkgod »

You can simply compile SDL 1.3 and install it in a non-system location, like /opt/SDL
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

greycat
Sher'Tul
Posts: 1396
Joined: Tue May 11, 2010 11:51 pm

Re: Trying to compile on Gentoo

#6 Post by greycat »

I wrote the Debian section on the howtocompile page, and it's up to date. The rest... someone else will have to update.

j-rod
Halfling
Posts: 106
Joined: Sun Apr 23, 2006 7:17 pm

Re: Trying to compile on Gentoo

#7 Post by j-rod »

Yeah I never had an issue compiling on my Ubuntu box, I was just trying out some other flavors. People playing ToME are already pretty isolated, the ones left playing on any linux distro are even more so. :) I reformatted to Crunchbang.

Post Reply