The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

problems compling

The Cathedral of Attnam  >  Trouble Shooting and Bugs
Print

View profile
Send message
Find posts Find topics
 
Mar 17, 2008 at 11:37 pm #1  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
problems compling
Hello. I am trying to compile IVAN in Ubuntu, and I ran into a bit of difficulties. I put the output up at pastebin, here is the link.

http://pastebin.com/m5462a6c2

Thanks in advance for the help.
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 18, 2008 at 12:44 am #2  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
You're going to run into a lot more than that using the latest non-CVS. Use the CVS version and Z's diff patch.
 
 
View profile
Send message
Find posts Find topics
 
Mar 18, 2008 at 1:02 am #3  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
Thanks for the quick reply. Where might I get the latest CVS and that patch?
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 18, 2008 at 2:29 am #4  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
Off the IVAN sourceforge CVS and the Downloads, respectively.
 
 
View profile
Send message
Find posts Find topics
 
Mar 18, 2008 at 3:32 am #5  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
Downloading a single file at a time off the CVS tree doesn't appeal to me. Is there an easier way to download it off of there?
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 18, 2008 at 3:57 am #6  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
There are all sorts of CVS managers for Linux.
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 12:35 am #7  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
Thank you for your help. For anyone else who is trying to compile from CVS all you have to do in the console is:

cvs -dserver:anonymous@ivan.cvs.sourceforge.net:/cvsroot/ivan login

when prompted for the password just hit enter then type:

cvs -z3 -dserver:anonymous@ivan.cvs.sourceforge.net:/cvsroot/ivan co -P ivan/

there ya go! Ivan will be downloaded to your home directory in a folder named ivan.
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 1:20 am #8  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
whoops, I spoke too soon, now I'm getting a different error:

http://pastebin.com/m6a5ce09e

 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 1:22 am #9  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
In the future post the whole compile log.

You don't have SDL_Mixer, which for some ungodly reason Z decided needed to be added to IVAN.
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 1:39 am #10  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
after ensuring that SDL_mixer was installed, I still get the same error.

http://pastebin.com/m144adbe6

the complete output of make.
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 1:42 am #11  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
Huhn. I really have no clue, then. Make sure your SDL's fine, too. Compiling the test stuff will help.
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 1:43 am #12  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
test stuff?
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 5:45 pm #13  !
Z's Avatar
Z
Atavus' Little Helper


Joined: Dec 2, 2007
Occupation: archmage
Location: Attnam
Interests: roguelikes
Posts: 367
Groups:
That's because I only changed the MinGW makefile (ivanmgw.mak), not the Linux one. IVAN 3D uses some libraries that IVAN does not use, and you have to tell the compliler about it.

Find your Makefile, there you should have "-lSDL"; replace it with "-lSDL -lSDL_mixer -lpcre". (This should be fixed in automake, not in Makefile, but I don't know enough about automake.)
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 6:00 pm #14  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
Wonderful! I don't know squat about automake either...so until I find how to do that I'm not going to be able to compile. Thanks for the help guys, and now my quest to figure out how to fix that with automake!
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 6:58 pm #15  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
I went into Makefile just for kicks and fixed that line. I then tried to compile again, and it stopped at a different point:

http://pastebin.com/m2298c87b

This is getting tiresome, but I won't stop until I have IVAN on my new EEE PC!!!
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 7:37 pm #16  !
Ighalli
giant mushroom


Joined: Mar 18, 2008
Posts: 1
Groups:
To get through the autoconfigure/automake stuff, try this:


Code

aclocal
autoconf
automake
./configure
make
sudo make install



After ./configure, you'll have the Makefile which may need changed. When I did it, there were 2 errors involving scope operators. When I changed them, it compiled. My version is based on the CVS (only) and seg faulted when I left the village, so there is still more to be done...
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 7:57 pm #17  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
I've done all of that already, I'm now trying to get it to compile successfully. I have no clue what to change in the makefile except what was mentioned earlier. Thanks anyways, but I need to know what to change.
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 9:08 pm #18  !
Z's Avatar
Z
Atavus' Little Helper


Joined: Dec 2, 2007
Occupation: archmage
Location: Attnam
Interests: roguelikes
Posts: 367
Groups:
You have to install the C library "pcre", which my patch uses to assign sounds to events.
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 10:25 pm #19  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
Alrighty, that took it a bit farther. Yet another error comes up though, and I've ensured to get all the dev packages for libpcre.

pastebin rocks....
http://pastebin.com/m45bb22e9


I want to thank you guys for helping me out on this. Words cannot express how much I love IVAN...and after this compiles successfully, I'm going to play the heck out of it!

Just for confirmation, this is the line I altered in my Makefile:

SDL_LIBS = -L/usr/lib -lSDL -lSDL_mixer -lpcre

which I altered from

SDL_LIBS = -L/usr/lib -lSDL
 
-- -jd
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 10:54 pm #20  !
Z's Avatar
Z
Atavus' Little Helper


Joined: Dec 2, 2007
Occupation: archmage
Location: Attnam
Interests: roguelikes
Posts: 367
Groups:
In line 35 of your pastebin, you still have only -lSDL. I think you did something wrong with adding -lSDL_mixer -lpcre. Maybe there is some other place with -lSDL?
 
 
View profile
Send message
Find posts Find topics
 
Mar 19, 2008 at 11:26 pm #21  !
Fryguy5134
giant spider


Joined: Mar 17, 2008
Posts: 14
That did it! It compiled successfully! Thanks a ton!

Lol..segmentation fault.
 
-- -jd
 
 Print


The Cathedral of Attnam  >  Trouble Shooting and Bugs  >  problems compling

Jump to