[Mono-list] Mac X and latest cvs source

Andy Satori dru@satori-assoc.com
Tue, 19 Aug 2003 10:32:14 -0400


Are you using Fink to do the installs or doing it manually?

What I've found is that installing the packages from Fink (something I  
personally have issues with, /sw/) works best with Mono's build  
process.   Doing it from the tarfiles seems to leave some settings not  
there.

Like you, it's been my experience that there isn't something quite  
happy with the current Mono CVS or releases, and it's been true for  
three . releases now.  I've gotten a little further than you have, but  
I'm getting a VAR_ARGS compiler error well into the source tree.

Andy

On Tuesday, August 19, 2003, at 10:12 AM, Matthieu Cormier wrote:

>
> 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---------
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>