SVN (revision 4069) configure syntax error [debian unstable]

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Lazarus
Rookie
Posts: 13
Joined: Tue Aug 29, 2006 2:51 am

SVN (revision 4069) configure syntax error [debian unstable]

Post by Lazarus »

Doing a ./autogen or ./configure results in:

Code: Select all

./configure: line 3421: syntax error near unexpected token `1.2.0,,AC_MSG_ERROR'
./configure: line 3421: `AM_PATH_SDL(1.2.0,,AC_MSG_ERROR(SDL >= 1.2.0 is required))'
I use a PIII Thinkpad and I believe I have the necessary packages installed (concerning SDL that's: libsdl1.2-dev, libsdl1.2debian, libsdl1.2debian-alsa, libsdl-mixer1.2, libsdl-image1.2)

So... what's up :?:
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Your automake or autoconf is lacking.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Post by CyberBotX »

What versions of automake and autoconf should we be using? I'm using automake 1.5 and autoconf 2.53 and I got this under FreeBSD:

Code: Select all

/usr/local/bin/gm4:configure.in:21: bad regular expression: `AS_ESCAPE([$as_me:$LINENO: error: cannot run _AC_LANG compiled programs.
If you meant to cross compile, use `--host'.], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:21: bad regular expression: `AS_ESCAPE([$as_me: error: cannot run _AC_LANG compiled programs.
If you meant to cross compile, use `--host'.], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:76: bad regular expression: `AS_ESCAPE([$as_me:$LINENO: result: cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:76: bad regular expression: `AS_ESCAPE([${ECHO_T}cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:81: bad regular expression: `AS_ESCAPE([$as_me:$LINENO: result: cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:81: bad regular expression: `AS_ESCAPE([${ECHO_T}cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:164: bad regular expression: `AS_ESCAPE([$as_me:$LINENO: result: cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:164: bad regular expression: `AS_ESCAPE([${ECHO_T}cross-compiling], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:213: bad regular expression: `AS_ESCAPE([$as_me:$LINENO: WARNING: This is not what you want, use --target or force-arch], [`""])': Invalid range end
/usr/local/bin/gm4:configure.in:213: bad regular expression: `AS_ESCAPE([$as_me: WARNING: This is not what you want, use --target or force-arch], [`""])': Invalid range end
Strangely enough, ZSNES still configured and compiled fine.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Lazarus
Rookie
Posts: 13
Joined: Tue Aug 29, 2006 2:51 am

Post by Lazarus »

Aaah, I was sure I still had automake installed from last time... but I was wrong. Thanks Nach. Sorry for being a waste of spacetime.

CyberBotX, automake 1.10 and autoconf 2.61 give me no errors (or warnings).
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

For Ubuntu/Kubuntu here... I'm currently using automake 1.40 and autoconf 2.59.

Perhaps upgrading autoconf would help (or downgrade automake?)
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
CyberBotX
Lurker
Posts: 109
Joined: Sun Jan 30, 2005 10:06 pm
Location: Wouldn't you like to know?
Contact:

Post by CyberBotX »

Never knew that the different versions of automake and autoconf could be mixed and matched. I've always seen other things put automake 1.4 with autoconf 2.13, automake 1.5 with autoconf 2.53, and automake 1.9 with autoconf 2.59. But using automake 1.4 with autoconf 2.59 worked just fine here. Good information to know.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

I'm using:
autoconf (GNU Autoconf) 2.61
automake (GNU automake) 1.4-p6
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Post Reply