[Mono-dev] Building a Mono RPM

Rafael Teixeira monoman at gmail.com
Tue Aug 27 11:27:36 UTC 2013


It just sounds strange that you are trying to build an RPM package on a
system based on DEB packaging, in Ubuntu it would be easier to package a
.deb package to target Debian-based distros like Debian/Ubuntu/Mint/etc...
or switch to Fedora as your distro for building and packaging if you are
targeting the Fedora/Red Hat/Centos/etc... family of distros that use RPM
files.

You can look at projects of apps that depend on Mono like MonoDevelop(
http://monodevelop.com/), Banshee (http://banshee.fm/), F-Spot (
http://f-spot.org/) are packaged for Debian/Ubuntu (not sure they are
packaged for Fedora/Red Hat nowadays).

Hope it helps,

Rafael Teixeira
O..:.)oooo


On Mon, Aug 26, 2013 at 8:33 PM, Chris Tacke <ctacke at opennetcf.com> wrote:

> 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****
>
> ** **
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20130827/31741dc4/attachment.html>


More information about the Mono-devel-list mailing list