[Mono-list] Problems building mono 0.6 under Cygwin

Nick Drochak ndrochak@gol.com
Fri, 7 Sep 2001 22:07:38 +0900


>
> Thanks for you reply, Nick.
>
> > When you run make where does it think the glib-config is? For
> intance mine
> > says:
> > checking for glib-config... /usr/local/bin/glib-config
> Mine say the same.
>
> Ok, I'm not an experienced developer on the Unix platform so I'll tell you
> what I did in details in hope that you will be able to tell me
> where I went
> wrong.

<vbg> Did I make you think that I was experienced?  That was a big mistake!
I am new also.

> Build libtool 1.4 and install (make check fails in 9 of 84 tests)
> Build glib 1.2-10 and install (make check a success)

OK, I did the same here.

> In mono dir I do the following:
> libtoolize
> aclocal
> autoconf
> autoheader
> automake -a (can't find ltconfig)
> automake
> autogen.sh

I just ran autogen.sh.  I didn't run the others manually, although I think
autogen.sh does it for you (just guessing here from the output I remember
seeing).

> make
>

For me the make completed without errors, but had warnings (see the other
thread).  That is, until they added monoburg.  That's a whole new kettle of
fish.  I'm pressing on to find out how to fix the build on cygwin for that
one as I type.  I'll let you know what I find.

> Make starts out trying to compile monoburg.c which fails on my machine
> because it cannot find glib.h and glibconfig.h. I copy these files into
> directories gcc knows (e.g. /usr/local/include). Running make
> again results
> in the error I got earlier (undefined reference to g_*).
>
> Any ideas to what I did wrong?

Doesn't sound like you did anything wrong.  Can you grep for those g_*
functions?  Where ever they are add to your path and see if that helps.

Later,
Nick D.