Hi
I'm trying to build MAD under Cygwin but seem to be having trouble with paths to the include directory.
I *think* the environment is OK because I can build my own gcc binary by running configure then make supplied with the gcc source package.
However, the configure supplied with the MAD source package does not seem to be able to detect the include directory (/usr/include I believe). For example, I get the message: Checking for ANSI C header files...no The individual header file checks also get a negative result.
Note that configure does in fact run to completion. When I subsequently try running make, it recurses into the mad/intl directory then bombs on the first header file it can't find. The error message is: In file included from intl-compat.c:23 libgettext.h 33: sys/types.h: no such file or directory.
By way of background, I set up two project directories to build MAD and gcc. They are at the same level, viz: c:\cygwin\home\Andrew\gcc c:\cygwin\home\Andrew\mad
I simply unzipped mad-0.14.2b.tar.gz into the second of these directories before running configure from that directory.
As part of my experiments, I also regenerated configure using autoconf but this did not pick up the path to the include directory.
Right now I'm stumped as to why gcc builds OK but MAD won't. Can someone please suggest a remedy to my problem?
My system is a PC running Win98 and a Duron processor.
Apologies if this is all rather naive - I admit it is my first experience with Cygwin and building GNU software.
Regards Andrew
I remember vaguely that I had problems with Cygnus and configure with other programs as well. Basically, configure was confused about the system I was running it on - it could not decide between Windows and Unix and gave up. Seems like you got a bit further but it still doesn't work... the Visual C++ projects included in the MAD distribution work out of the box, so perhaps you could get hold of Visual C++?
Eckhart