On Wed, Nov 23, 2011 at 09:22:40AM +0100, Winfried Donkers wrote: >> This looks like a incompatibility between autoconf-generated >> "boilerplate" code and your environment.
> It says now "Generated by GNU Autoconf 2.68 for dmake 4.12." > Unfortunately, make still gives the same error messages (with a > different line numebr). Rats. >> Else, I think it leaves behind a file named confNNNNNsubs.sed with >> N being digits? >> Show us that file, as well as the lines of configure before the >> error line up to assignment of ac_delim > I can't find a *.sed file, neither in libreoffice_build_tree/., nor in > libreoffice_build_tree /dmake > The lines in libo/dmake/configure are > 6248 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` > 6249 ac_delim='%!_!# ' > 6250 for ac_last_try in false false false false false :; do > 6251 . ./conf$$subs.sh || > 6252 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 > 6253 > 6354 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` > 6255 if test $ac_delim_n = $ac_delim_num; then Ah, that piece of code looks very different from the one of autoconf 2.61 :) So, just to check I understand right, when you say the error messages are "the same with different line numbers", it means the following? ./configure: line 6251: could not make ./config.status ./configure: line 6255: test: too many arguments Then, I'd like to look at the values of "$ac_delim_n" and "$ac_delim_num"; insert printf "%s: '%s'\\n" '***** ac_delim_n' "${ac_delim_n}" printf "%s: '%s'\\n" '***** ac_delim_num' "${ac_delim_num}" just before the line: if test $ac_delim_n = $ac_delim_num; then My guess is that $ac_delim_n or ac_delim_num contain spaces, but given how they are defined, I don't see how this can happen, unless your grep does funny things. Can you try in a shell: printf 'a\nb\na\nb\na\nb\na\nb\na\nb\n' | grep -c a It should output just "5" (and a newline) and nothing else. If I'm right, then an immediate fix for the "test: too many arguments" error is to replace the line if test $ac_delim_n = $ac_delim_num; then by if test "$ac_delim_n" = "$ac_delim_num"; then But I would like to understand how they come to have a weird value. -- Lionel _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice