Author Topic: Error while running configure.ac in PlaneShift...  (Read 4961 times)

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Error while running configure.ac in PlaneShift...
« 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
« Last Edit: December 30, 2007, 12:07:32 am by Gergon »

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Error while running configure.ac in PlaneShift...
« Reply #1 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?

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #2 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...

Tulkhan

  • Guest
Re: Error while running configure.ac in PlaneShift...
« Reply #3 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

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #4 on: January 01, 2008, 11:33:21 pm »
I also have the same versions installed.
What could be the problem?

Tulkhan

  • Guest
Re: Error while running configure.ac in PlaneShift...
« Reply #5 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".

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #6 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.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Error while running configure.ac in PlaneShift...
« Reply #7 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. 

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #8 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.
« Last Edit: January 05, 2008, 11:51:08 pm by Gergon »

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #9 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?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: Error while running configure.ac in PlaneShift...
« Reply #10 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.

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #11 on: January 06, 2008, 07:20:06 pm »
Oh, ok, sorry.

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Error while running configure.ac in PlaneShift...
« Reply #12 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 :(

Gergon

  • Traveller
  • *
  • Posts: 27
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #13 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?

Mordraugion

  • Hydlaa Notable
  • *
  • Posts: 816
  • Ex Dev and GM
    • View Profile
Re: Error while running configure.ac in PlaneShift...
« Reply #14 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
No longer a member of the PlanShift Development Team
Hokinon or Hoki on IRC

PS is not a democracy, nor will it ever be -- Karyuu 2006
http://www.hydlaaplaza.com/smf/index.php?topic=21049.msg230947#msg230947