[tex-live] FreeBSD binaries: Build failed

Karl Berry karl at freefriends.org
Tue Sep 28 14:59:31 CEST 2004


Hi Manfred,

    cd Build/source
    ...
    : not found
    ./configure: 20: Syntax error: "elif" unexpected (expecting "then")
    configure: error: ./configure failed for utils/lcdf-typetools

Do you get the same error in source.development?  You shouldn't.  An
"elif" error in lcdf-typetools was fixed in source.development a couple
weeks ago, I presume it's the same one.  (Among other things.)

The lcdf-typetools/configure starts like this:

    ... 11 lines of comments ...
    12	if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    13	  emulate sh
    14	  NULLCMD=:
    15	  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    16	  # is contrary to our usage.  Disable this feature.
    17	  alias -g '${1+"$@"}'='"$@"'
    18	elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    19	  set -o posix
    20	fi

So the elif is at line 18, not 20.

Or perhaps it is a shell problem?  Can you try running bash configure in
lcdf-typetools, just to see?

Thanks,
karl



More information about the tex-live mailing list