Jump to content

automake- 1.9 & compile issues.....


Guest spamhippy

Recommended Posts

Guest spamhippy
Posted

hiya... downloaded your engine and thought i'd give 'er a whirl. problem that i'm having is that it seems to want to use automake 1.8 ... i use 1.9... i found some linked files that refer to " usr/share/automake-1.8' in the admin file... i changed the links for 1.9 ... but it still isn't compiling. i'm guessing (i've had something like this happen once before...) that somewhere in the program it has 'automake-1.8' actaully written in there somewhere. i'm not a programmerbut i was wondering if you did the old * thing if you could make gem more agreeable with various automake versions (in otherwords...)

 

" usr/share/automake* "

 

instead of....

 

"usr/share/automake-1.8"

 

(for the stuff inside the program... i understand that this may not work for links...)

 

..would this work? does the different versions of automake matter?

 

well... just a suggestion. thought i'd throw the idea out here.

 

anyway- thanks for the program! hope to get it working soon (it could just be me... lol. but i found a couple of 1.8 files so i'm guess that's it...)

 

best wishes & happy programming (lol)

Guest Edheldil
Posted

It will use automake if it's in your PATH. e.g. what you get by running "which automake" ?

In worst case, you can use your own automake by running autogen.sh as

 

export AUTOMAKE=/usr/local/bin/automake
./autogen.sh

 

Edheldil

Posted

hiya...

 

thanks for the reply. like i said it could be me... lol. (it probably is....) i should clarify. . basically i tried this program out before and couldn't get it to work on my box (got an error about automake...) the last time i got that error (with a different program) i found out that they had written in an older version of automake and i finally got it to compile by editing everything... never got around to trying to get gem to run... just recently tried a newer version (cvs...) got same error... found the links for 1.8 in admin and thought ahh!!! ...but i've had a chance to look at it a bit more and am not finding anymore references to 1.8... so my bad...lol....

the errors i'm getting (from cofig.log) are........

 

|| test ! -s conftest.err

configure:2836: $? = 0

configure:2839: test -s conftest.o

configure:2842: $? = 0

configure:2860: result: none needed

configure:2878: gcc -c -g -O2 conftest.c >&5

conftest.c:2: error: syntax error before "me"

configure:2884: $? = 1

configure: failed program was:

| #ifndef __cplusplus

| choke me

| #endif

configure:3028: checking for style of include used by make

configure:3056: result: GNU

configure:3084: checking dependency style of gcc

configure:3174: result: gcc3

configure:3243: checking for g++

configure:3259: found /usr/bin/g++

configure:3269: result: g++

configure:3285: checking for C++ compiler version

configure:3288: g++ --version </dev/null >&5

g++ (GCC) 3.3.6

Copyright © 2003 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

 

and...........

 

 

|| test ! -s conftest.err

configure:3472: $? = 0

configure:3475: test -s conftest.o

configure:3478: $? = 0

configure:3504: g++ -c -g -O2 conftest.cc >&5

conftest.cc: In function `int main()':

conftest.cc:15: error: `exit' undeclared (first use this function)

conftest.cc:15: error: (Each undeclared identifier is reported only once for

each function it appears in.)

configure:3510: $? = 1

configure: failed program was:

| /* confdefs.h. */

|

| #define PACKAGE_NAME "gemrb"

| #define PACKAGE_TARNAME "gemrb"

| #define PACKAGE_VERSION "0.2.5.1"

| #define PACKAGE_STRING "gemrb 0.2.5.1"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE "gemrb"

| #define VERSION "0.2.5.1"

| /* end confdefs.h. */

|

| int

| main ()

| {

| exit (42);

| ;

| return 0;

| }

 

 

..this second one keeps popping up in various forms... and i don't understand what it means...lol. i'm running slackware 10.2 (current) linux 2.6.13, pentium3 1gig, 256 ram. (probably more than you need to know but...lol)

 

anywho.. thanks for the help & for the reply :)

Posted

Those 'errors' are not real errors. They are part of the compiling environment detection.

you should do this:

 

autogen.sh

configure

make

make install

 

configure might get parameters like --prefix=$HOME/gemrb

to get gemrb installed in your home dir. (if i recall correctly).

 

If you cannot manage to compile gemrb, there will be a binary installer available soon.

Posted

hiya! & happy belated thanksgiving...lol.

well... i did everything on the list ...except 'autogen.sh' (usually i just.. config.. make.. make install....) never did an 'autogen' on anything before (and they usually run...) anyway- i did it this time with autogen and it built! the only problem i'm getting now is when i try to run it i get. the following errors....

 

[KEYImporter]: Searching for gemrb.INI...[ERROR]

[ERROR]

Cannot Load INI

Termination in Progress...

[KEYImporter]: Searching for defsound.2DA...[ERROR]

Press enter to continue...

 

i've done slocate on the files & know where they're at... but can't figure out how to get gem to reda them (i'm trying to play planescape BTW)

 

i've found the 2 files and try sticking them everywhere ... and they aren't reading.

 

any ideas? hope i'm not being a pest or anything. thanks for your time.....

Posted

yup... already got that........ here what i got going in gem's config...

 

# pst Planescape Torment #

# (More will come) #

# #

#####################################################

 

GameType=pst

 

#####################################################

# Game Name [string] Title for GemRB window, use #

# anything you wish, e.g. Baldur's Gate 3: RotFL #

#####################################################

 

should i post my entire config file?

 

 

you have to configure

gametype=bg2

(or similar) in gemrb.cfg

Posted

my config... hope i'm not being too much trouble... lol.

 

 

#####################################################

# #

# This is the GemRB Configuration file. #

# Here are defined some default parameters for #

# basic configuration and paths definition. #

# #

# Parameters are defined as a Name=Value pair #

# The Value can be of three types: #

# - String #

# - Integer #

# - Boolean #

# #

# The String value is represented as follows #

# i.e. H:\GemRB\plugins #

# Integers are defined as follows #

# i.e. 12723 #

# Booleans are represented as 1 or 0 in this file #

# #

# Lines starting with # are ignored #

# #

#####################################################

 

#####################################################

# #

# Game Type [string] Use one of the following #

# values: #

# #

# bg1 Baldur's Gate #

# bg2 Baldur's Gate 2 : SoA #

# tob Baldur's Gate 2 : ToB #

# iwd IceWind Dale #

# how IceWind Dale : HoW or ToTL #

# iwd2 IceWind Dale 2 #

# pst Planescape Torment #

# (More will come) #

# #

#####################################################

 

GameType=pst

 

#####################################################

# Game Name [string] Title for GemRB window, use #

# anything you wish, e.g. Baldur's Gate 3: RotFL #

#####################################################

 

GameName=planescape

 

#####################################################

# Video Parameters #

#####################################################

 

#Screen width

Width=640

 

#Screen height

Height=480

 

#Bits per pixel [integer:16,24,32]

Bpp=32

 

#Fullscreen [boolean]

Fullscreen=0

 

# Delay before tooltips appear [milliseconds]

TooltipDelay=500

 

#####################################################

# Audio Parameters #

#####################################################

# #

# All volume options are in percents, with 100 #

# being the normal and default volume #

# #

#####################################################

 

# Volume of ambient sounds

VolumeAmbients = 100

 

# Volume during movie playback

VolumeMovie = 100

 

# Volume of background music

VolumeMusic = 100

 

# Volume of sound effects

VolumeSFX = 100

 

# Volume of PC or NPC voices

VolumeVoices = 100

 

#####################################################

# Case Sensitive Filesystem [boolean] #

# #

# If your installed game files are residing on a #

# case sensitive filesystem (ext2 on Linux) then #

# you need to set this value to 1, it has no #

# effect on Windows #

#####################################################

 

#CaseSensitive=1

 

#GameOnCD=0

 

#####################################################

# Debug #

#####################################################

 

# Do not play intro videos [boolean], useful for development

#SkipIntroVideos=1

 

# Draw Frames per Second info [boolean]

#DrawFPS=1

 

# Hide unexplored parts of a map

#FogOfWar=1

 

# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt

# full listing

#EnableCheatKeys=1

 

#####################################################

# Paths #

#####################################################

# #

# Note: You have to terminate all paths with the #

# path separator character ('\' for Windows users, #

# '/' for Linux users) #

# #

#####################################################

 

#####################################################

# Game Paths [string] #

# #

# These are the paths where the Game you want to #

# play is installed. #

# Enter the full path to the directory. #

#####################################################

 

GamePath=/home/exspastic/pst

CD1=/home/exspastic/pst

CD2=/home/exspastic/pst/cd2

CD3=/home/exspastic/pst

CD4=/home/exspastic/pst

CD5=/home/exspastic/pst

 

#####################################################

# GemRB Path [string] #

# #

# This is the path where GemRB is stored, just #

# enter the full path to the GemRB executable #

#####################################################

 

GemRBPath=./home/exspastic/gemrb/gemrb

 

#####################################################

# GemRB Cache Path [string] #

# #

# This is the path where GemRB will store the #

# cached files, enter the full path to the GemRB #

# Cache directory. #

#####################################################

 

CachePath=/home/exspastic/pst/cache

 

#####################################################

# GemRB GUI Scripts Path [string] #

# #

# This is the path where GemRB GUI scripts are #

# stored, usually these are in the GemRB directory #

# Enter the full path to the directory containing #

# the 'GUIScript' subdirectory. #

#####################################################

 

GUIScriptsPath=./home/exspastic/gemrb

 

#####################################################

# GemRB Plugins Path [string] #

# #

# This is the path containing GemRB plugins #

# - shared libraries (.so) on Unixes, or #

# DLLs (.dll) on windows. #

# Enter the full path to the directory. #

# #

# You may need to specify this path if running #

# GemRB from source directory on Linux. #

#####################################################

 

#PluginsPath=./home/exspastic/gemrb

 

#####################################################

# GemRB Save Path [string] #

# #

# This is the path where GemRB looks for saved #

# games. #

# Enter the full path to the directory containing #

# e.g. the 'save' subdirectory. #

# #

# You do not have to specify this if you use save #

# subdir in the GamePath directory. #

#####################################################

 

SavePath=/home/exspastic/pst/save

 

#####################################################

# Game Data Path [string] #

# #

# This is the subdirectory under GamePath where #

# game data files are stored. #

# #

# You probably do NOT want to specify this! #

#####################################################

 

#GameDataPath=data

 

#####################################################

# Game Data Override Path [string] #

# #

# This is the subdirectory under GamePath where #

# game data override files are stored. #

# #

# You probably do NOT want to specify this! #

#####################################################

 

#GameOverridePath=override

 

#####################################################

# END #

#####################################################

 

 

yes, that might help

Guest Guest_Waywocket_*
Posted
my config... hope i'm not being too much trouble... lol.

<snip>

#####################################################

#  GemRB Path [string]                              #

#                                                  #

#  This is the path where GemRB is stored, just    #

#  enter the full path to the GemRB executable      #

#####################################################

 

GemRBPath=./home/exspastic/gemrb/gemrb

 

<snip>

#####################################################

#  GemRB GUI Scripts Path [string]                  #

#                                                  #

#  This is the path where GemRB GUI scripts are    #

#  stored, usually these are in the GemRB directory #

#  Enter the full path to the directory containing  #

#  the 'GUIScript' subdirectory.                    #

#####################################################

 

GUIScriptsPath=./home/exspastic/gemrb

 

Try removing the dots from the biginning of these lines.

Posted

ahha!! lol.... that did 'er. thanks for your time :)

 

well- i'm impressed.. does the movie clips and all. hot stuff. lol.

keep up the good work.

 

thanks again.........

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...