[Mono-dev] Building a Mono RPM

Chris Tacke ctacke at opennetcf.com
Mon Aug 26 23:33:58 UTC 2013


Let me preface this with the fact that I’m pretty new to Linux.

I have pulled the Mono source and successfully built it on 32-bit Ubuntu.  I was able to successfully take the binaries generated from a “make install” and copy them to a different Linux distribution and actually run a Mono app on that target.  That seems like the wrong way to approach it though.  I suspect I should be distributing an RPM file.

So I decided to try to build the RPM file today, and I’m having very little success.  The first issue I had was that rpmbuild would give an “Unknown command: recommends” error.  So I went into the spec fiel and commented that line out, just to see where it went from there.  Now it complains that it can’t find mono-3.3.0-tar.bz2.  I can only assume that I need to generate this file, but I’m not sure exactly how.  Is there a script that will do it, or do I just tar up the installation?

Is there any documentation on how to build an RPM starting with just a clean OS build, or at least from a system where Mono has been compiled and installed?

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130826/638955fe/attachment.html>


More information about the Mono-devel-list mailing list