Recently, Somebody Somewhere wrote these words
> >
> >Recently, Somebody Somewhere wrote these words
> >> I am trying to install irmp3 on my HLFS system.
> >>
> >> The same source package installs fine on a Knoppix 3.8 system,
> >> but I can't get it past the configure step on the HLFS system.
> >> Syntax errors in the configure prevent it from completing, or so
> >> it says. Since it works on the Knoppix system and Google tells
[SNIP]
> >Does Perl run on backticks? I certainly thought scripts didn't.
> >
> >sed 's/`/'/g' -i configure ?? You can always untar it again :-).
> I tried that command but it needed something to escape the '
> character that needs to replace the ` ones. I read around a bit
> but couldn't find an example about this particular sed
> replacement. Adding the normal escapecharacter didn't help. So
> I started taking it from a different route, I tried to create a
> new configure script and read a bit about the GNU auto tools.
> (automake, autoconf, autoscan, aclocal, autoheader)
>
> This is what I did: untar the package (irmp3-0.5.7-pre1.tar.gz)
> cd irmp3 remove configure* autoscan ( creates configure.scan
> with a warning about a non-existent configure.ac) cp
> configure.scan configure.ac aclocal ( recreates
> aclocal.m4, about twenty warnings about underquoted definitions
> ) autoconf ( reads configure.ac and creates configure without
> any warnings) ./configure make ( ends with a
> 'Makefile:154: *** missing separator. Stop.'.) vi +154 Makefile
> => @SET_MAKE@
>
> It seems to be working out for the better, because running
> configure actually works, but that leaves me with a Makefile
> which make promptly refuses to run. I tried automake, but it
> shows a big bunch of errors:
[BIG SNIP]
> and it doesn't recreate Makefile.in, so I guess these messages
> are fatal.
>
> Just for the record, I have no idea what I am doing here ( well,
> kind of :-) ) but I find it interesting none the less, so anyone
> willing to take the time to guide me along, please do. I'm sure
> the stuff I am learning here is going to come of use a lot more
> often, later in life.
>
> Right now, I have three questions: 1) Am I getting anywhere with
> this? :-)
Not yet. You went up a cul-de-sac, imho. The surroundings are totally
familiar - scores of errors. You jumped the first hurdle, but landed
on your backside :-)
>
> 2) how come ./configure can create a Makefile which is not
> acceptable by make?
Automake needs a reasonably tuned autogen.sh. Also, there is xmkmf
which throws together based on the config sorted by your X
install. That wants an Imakefile.
>
> 3) do I even need automake in this case? I have a Makefile.in,
> but I'm sure it is way old/deprecated.
Untar afresh, and examine the line of the configure script that
failed. Take salient terms from that and grep other config scripts
for them. I tried that here. Here's the stuff from SDL-1.2.8
(built ok under hlfs here)
1361: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1362: *ac_space=\ *)
31583: case `(ac_space=' '; set | grep ac_space) 2>&1` in
31584: *ac_space=\ *)
That's awfully like your line, isn't it? Feel free to copy & paste
- it saves thinking :-D.
I would also try a plain 'make' if you have a Makefile in there.
Some busy/lazy maintainers hack the Makefile and go, neglecting to
check if the thing will reconfigure.
--
With best Regards,
Declan Moriarty.
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page