[Libreoffice] help asked/offered for bug 36555
Lionel Elie Mamane
lionel at mamane.lu
Tue Nov 22 09:14:45 PST 2011
On Tue, Nov 22, 2011 at 11:12:13AM +0100, Winfried Donkers wrote:
>>> .autogen.sh succeeded, now make give a strange error:
>>> ...
>>> configure: creating ./config.status
>>> ./configure: line 8411: test: too many arguments
>>> ...
>>> configure: error: could not make ./config.status
> I found out that not ./configure caused the problem, but ./dmake/configure
> line 8411 of this configure says
> if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
> As I'm not well versed with sed, I daren't tell you what which(?) variable looks like.
This looks like a incompatibility between autoconf-generated
"boilerplate" code and your environment. I see that our
dmake/configure has been generated by a rather old version of
autoconf, the first thing to try is:
#install recent version of autoconf; 2.67 or 2.68 should be good
cd /path/to/libreoffice_build_tree/dmake/
autoreconf
Check that configure has been regenerated; it should says at approx
line 3: "Generated by GNU Autoconf 2.6x" with "2.6x" being the version
of autoconf you installed; should be significantly bigger than 1 :)
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, which is on my
copy:
ac_delim='%!_!# '
--
Lionel
More information about the LibreOffice
mailing list