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.
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:
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).
src/common/Makefile.am:11: library used but `RANLIB' is undefined
src/common/Makefile.am:11:
src/common/Makefile.am:11: The usual way to define `RANLIB' is to add
`AC_PROG_RANLIB'
src/common/Makefile.am:11: to `configure.ac' and run `autoconf' again.
/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__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__fastdepCC does not appear in
AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in
AM_CONDITIONAL
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
src/irmp3d/Makefile.am:16: `irmp3d_SOURCES' includes configure substitution
[EMAIL PROTECTED]@';
src/irmp3d/Makefile.am:16: configure substitutions are not allowed in
_SOURCES variables
/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
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? :-)
2) how come ./configure can create a Makefile which is not acceptable by
make?
3) do I even need automake in this case? I have a Makefile.in, but I'm sure
it is way old/deprecated.
Thanks, Warren
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page