[Mono-dev] Building my own binaries

Ockert olabuschagne at growthpathanalytics.com
Tue Jun 17 20:32:06 EDT 2008


It feels like I’ve been dusting my head against a brick wall for the last 2
days. I cannot get mono to compile on OSX. I have copied the latest code for
both mono and mcs from SVN.
When I try to run ./autogen.sh –prefix=/usr/local
I get:
Running libtoolize...
Running aclocal  ...
Running autoheader...
Running automake --gnu  ...
automake: mono/profiler/Makefile.am: `libmono-profiler-cov.la' is already
going to be installed in `lib'
automake: mono/profiler/Makefile.am: `libmono-profiler-aot.la' is already
going to be installed in `lib'
**Error**: automake failed.
If I download the latest tarball I can run ./configure –prefix=/usr/local  I
get a lot of yeses and no’s. What would be considered a successful run? When
I run make it runs for some time and I can see warnings in the output but no
errors. How would I know if the build was successful?
When I run make install
I get
Making install in libgc
Making install in include
Making install in private
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in doc
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/libgc-mono" || .././install-sh -c -d
"/usr/local/share/libgc-mono"
mkdir: /usr/local/share: Permission denied
mkdir: /usr/local/share: No such file or directory
make[3]: *** [install-dist_pkgdataDATA] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
I assume that I do not have my build environment all configured yet. Has
anybody ever written a complete set of instructions on how to start from
scratch on OSX?

I have less than a week to proof that mono will be a viable solution for us.
At his point it does not look promising.

Is there a way for me to get a patch rather than to build my own version of
mono? At this point I do not have the cycles to spend on trying to get mono
compiled I have to build the application that needs to run on OSX and
Windows.
 
Ockert


Andreas Färber wrote:
> 
> 
> Am 09.06.2008 um 23:05 schrieb Geoff Norton:
> 
>> Ockert,
>>
>> On Mon, 2008-06-09 at 14:00 -0700, Ockert wrote:
>>> I have an application that needs to run on Mac OSX that will be
>>> deployed to thousands of Macs in schools. The application is a .Net
>>> application and I would love to run it under Mono. I have to make a
>>> decision on whether Mono is suitable and stable enough within two
>>> weeks. The current released version of the Mono does not meet the
>>> minimum criteria. (The textbox does not accept keyboard input on a  
>>> PPC
>>> Mac) I have logged bugs which I have been told is fixed but not
>>> implemented in the current binaries. I have search the forums for
>>> hours, I have asked for help to configure a build environment where I
>>> can build my own binaries on the latest codebase but have not  
>>> received
>>> any response in 5 days. If I cannot get a way to test the fixed bugs
>>> within the next week, I will have to find another way to deploy my
>>> application on the Mac. I would really appreciate some help on this!
>>
>> Building your own mono for the mac is slightly involved.  For
>> development / testing I would suggest bootstrapping from macports (to
>> get glib and friends), then you should be able to compile mono from  
>> SVN
>> without too much fuss.  GDI+ however requires a little more  
>> fiddling, as
>> you need to have X11 installed and set some additional environment
>> variables to have everything detected.
> 
> I'd consider that an overstatement! No MacPorts is needed for  
> bootstrapping Mono, just use the Mono.framework you've already  
> installed; you may need to set ACLOCAL_FLAGS and PKG_CONFIG_PATH  
> appropriately, search lists.ximian.com for it (try my name, and I  
> believe the instructions were from Robert Jordan).
> 
> Andreas
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Building-my-own-binaries-tp17741947p17957455.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list