Author Topic: fs2_open CVS linux compile problem  (Read 3321 times)

0 Members and 1 Guest are viewing this topic.

Offline frogu

  • 22
    • http://wiki.xhejn.org [polish]
fs2_open CVS linux compile problem
Hello, I'm a big fs/fs2/b5 fan, thus I've tried to compile fs2_open from source obatained from CVS checkout (did't find any linux binaries, or packaged code), but I can't move past autogen-sh (or manual aclocal && autoconf && automake && ./configure && make).

Any ideas what's wrong? Need more info?
PS. Thanks in advance for Your time

software version:
recent gentoo linux
autoconf: 2.59
automake: 1.9.5

Here's the freindly output:
Code: [Select]

frogu@ph34r ~/piaskownica/fs2_open/fs2_open $ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
Running aclocal-1.9  ...
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
  run info '(automake)Extending aclocal'
  or see [url]http://sources.redhat.com/automake/automake.html#Extending-aclocal[/url]
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/pstoedit.m4:7: warning: underquoted definition of AM_PATH_PSTOEDIT
/usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of AC_PATH_DPS_GUESS_GNUSTEP
/usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of AC_PATH_DPS_GUESS
/usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of AC_PATH_DPS_CHECK_LIB
/usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of AC_PATH_DPS_CHECK_HEADER
/usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of AC_PATH_DPS_CHECK
/usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of AC_PATH_DPS
/usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of AC_CHECK_DPS_NXAGENT
/usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of AC_PATH_DPSET
/usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of AC_PROG_PSWRAP
/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
Running automake-1.9 --add-missing --copy --foreign  ...
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
code/Makefile.am:469: FS2_OS_WIN32 does not appear in AM_CONDITIONAL
code/Makefile.am:481: FS2_OS_UNIX does not appear in AM_CONDITIONAL
code/Makefile.am:488: FS2_OS_WIN32 does not appear in AM_CONDITIONAL
code/Makefile.am:495: FS2_OS_UNIX does not appear in AM_CONDITIONAL
code/Makefile.am:502: FS2_SOUND does not appear in AM_CONDITIONAL
code/Makefile.am:541: FS2_OS_WIN32 does not appear in AM_CONDITIONAL
code/Makefile.am:550: FS2_OS_WIN32 does not appear in AM_CONDITIONAL
code/Makefile.am:596: FS2_OS_UNIX does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
Running autoconf...
configure.ac:16: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:205: error: possibly undefined macro: AM_OPTIONS_WXCONFIG
configure.ac:206: error: possibly undefined macro: AM_PATH_WXCONFIG
configure.ac:209: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:257: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:268: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:398: error: possibly undefined macro: AM_PATH_SDL
Running ./configure ...
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 1449: syntax error near unexpected token `1.6.1'
./configure: line 1449: `AM_INIT_AUTOMAKE( 1.6.1 no-define dist-bzip2 )'

 
fs2_open CVS linux compile problem
what wxwin version are you using?

 

Offline frogu

  • 22
    • http://wiki.xhejn.org [polish]
fs2_open CVS linux compile problem
wxGTK: 2.4.2-r3

If that is what you had in mind

 

Offline fizz

  • 25
    • Crimson Fields
fs2_open CVS linux compile problem
That looks really odd. It might have to do with aclocal not finishing because of this line
Code: [Select]
/usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
Can you try removing that file and running autogen again?

 
fs2_open CVS linux compile problem
Hmm... Have you tried to re-checkout the CVS-Tree?
And yes... Try to remove the "path_dps.m4"... But make a back-up of that file before you remove it ;)
I'm using a Gentoo-Linux, too (updating every day)... And I don't even have a "path_dps.m4"...
Hmm... No! Wait!
emerge the gentoolkit and then do a
"equery b /usr/share/aclocal/path_dps.m4"
That should list to what package this file belongs....
You can paste the output here...
Maybe we can help then...

 
fs2_open CVS linux compile problem
Hmm. I have earlier versions of automake/aclocal and autoconf..
Some syntax must have changed :(

 

Offline dizzy

  • 26
    • http://dizzy.roedu.net
fs2_open CVS linux compile problem
Well, even automake devs don't give support for automake versions earlier than 1.9.x. So better checkout to have automake 1.9.x and autoconf > 2.53 :)

 
fs2_open CVS linux compile problem
Yeah.
But, MacOSX 10.4.2 and debian testing (which I use) don't have those so updated. The blesses of Gentoo, I'd guess :)

 

Offline fizz

  • 25
    • Crimson Fields
fs2_open CVS linux compile problem
You should be ok with anything greater than 1.7.0, maybe even 1.6. I'd be positively shocked if debian didn't have that (AFAIK they default to 1.4, but there are additional packages (called automake1.x or somesuch)). And anyways, building and installing automake is pretty trivial so you could always try that.

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
fs2_open CVS linux compile problem
Ubuntu had different packages for the proper automake versions, so doing an apt-get update didn't help me at all. Manually installing a new package did. It could be similar in Debian.
-C

 

Offline frogu

  • 22
    • http://wiki.xhejn.org [polish]
fs2_open CVS linux compile problem
equery b /usr/share/aclocal/path_dps.m4

[ Searching for file(s) /usr/share/aclocal/path_dps.m4 in *... ]
app-text/dgs-0.5.10-r1 (/usr/share/aclocal/path_dps.m4)

but there is no such thing in portage... strange. Will investigate it further.

 
fs2_open CVS linux compile problem
@frogu: You don't have to...
I saw that this is in bugs.gentoo.org many times...
And each time, deleting path_dps.m4 is the solution...
It's just a left-over from an very old package that was removed from portage...
Just delete this file and everything should work fine again...

 

Offline frogu

  • 22
    • http://wiki.xhejn.org [polish]
fs2_open CVS linux compile problem
Mr_Maniac, fizz:: thx.
deleting that file fixes auto* problems.

I'll try to `make` in a few days - gotta pass some exams now :(

frg.

PS. Arghhh I'm used to gentoo fscking up something now and then, but such leftover files should be cleaned by emerge clean or something.