#1
Mar 17, 2008, 6:37 pm
Hide
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.
#2
Mar 17, 2008, 7:44 pm
Hide
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.
#3
Mar 17, 2008, 8:02 pm
Hide
Thanks for the quick reply. Where might I get the latest CVS and that patch?
#4
Mar 17, 2008, 9:29 pm
Hide
Off the IVAN sourceforge CVS and the Downloads, respectively.
#5
Mar 17, 2008, 10:32 pm
Hide
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?
#6
Mar 17, 2008, 10:57 pm
Hide
There are all sorts of CVS managers for Linux.
#7
Mar 18, 2008, 7:35 pm
Hide
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 -d
server:anonymous@ivan.cvs.sourceforge.net:/cvsroot/ivan login
when prompted for the password just hit enter then type:
cvs -z3 -d
server: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.
#8
Mar 18, 2008, 8:20 pm
Hide
#9
Mar 18, 2008, 8:22 pm
Hide
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.
#10
Mar 18, 2008, 8:39 pm
Hide
#11
Mar 18, 2008, 8:42 pm
Hide
Huhn. I really have no clue, then. Make sure your SDL's fine, too. Compiling the test stuff will help.
#13
Mar 19, 2008, 12:45 pm
Hide
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.)
#14
Mar 19, 2008, 1:00 pm
Hide
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!
#15
Mar 19, 2008, 1:58 pm
Hide
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!!!
#16
Mar 19, 2008, 2:37 pm
Hide
To get through the autoconfigure/automake stuff, try this:
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...
#17
Mar 19, 2008, 2:57 pm
Hide
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.
#18
Mar 19, 2008, 4:08 pm
Hide
You have to install the C library "pcre", which my patch uses to assign sounds to events.
#19
Mar 19, 2008, 5:25 pm
Hide
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
#20
Mar 19, 2008, 5:54 pm
Hide
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?
#21
Mar 19, 2008, 6:26 pm
Hide
That did it! It compiled successfully! Thanks a ton!
Lol..segmentation fault.