[Mono-list] Problems compiling Mono 2.4.2

Daniel Isenmann daniel.isenmann at gmx.de
Mon Jul 6 13:14:25 EDT 2009


Solved. Thanks to Garuma...



On Mon, 06 Jul 2009 07:09:32 +0200
"Daniel Isenmann" <daniel.isenmann at gmx.de> wrote:

> Yeah, you are right. But this was built in a fakeroot environment. So
> it has the necessary rights for doing "make install".
> 
> Like I said before, it worked for all versions before 2.4.2. I'm
> think the real problem is that //bin/install tries to install the
> same file twice:
> 
> /bin/install: will not overwrite just-created
> `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-1.0/mono/metadata/appdomain.h'
> 
> 
> Daniel 
> 
> -------- Original-Nachricht --------
> > Datum: Mon, 6 Jul 2009 09:36:19 +1000
> > Von: Dushara Jayasinghe <DusharaJ at optiscan.com>
> > An: \'Daniel Isenmann\' <daniel.isenmann at gmx.de>,
> > "Mono-list at lists.ximian.com" <Mono-list at lists.ximian.com> Betreff:
> > RE: [Mono-list] Problems compiling Mono 2.4.2
> 
> > Just curious, don't you need root access to do make install?
> > 
> > d
> > 
> > > -----Original Message-----
> > > From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> > > bounces at lists.ximian.com] On Behalf Of Daniel Isenmann
> > > Sent: Sunday, 5 July 2009 10:09 PM
> > > To: Mono-list at lists.ximian.com
> > > Subject: [Mono-list] Problems compiling Mono 2.4.2
> > > 
> > > Hi,
> > > 
> > > I have problems compiling mono 2.4.2. The compilation process went
> > > through without problems, but the "make install" command prints
> > > out following error:
> > > 
> > > -------
> > > 
> > > Making install in metadata
> > > make[2]: Entering directory
> > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata'
> > > make[3]: Entering directory
> > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata'
> > > test -z "/usr/bin" || /bin/mkdir -p
> > > "/home/ise/svn-packages/mono/trunk/pkg/usr/bin" ../../doltlibtool
> > > --quiet   --mode=install /bin/install -c pedump
> > > '/home/ise/svn-packages/mono/trunk/pkg/usr/bin' test -z
> > > "/usr/include/mono-1.0/mono/metadata" || /bin/mkdir -p
> > > "/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-
> > > 1.0/mono/metadata" /bin/install
> > > -c -m 644 attrdefs.h appdomain.h mono-debug.h mono-gc.h
> > > debug-mono-symfile.h threads.h environment.h assembly.h opcodes.h
> > > blob.h image.h metadata.h verify.h reflection.h row-indexes.h
> > > tokentype.h loader.h class.h object.h exception.h profiler.h
> > > appdomain.h mono-config.h debug-helpers.h mempool.h
> > > '/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-
> > > 1.0/mono/metadata' /bin/install:
> > > will not overwrite just-created
> > > `/home/ise/svn-packages/mono/trunk/pkg/usr/include/mono-
> > > 1.0/mono/metadata/appdomain.h'
> > > with `appdomain.h' make[3]: ***
> > > [install-libmonoruntimeincludeHEADERS] Error 1 make[3]: Leaving
> > > directory
> > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata'
> > > make[2]: *** [install-am] Error 2 make[2]: Leaving directory
> > > `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono/metadata'
> > > make[1]: *** [install-recursive] Error 1 make[1]: Leaving
> > > directory `/home/ise/svn-packages/mono/trunk/src/mono-2.4.2/mono'
> > > make: *** [install-recursive] Error 1
> > > 
> > > --------
> > > 
> > > I'm compiling with the following flags:
> > > 
> > > ./configure --prefix=/usr --sysconfdir=/etc \
> > >               --with-libgdiplus=installed --with-icu=no \
> > >               --with-tls=pthread --with-jit=yes
> > > --with-preview=yes \ --with-sigaltstack=yes --enable-nunit-tests \
> > > 	      --with-moonlight=yes
> > >   make || return 1
> > >   make install
> > > 
> > > 
> > > It worked in version 2.4 without problems. Compiling everything
> > > with gcc-4.4.0 on ArchLinux x86_64.
> > > 
> > > Any hints?
> > > 
> > > Thanks,
> > >  Daniel
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > > 
> > > ______________________________________________________________________
> > > This email has been scanned by the MessageLabs Email Security
> > > System. For more information please visit
> > > http://www.messagelabs.com/email
> > > ______________________________________________________________________
> 


-- 
Daniel Isenmann
Vogesenstr.6
76676 Graben-Neudorf

Tel.: 07255 7683338
Mobil: 0163 1439140
E-Mail: daniel.isenmann at gmx.de


More information about the Mono-list mailing list