Technical support > Linux

A Gamer Package

(1/3) > >>

Steam:
I'm a new Linux user so please treat me gently :)

Briefly, I tried  the files from sourceforge and finally got a clean configure after sorting out dependencies, but the make file quickly quit due to errors.  I then decided to make my ISP earn their money and grabbed the files from github.  This resulted in a configure with more errors, some of which I managed to sort out through the software center but still a make file which threw up errors rather quickly, however going back to the original sourceforge files I made it much further through make without critical errors that caused a stop( more dependencies sorted out thanks to the git expeience?) .  However I cannot get all the way through make with either.

I know I need files for people to see, but let me figure out this forum and pastebin first.

geever:
You can attach small files to your forum post too.

First, please attach your make log (the text it outputs to the terminal). And tell us which Linux distribution you are using.

-geever

Steam:
I'm using Ubuntu 12.04
Hardware is an old Intel box running a core 2Duo E8500@3.16GHz*2 with onboard sound and a Radeon 4830 (or was it 4850?)


I have made some progress, especially since I disabled testall, here is the makefile:

# -------- Automatically generated -----------

HAVE_XVID_H ?= 1
HAVE_THEORA_THEORA_H ?= 1
HAVE_EXECINFO_H ?= 1
HAVE_SYS_UTSNAME_H ?= 1
HAVE_LINK_H ?= 1
HAVE_CUNIT_BASIC_H ?= 1
HAVE_MXML_H ?= 1
# DEBUG ?=
# PROFILING ?=
# STATIC ?=
# W2K ?=
# SSE ?=
# HARD_LINKED_GAME ?=
HARD_LINKED_CGAME ?= 1
# DISABLE_DEPENDENCY_TRACKING ?=
# UNIVERSAL ?=
TARGET_OS ?= linux
TARGET_ARCH ?= i386
# MODE ?=
CC ?= "cc"
CXX ?= "c++"
# CROSS ?= ""
PKGBINDIR ?= "/usr/local/bin"
PKGDATADIR ?= "/usr/local/games/ufoai"
PKGLIBDIR ?= "/usr/local/lib"
# LOCALEDIR ?= ""
PREFIX ?= "/usr/local"
# cgame-campaign_DISABLE ?=
# cgame-multiplayer_DISABLE ?=
# cgame-skirmish_DISABLE ?=
# cgame-staticcampaign_DISABLE ?=
# game_DISABLE ?=
# memory_DISABLE ?=
testall_DISABLE ?= yes
# ufo_DISABLE ?=
# ufo2map_DISABLE ?=
# ufoded_DISABLE ?=
# ufomodel_DISABLE ?=
uforadiant_DISABLE ?= yes
# ufoslicer_DISABLE ?=

# allow to specify your own targets
-include config.mk

Make will now complete compiling, but not without errors?  The response to make lang:

http://pastebin.com/wCCWUpMe

The response to make maps is similar with the additional filesystem initialization at the end with an error:

http://pastebin.com/NWPx0tf0

kurja:
You could download the maps, instead of compiling them all yourself, if you have no particular reason to compile them?

is it necessary to compile lang if not using other than english?

Steam:
I was following (perhaps too blindly?) the instructions from here:

http://ufoai.org/wiki/Coding#Compiling_the_source

which are repeated here:

http://ufoai.org/wiki/Debian

I'm not sure where I could download the maps from?  Yes, I have seen further down that page the python update instructions and the make maps-sync instructions, but I think the links are broken(?)

Navigation

[0] Message Index

[#] Next page

Go to full version