OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Jochen Schäfer on January 28, 2016, 08:38:09 am
-
Hi there.
I have a problems with this configure from SDL, I'm working on.
I get the message
./configure.lineno: 23670: Syntax error: "fi" unexpected (expecting "then")
I don't know why. If I remove the offending code, then the error moves to another part of the script.
So I think the error is somewhere. As I'm no expert in shell programming, I don't know where to look at.
Autoconf is 2.69, automake is 1.14.1-3.
-
These errors are horrible to trace down. The problem can be way up the page and is probably a unterminated if or missing semi-colon.
Did you generate the configure file or is it the original?
-
I generated it, because I'm working on building SDL 1.2.15 with gcc.
-
I hope you use all rpm tools. As autoreconf works great with those.
-
I hope you use all rpm tools. As autoreconf works great with those.
Not always. I've had problems like the parent where I was better off not using the autotools or even using the autotools on Linux to work around issues. Last time was with Pango.
-
I hope you use all rpm tools. As autoreconf works great with those.
Yes, I do.
-
I hope you use all rpm tools. As autoreconf works great with those.
Not always. I've had problems like the parent where I was better off not using the autotools or even using the autotools on Linux to work around issues. Last time was with Pango.
This sounds somehow strange, as Dmitriy for sure uses the RPM tools and he built Pango w/o problems. Eventually you had some old stuff?
regards
Silvan
-
I hope you use all rpm tools. As autoreconf works great with those.
Yes, I do.
Which command's did you use to regenerate configure?
-
I hope you use all rpm tools. As autoreconf works great with those.
Not always. I've had problems like the parent where I was better off not using the autotools or even using the autotools on Linux to work around issues. Last time was with Pango.
This sounds somehow strange, as Dmitriy for sure uses the RPM tools and he built Pango w/o problems. Eventually you had some old stuff?
Well there was http://trac.netlabs.org/ports/ticket/89 (http://trac.netlabs.org/ports/ticket/89) as well as with some versions I was getting a similar error as this thread is about, IIRC when trying to remove the docbooks dependency, perhaps the same Perl issue And why do we have a configure.lineno?
-
Which command's did you use to regenerate configure?
The supplied autogen.sh, which concats the files in acinclude/ to aclocal.m4 and then does a plain autoconf.
-
Try running autoreconf -fvi
-
Try running autoreconf -fvi
Well, now I get another error at another line. I don't know what to make out of that.