Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: frogu on August 29, 2005, 10:06:55 am

Title: fs2_open CVS linux compile problem
Post by: frogu on August 29, 2005, 10:06:55 am
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 )'
Title: fs2_open CVS linux compile problem
Post by: mrduckman on August 29, 2005, 10:50:49 am
what wxwin version are you using?
Title: fs2_open CVS linux compile problem
Post by: frogu on August 29, 2005, 12:07:12 pm
wxGTK: 2.4.2-r3

If that is what you had in mind
Title: fs2_open CVS linux compile problem
Post by: fizz on August 30, 2005, 03:40:25 am
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?
Title: fs2_open CVS linux compile problem
Post by: Mr_Maniac on August 30, 2005, 06:36:31 am
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...
Title: fs2_open CVS linux compile problem
Post by: mrduckman on August 30, 2005, 11:35:37 am
Hmm. I have earlier versions of automake/aclocal and autoconf..
Some syntax must have changed :(
Title: fs2_open CVS linux compile problem
Post by: dizzy on August 30, 2005, 12:35:38 pm
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 :)
Title: fs2_open CVS linux compile problem
Post by: mrduckman on August 30, 2005, 02:27:33 pm
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 :)
Title: fs2_open CVS linux compile problem
Post by: fizz on August 31, 2005, 01:53:05 am
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.
Title: fs2_open CVS linux compile problem
Post by: WMCoolmon on August 31, 2005, 03:05:58 am
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.
Title: fs2_open CVS linux compile problem
Post by: frogu on September 04, 2005, 05:05:29 pm
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.
Title: fs2_open CVS linux compile problem
Post by: Mr_Maniac on September 04, 2005, 06:56:26 pm
@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...
Title: fs2_open CVS linux compile problem
Post by: frogu on September 05, 2005, 06:13:05 am
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.