<div dir="ltr">Just remove that line from the spec file.  "Recommends" is not supported in Fedora.</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><b style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Jonathan Gagnon</b><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Architecte d'application / Application Architect</span><div><div>600, boulevard Armand-Frappier, bureau 200</div><div>Laval (Québec) H7V 4B4 </div>
<div>Canada</div><div><div>T : 450-662-6101 poste 234</div><div><font size="1"><a href="http://www.croesus.com" target="_blank"><img src="http://www.croesus.com/images/signature/Croesus-Logo.jpg"></a><br></font></div><div>
<a href="http://www.facebook.com/pages/Croesus-Finansoft/345020305606240" target="_blank"><img src="http://www.croesus.com/images/signature/facebook32.png"></a><a href="http://www.linkedin.com/company/croesus-finansoft?trk=hb_tab_compy_id_26141" target="_blank"><img src="http://www.croesus.com/images/signature/linkedin32.png"></a><a href="https://twitter.com/CroesusFin" target="_blank"><img src="http://www.croesus.com/images/signature/twitter32.png"></a><br>
</div><div><a></a><br></div></div></div></div></div>
<br><br><div class="gmail_quote">On Tue, Aug 27, 2013 at 1:14 PM, Chris Tacke <span dir="ltr"><<a href="mailto:ctacke@opennetcf.com" target="_blank">ctacke@opennetcf.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Well that seems to have been a huge waste of time.  I built up a Fedora 18 machine, installed all of the packages necessary for building, pulled the source for mono, did a configure, make and a make install.  All went fine.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I then tried to use rpmbuild and again, I get the following error (just like I did on Ubuntu):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Error: line 51: Unknown tag: Recommends: libgdiplus0 >= 2.6<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">At this point, should I assume that deploying Mono is best done with a tarball instead?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Chris<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <a href="mailto:mono-devel-list-bounces@lists.ximian.com" target="_blank">mono-devel-list-bounces@lists.ximian.com</a> [mailto:<a href="mailto:mono-devel-list-bounces@lists.ximian.com" target="_blank">mono-devel-list-bounces@lists.ximian.com</a>] <b>On Behalf Of </b>Chris Tacke<br>
<b>Sent:</b> Tuesday, August 27, 2013 9:44 AM<br><b>To:</b> <a href="mailto:mono-devel-list@lists.ximian.com" target="_blank">mono-devel-list@lists.ximian.com</a></span></p><div><div class="h5"><br><b>Subject:</b> Re: [Mono-dev] Building a Mono RPM<u></u><u></u></div>
</div><p></p></div></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So as a bit of background, this is what I’m doing.  I am building an embedded Linux platform running Wind River, which I believe is Fedora based.  The tools for building the OS came on a Ubuntu VM.  I am trying to build Mono (succeeded there), and then an installer for Mono so that I can install Mono on the embedded device.  I’ll follow that with an installer for our application.  I was told that RPM was the mechanism for installing packages on Wind River, so I went down that road.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">What it sounds like you’re telling me is that for building an RPM package for Wind River, I should be using Fedora and no Ubuntu, because Ubuntu has outdated RPM infrastructure since it doesn’t use RPM for package management.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is this all correct?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I guess I can build up a Fedora machine to do the work for the installer, it just means that now I need two dev OSes to build this target (three if you count Windows where we actually do the app development).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is there any guide or documentation for building a Mono RPM for Fedora?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Chris<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Rafael Teixeira [<a href="mailto:monoman@gmail.com" target="_blank">mailto:monoman@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, August 27, 2013 6:28 AM<br><b>To:</b> Chris Tacke<br><b>Cc:</b> <a href="mailto:mono-devel-list@lists.ximian.com" target="_blank">mono-devel-list@lists.ximian.com</a><br><b>Subject:</b> Re: [Mono-dev] Building a Mono RPM<u></u><u></u></span></p>
</div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">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.<u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">You can look at projects of apps that depend on Mono like MonoDevelop(<a href="http://monodevelop.com/" target="_blank">http://monodevelop.com/</a>), Banshee (<a href="http://banshee.fm/" target="_blank">http://banshee.fm/</a>), F-Spot (<a href="http://f-spot.org/" target="_blank">http://f-spot.org/</a>) are packaged for Debian/Ubuntu (not sure they are packaged for Fedora/Red Hat nowadays).<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Hope it helps,<u></u><u></u></p></div></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal">Rafael Teixeira<br>
O..:.)oooo<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Aug 26, 2013 at 8:33 PM, Chris Tacke <<a href="mailto:ctacke@opennetcf.com" target="_blank">ctacke@opennetcf.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Let me preface this with the fact that I’m pretty new to Linux.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">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?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span style="color:#888888"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Chris</span><span style="color:#888888"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span style="color:#888888"><u></u><u></u></span></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt">
<br>_______________________________________________<br>Mono-devel-list mailing list<br><a href="mailto:Mono-devel-list@lists.ximian.com" target="_blank">Mono-devel-list@lists.ximian.com</a><br><a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><u></u><u></u></p>
</blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div><br>_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br></blockquote></div><br></div>