PlaneShift

Development => Development Deliberation => gcc => Topic started by: Gergon on December 29, 2007, 04:24:23 pm

Title: Error while running configure.ac in PlaneShift...
Post by: Gergon on December 29, 2007, 04:24:23 pm
I am trying to compile it on Ubuntu 7.10.
When I type the command to run configure.ac (The one to configure PlaneShift), I get this error...
Code: [Select]
/home/cody/Development/planeshift/configure.ac: line 9: syntax error near unexpected token `[2.56]'
/home/cody/Development/planeshift/configure.ac: line 9: `AC_PREREQ([2.56])'
What do I need to do now?

Thanks,
Gergon
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Caarrie on December 30, 2007, 01:50:29 pm
what exact command are you using that is giving this error, and why are you building planeshift?
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on December 30, 2007, 02:58:12 pm
Well, these are the commands that the compiling guide gives you,
Quote
/home/user/development/planeshift$ ./autogen.sh
/home/user/development/planeshift$ ./configure --enable-debug --with-libcal3d=/home/user/development/cal3d
/home/user/development/planeshift$ jam -aq client
Ran the first one, and it told me to run configure.ac.
So I ran the second command, and then got that error.

The reason I want to build planeshift is, there are hardly no other open source 3D games out there, that are free, and yes, I am aware that it does not come with everything made, just a few characters and objects...
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Tulkhan on December 31, 2007, 08:58:38 am
Gergon, I'd hazard to guess your autoconf package is too old or not working correctly.
I have autoconf 2.61 and automake 1.9.6 installed and Planeshift's autogen.sh is running fine.

Cheers,
-tulkhan
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 01, 2008, 11:33:21 pm
I also have the same versions installed.
What could be the problem?
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Tulkhan on January 02, 2008, 04:23:01 am
I'm somewhat confused that you wrote that autogen.sh told you to run configure.ac, which it shouldn't.

You're supposed to run the configure script. configure.ac is the template from which autoconf
generates the configure script; you cannot execute that.

If you run autogen.sh, it should print either "Now please run ./configure" OR "Autogen failed".
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 02, 2008, 06:06:57 pm
Oh, ok, thanks.

Now though when I compile it I get tons and tons of errors, and nothing compiles, everything fails to compile.
After I configure it, I type 'jam' to compile it, because when I type 'jam -aq client /home/cody/Development/planeshift' it says this,
Quote
Jamfile: No such file or directory
don't know how to make client
...found 2 target(s)...
...can't find 1 target(s)...
And /home/cody/Development is my development directory.
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Induane on January 02, 2008, 06:54:21 pm
Could you try out this guide of mine?

http://vaalnor.mine.nu/psdoc/?q=node/51

Its specific to your version and might be a little more clear for you in this case. 
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 02, 2008, 10:53:10 pm
Ok, Ill try that, thanks.

EDIT:
I'm having the worst luck with my pc right now, Ubuntu crashed, then my hard drive messed up, or I gues it did, but it powers on then beeps and goes back off, then comes back on, and beeps and goes back off, it continues in that order...
As soon as I get my HD fixed, and Ubuntu installed agian, I'll use your giude to set up the Engine.

Got it fixed for now, your guide is great, its more understandable since its based on my OS's version.
Thank you very much.
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 06, 2008, 05:02:47 pm
I changed everything correctly in updaterconfig.xml, according to your guide.
It does not update, this is what the terminal says when I run the updater.
Quote
initializing...Critical files (<critical>) not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Checking registry version...
Server error 404 (http://psmirror.u24.solone.net/psupdater/version.dat)
Couldn't connect to mirror mir4!
Trying mirror mir1..
Server error: Couldn't connect to mirror (0)
Bad version info in file: /this/updatertemp/mir1.dat
Mirror lacks a version file; can't use it
Trying mirror mir2..
Server error 404 (http://planeshift.mirror.thumbnail.cz/psupdater/version.dat)
Bad version info in file: /this/updatertemp/mir2.dat
Mirror lacks a version file; can't use it
Trying mirror mir3..
Server error 404 (http://www.psmirror.org/psupdater/version.dat)
Bad version info in file: /this/updatertemp/mir3.dat
Mirror lacks a version file; can't use it
Trying mirror backup..
Server error 404 (http://laanx.fragnetics.com/updater_hidden/version.dat)
Bad version info in file: /this/updatertemp/backup.dat
Mirror lacks a version file; can't use it
Ran out of mirrors! Game cannot be updated.
What is wrong?
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Caarrie on January 06, 2008, 07:07:16 pm
http://hydlaa.com/smf/index.php?topic=24432.0

Quote
The updater is not currently working! You cannot at this time update from version .019 to .020 using the updater included with your download.
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 06, 2008, 07:20:06 pm
Oh, ok, sorry.
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Induane on January 08, 2008, 10:08:28 am
Yea, my guide is setup for when things are actually working correctly... :)  Also my site is down until the 16th :(
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Gergon on January 12, 2008, 08:58:24 pm
Ok, if I download it on Windows, and copy the art from the Windows installation, and put it in the source files on Linux, would that work?
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Mordraugion on January 13, 2008, 09:22:24 am
You can dl the Linux binary and use the art and data files from that also all you need to do is copy them to the build directory
Title: Re: Error while running configure.ac in PlaneShift...
Post by: Lanarel on January 13, 2008, 11:21:44 am
Ok, if I download it on Windows, and copy the art from the Windows installation, and put it in the source files on Linux, would that work?
I copied my windows art directory to my ubuntu installs. Seems to work. But I only run the server there (which does not use all of the art).