[Mono-devel-list] [patch] gacutil problems packaging monodoc

Tom McLaughlin tmclaugh at sdf.lonestar.org
Fri Oct 22 01:17:12 EDT 2004


On Wed, 2004-10-20 at 13:29 -0400, Tim Gerla wrote:
> I've been packaging Mono and associated tools for the Specifix Linux
> distribution (http://wiki.specifix.com/) and I ran into a problem
> packaging monodoc. The makefile calls gacutil with a /gacpath switch
> using $(DESTDIR)$(libdir) as the argument. This makes gacutil encode the
> root packaging directory directly into the package, which makes things
> break.
> 
> I looked at how gtk-sharp handles gacutil, and it just does:
> 
> gacutil ... -root $(DESTDIR)$(libdir)
> 
> Taking the default gacdir from the Mono configuration, I assume.
> 

Hi Tim, I've run into this too while packaging for FreeBSD.  Due to the
filesystem hierarchy standard, the mono binary resides under /usr/local
but gtk-sharp and dependent apps reside under /usr/X11R6 with Gnome.
I've been patching make files to run the following

gacutil ... -root $(DESTDIR)$(libdir) -gacdir $(DESTDIR)$(libdir)

I've patched a number of applications and libraries to handle this
layout already.  If you like, for each package under it's files/ are my
local patches which include things like this.  You can grab them from
here:

http://forge.novell.com/modules/xfmod/cvs/cvspage.php/bsd-sharp/
(Novell Forge doesn't seem to let you view some of my files from the web
for some unknown reason so you will need to check out the tree.  It's
small.)

I too would like a little clarification on exactly how gacutil's -root
and -gacdir switches work.  Why do I need both in order to install
assemblies outside of bin/mono's own prefix?  Once I know what I have
been doing is correct and won't break any installation on any other
systems I would like to submit these upstream.  Thanks.

Tom

<snip>
-- 

BSD# Project - Porting Mono to FreeBSD
http://forge.novell.com/modules/xfmod/project/?bsd-sharp




More information about the Mono-devel-list mailing list