aMule Forum
English => Compilation problems => Topic started by: Stu Redman on October 15, 2011, 09:38:07 PM
-
...
Copying file mkinstalldirs
Copying file po/Makefile.in.in
autopoint does not honor dataroot variable, patching.
[: 58: xLinux: unexpected operator
Running aclocal -I m4
Running autoheader
Running autoconf
Creating pixmaps Makefile.am
Running automake --foreign -a -c -f
Do we have a problem here?
-
...
Copying file mkinstalldirs
Copying file po/Makefile.in.in
autopoint does not honor dataroot variable, patching.
[: 58: xLinux: unexpected operator
Running aclocal -I m4
Running autoheader
Running autoconf
Creating pixmaps Makefile.am
Running automake --foreign -a -c -f
Do we have a problem here?
Umm right now I'm very busy and I can't test, but it seems like a problem of using dash in place of dash
Look for /bin/sh and replace it for /bin/bash
If the problem persist I'll have a look.
-
With bash it works.
-
As far as I know, it's the '==' operator. In sh you need to use '=' for string equality tests. Bash understands both.
I won't revert it to sh, because currently I can't test it (I don't have a real sh), but it'd be better tested and fixed before someone cries that his system doesn't have bash.
-
I'll bash anyone whose system doesn't have bash (and my rationale for allowing it was that it's only autogen, and releases have it already generated). Also we probably require bash in other places TBH. But, there's no real need for it.
-
I'll bash anyone whose system doesn't have bash
Solaris, for example (iirc).
Also we probably require bash in other places TBH.
I don't think so. There was a thread some time ago (I won't look it up for you now) reporting sh incompatibilities. Then we fixed the build system at least to work with plain sh.