[Mono-list] Mac X and latest cvs source

Matthieu Cormier mcormier@cs.dal.ca
Tue, 19 Aug 2003 11:12:04 -0300 (ADT)


Thanks for the response.

> If you want to help out, you should use mono from cvs, not a version
> several months old. Mono from cvs compiles fine on macosx (yes, we know
> the last released package doesn't).

I've downloaded the latest source from cvs and unsuccessfully tried making
the mono module.

Below is a summary of what I tried to do to install.
My main questions are:
	1. What libtool is everyone using?  Does it require a specific
version?  autogen.sh tries using a --version option which isn't available
on the version I compiled and installed so I commented out that initial
test.
	2. Have I not installed glib properly?  Why is pkg-config giving
me the error displayed below?

	3. Typing make in the mcs directory gives me a Bus error.  I'm
assuming that this is because there is no jit compiler on Mac and it is
try to use mint.  Is this correct?

Thanks, M@

 ----------- Begin of Install notes -----

checked out mono sources
Tried ./autogen.sh --prefix=/usr/local in mono module
wanted libtool
	dowloaded and extracted libtool-1.4.2.tar.gz
	setenv CFLAGS "-no-cpp-precomp"
	./configure
	make
	make check
		====================
		4 of 79 tests failed
		====================
		FAILED: mdemo-make.test
			dryrun.test
			hardcore.test
			mdemo-make.test
	sudo make install
retried ./autogen.sh --prefix=/usr/local
still wanted libtool
looked at autogen.sh
tried libtool --version ( didn't work )
commented out libtool test in autogen.sh

retried ./autogen.sh --prefix=/usr/local
Got Error message
	=======================================================================
	checking for pkg-config... /usr/local/bin/pkg-config
	./configure: line 8054: syntax error near unexpected token
	`PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
	./configure: line 8054: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)'
	=======================================================================

looked at "pkg-config --version"  0.15 installed
decided to install latest stable pkg-config 0.14
	downloaded and extracted
	setenv CFLAGS "-no-cpp-precomp"
	./configure
	make
	make check
		===================
		All 11 tests passed
		===================
	sudo make install
retried ./autogen.sh --prefix=/usr/local
Got Error message
        =======================================================================
        checking for pkg-config... /usr/local/bin/pkg-config
        ./configure: line 8054: syntax error near unexpected token
        `PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
        ./configure: line 8054: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)'
        =======================================================================
I know I installed glib-2.0.7 but let's install the latest stable release
	downloaded and extracted glib-2.2.2.tar.gz from ftp.gtk.org
	setenv CFLAGS "-no-cpp-precomp"
	./configure
	make
	make check
		====================
		2 of 30 tests failed
		====================
	suod make install

retried ./autogen.sh --prefix=/usr/local
	recieved same error message
        =======================================================================
        checking for pkg-config... /usr/local/bin/pkg-config
        ./configure: line 8054: syntax error near unexpected token
        `PKG_CHECK_MODULES(BASE_DEPENDENCIES,'
        ./configure: line 8054: `PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)'
        =======================================================================


NOTES: When running ./autogen.sh --prefix=/usr/local I get the following
"You should update your `aclocal.m4' by running aclocal"
running aclocal inside the directory does not eliminate this message,
have never used aclocal before

----------- End of INstall notes---------