[Mono-dev] Mono support on Fedora, Ubuntu, Solaris, etc.

Paul paul at all-the-johnsons.co.uk
Tue Sep 16 08:05:29 EDT 2008


Hi,

> > For Fedora/RedHat users, the rule for 64 bit users is that code goes
> > in /usr/lib64 rather than /usr/lib. Mono has quite a few packages which
> > proports to move code to the correct libdir, but has things hardcoded as
> > $(prefix)/lib rather than $(libdir) within config (and even source)
> > files.
> > 
> > To Fedora/RedHat users, this is a 100% no-no.
> 
> Where should IL be placed?  Platform-independent IL, at that (e.g.
> monodoc.dll, System.Core.dll, etc.)?  openSUSE places this
> under /usr/lib, even on 64-bit platforms (which admittedly is rather
> odd).  What does Fedora suggest?

Simple. If it's built for a 32 bit box, /usr/lib, if it's built for a 64
bit box /usr/lib64.

> (It's not as if this is unique to Mono, either, as Java, Perl, Python,
> and others will all have lots of platform-independent code...)

Correct, but they still follow the packaging guidelines of using the
lib/lib64 for the architecture.

> I tried looking at Fedora's wiki, but it's no help -- what directory is
> %{buildroot}%{gemdir} (as used in Ruby) or %{_javadir} (Java)?  I have
> no idea.

%{buildroot} is the root directory where the RPM is put together.
%{_javadir} is normally %{_libdir}/jvm (or similar

TTFN

Paul
-- 

Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080916/b070e993/attachment-0001.bin 


More information about the Mono-devel-list mailing list