Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.