automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make depmode=cpp work with Microsoft Visual C++ on MSYS.


From: Peter Rosin
Subject: Re: Make depmode=cpp work with Microsoft Visual C++ on MSYS.
Date: Fri, 30 Jan 2009 01:00:04 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Den 2009-01-30 00:14, skrev Ralf Wildenhues:
* Peter Rosin wrote on Thu, Jan 29, 2009 at 04:39:16PM CET:
Den 2009-01-28 13:41, skrev Ralf Wildenhues:
You can install Autoconf below a different --prefix.
Yes, but MSYS is MSYS is MSYS is a bitch. I fail to get automake
to build even with autoconf-2.63 (in a new prefix, first in $PATH).

I get this when I type "make" (after ./configure CC="bla bla bla")

 cd .. && perllibdir="/home/peda/automake/git/automake/lib:./lib" 
"/home/peda/automake/git/automake/automake" --libdir=lib --gnu
/bin/sh: /home/peda/automake/git/automake/automake: No such file or directory
make: *** [Makefile.in] Error 1

When building git Automake, start with ./bootstrap.  That way, you avoid
time stamp issues (which are likely to appear due to checked-out
generated files).  Sorry for the inconvenience.

I did that of course. But I get this when I try to bootstrap in MSYS:

$ ./bootstrap
Constant name 'HASH(0xa2a1ea8)' has invalid characters at ./automake.tmp line 
293
BEGIN failed--compilation aborted at ./automake.tmp line 293.

so I bootstrapped in Cygwin. Then I don't remember what I did exactly,
I can't reproduce the "No such file or directory" error. I probably
did something non-sensical.

So, retrying, with ordinary gcc, no MSVC when everything seems fragile
even without throwing that into the mix...

0. Use Cygwin
1. git clone git://git.savannah.gnu.org/automake.git
2. cd automake
3. ./bootstrap
4. ./configure
5. make
6. make clean
7. Use MSYS
8. ./configure
9. make

All seems well up to this point. (needed to do ./configure; make; make clean
in Cygwin in order to rebuild some docs for which I don't have tools in MSYS)

10. make -e check

Lots of fails... Ctrl-C since it looks so bad.

11. cd tests
12. ./depcomp.test
[PATH is echoed]
=== Running test ./depcomp.test
++ pwd
/c/cygwin/home/peda/automake/git/tmp/automake/tests/depcomp.dir
+ cat
+ rm -f depcomp
+ mkdir subdir
+ mkdir subdir2
+ cat
+ cp subdir/Makefile.am subdir2/Makefile.am
+ :
+ :
+ aclocal-1.10a -Werror
+ automake-1.10a --foreign -Werror -Wall --add-missing
Constant name 'HASH(0xa2a3f20)' has invalid characters at 
/c/cygwin/home/peda/automake/git/tmp/automake/automake line 293
BEGIN failed--compilation aborted at 
/c/cygwin/home/peda/automake/git/tmp/automake/automake line 293.
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ exit_status=1
+ cd /c/cygwin/home/peda/automake/git/tmp/automake/tests
+ test 0 '!=' 0
+ echo ': exit 1'
: exit 1
+ exit 1

13. Bad luck! ;-) Back to square one.

Same problem at line 293 in all tests I have tried to run manually (not that
many TBH).

Cheers,
Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]