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
> me I stand alone with the produced error, something else is
> going on. Presumably something fishy in my Perl configuration.
> (or lack thereof)
>
> Still, at first I tried editing the configure script, but it
> seems I just lack the proper Perl knowledge to pull that off.
> One syntax error is followed by another and finally configure
> complains about a proper End of File. After that I tried to use
> the Makefile that was configured on the Knoppix system, but that
> isn't really going to get me anywhere as well, it seems. There
> are just too many wrong code locations in the various Makefiles.
>
> Although I would enjoy just having irmp3 functioning, I think it
> is best to try and figure out why the configure script cannot be
> run on my HLFS system.
>
> The first configure error I receive is this one:
>
> ..<snip> checking for strtol... yes configure: checking internal
> module dependencies... ./configure: line 7163: syntax error
> near unexpected token `(' ./configure: line 7163: ` case
> `(ac_space=' '; set | grep ac_space) 2>&1` in'
>
> The line it complains about looks like this::
>
> # The following way of writing the cache mishandles newlines in
> values, # but we know of no workaround that is simple, portable,
> and efficient. # So, don't put newlines in cache variables'
> values. # Ultrix sh set writes to stderr and can't be
> redirected directly, # and sets the high bit in the cache file
> unless we assign to the vars. { (set) 2>&1 | case `(ac_space='
> '; set | grep ac_space) 2>&1` in *ac_space=\ *)
>
> I tried removing the ` characters, which sort of made the
> compile errors go away.
>
> So, should I be worried about some sort of Perl issue, or... ?
Does Perl run on backticks? I certainly thought scripts didn't.
sed 's/`/'/g' -i configure ?? You can always untar it again :-).
--
With best Regards,
Declan Moriarty.
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page