Does anyone else have problems building CppUTest with Cygwin 2.5.0?

126 views
Skip to first unread message

A. Robert S.

unread,
Apr 25, 2016, 8:55:11 AM4/25/16
to cpputest
Specifically, Autoconf is not working right. If there was a problem, everyone using Autoconf should be having it, right? Well, it does not seem to be the case.

Everything builds perfectly fine using Cygwin 1.7.17.

Under Cygwin 2.5.0, I get errors such as this one:
$ autoreconf -i
main
::scan_file() called too early to check prototype at /usr/bin/aclocal-1.11 line 644.
aclocal
-1.11: aclocal: file `m4/lt~obsolete.m4' does not exist
autoreconf-2.69: aclocal failed with exit status: 1

The file in question actually does exist... but:
lrwxrwxrwx 1 struar2 Domain Users   39 Apr 11 15:44 lt~obsolete.m4 -> /usr/local/share/aclocal/lt~obsolete.m4

In my 2.5.0 installation, there is no /usr/local/share directory.

In my 1.7.17 installation, there is a directory /usr/local/share/aclocal, but it does not contain that file. How come it is working, then?

Either way, it seems the 2.5.4 autoconf installation is faulty....



A. Robert S.

unread,
Apr 25, 2016, 10:14:41 AM4/25/16
to cpputest
I find it strange that aclocal-1.11 is invoked when aclocal-1.15 is available? If I invoke aclocal-1.15 directly, the first error goes away, but the second one persists.

A. Robert S.

unread,
Apr 25, 2016, 10:30:47 AM4/25/16
to cpputest
Okay, answering my own question here - sort-of:

Running libtoolize in the root of CppUTest makes that problem go away (gleaned from the output of the TravisCI build). Strangely, on Travis, libtoolize seems to be called by autoreconf .. -i, so why isn't it here?

There is a new warning, however:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-
- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.11 line 4159.

Apparently, this is a problem with automake-1.11 itself?

Regards,
Robert

A. Robert S.

unread,
Apr 25, 2016, 10:31:19 AM4/25/16
to cpputest


On Monday, April 25, 2016 at 2:55:11 PM UTC+2, A. Robert S. wrote:
Reply all
Reply to author
Forward
0 new messages