[nem-bug] [Nemerle 0000651]: configure skript, gacutil_base variable

feedback at nemerle.org feedback at nemerle.org
Sat Apr 8 10:52:20 CEST 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=651> 
======================================================================
Reported By:                towa
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   651
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
======================================================================
Date Submitted:             04-07-2006 23:48 CEST
Last Modified:              04-08-2006 10:52 CEST
======================================================================
Summary:                    configure skript, gacutil_base variable
Description: 
I'm not sure if the configure skript works properly.
I want suggest this following patch:

565c565
<     gacutil_base="${monopath}gacutil -root \$(DESTDIR)$mono_libdir"
---
>     gacutil_base="${monopath}gacutil -root
\$(DESTDIR)$mono_libdir/mono/"

This is how i could install nemerle.
see also here: http://bugs.gentoo.org/show_bug.cgi?id=126508
======================================================================

----------------------------------------------------------------------
 malekith - 04-08-06 09:17 
----------------------------------------------------------------------
It seems to be gentoo specific. According to the mono svn sources and the
help for gacutil:

-root <ROOTDIR>
        Used by developers integrating this with automake tools or
packaging tools
        that require a prefix directory to  be specified. The root
represents the
        "libdir" component of a prefix (typically prefix/lib).

so nemerle configure script sets it right.

Could you also post output of:

ls /usr/lib/mono
ls /usr/lib/mono/mono

----------------------------------------------------------------------
 towa - 04-08-06 10:01 
----------------------------------------------------------------------
So the gentoo configuration of gacutil is to blame?

towa at solaris ~ $ ls /usr/lib/mono/mono
gac  nemerle
towa at solaris ~ $ ls /usr/lib/mono/
1.0  compat-1.0  dbus-sharp  gecko-sharp  mono     nemerle
2.0  compat-2.0  gac         gtk-sharp    monodoc  xbuild

----------------------------------------------------------------------
 towa - 04-08-06 10:52 
----------------------------------------------------------------------
Some more infos:

This is the command, that fails:
gacutil -root
/var/tmp/portage/nemerle-0.9.2/image//usr/lib/pkgconfig/../../lib -package
nemerle -i out.stage3/Nemerle.dll

As you see, gentoo wants to install all file in a different DESTDIR. 
Maybe this causes the problem.

#> make DESTDIR=/var/tmp/portage/nemerle-0.9.2/image/ install
fails.

#> make install
works, but confuses the gentoo package management system.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-07-06 23:48 towa           New Issue                                    
04-08-06 09:17 malekith       Note Added: 0001172                          
04-08-06 09:17 malekith       Status                   new => feedback     
04-08-06 09:17 malekith       Description Updated                          
04-08-06 10:01 towa           Note Added: 0001173                          
04-08-06 10:52 towa           Note Added: 0001174                          
======================================================================




More information about the bugs mailing list