[Mono-list] Building on W2k
Gonzalo Paniagua Javier
gonzalo@gnome-db.org
Tue, 5 Mar 2002 20:52:05 +0100
* [ Fernando Lumbreras <flumbrerasc@nexo.es>
* Tue, 05 Mar 2002 10:01:35 +0100 ]
> I put mono-0.9 pkg under /usr/local of CYGWIN evironment and all other
> pkg's under /usr/local. But I had to put the dev-pkg's of glib and
> gtk+ under /target directory. <<./configure
> --prefix=/usr/local/mono-0.9>> runs perfectly. <<make>> for
> "metadata" doesn't find netdb.h. I change "makefile" and "makefile.am"
> for adding "-I$(oldincludedir) that include the "/usr/include" dir
> where is placed netdb.h. It can find it, but produce too much
> warnings and finally produce an error on socket-io.c.
Hi Fernando!
I had the same problem and did a quick and dirty trick to make
it work: just copied /usr/include/netdb.h to one of the dirs
(../ or ../.. from the directory where socket-io.c is). You will
also have to copy another file(s), but I don't remember their
names; you'll see them once netdb.h works.
Cheers!