Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mono (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Tue Mar 29, 2005 12:40 am    Post subject: Mono (SOLVED) Reply with quote

I am trying to get mono installed on my system so that I can install autopano-sift. When I emerged mono (with dev/lang/mono ~amd64 in package.keywords) it seems to work but nothing that is dependant on it, like gtk-sharp, will configure since no mono.pc was created in the PKG_CONFIG_PATH or anywhere for that mater. This was with mono 1.0.4-r1

I have tried tried using the latexer overlays on dev.gentoo.org and I can't get the mono overlay to even compile. Does anyone here know what needs to be done to install a basic runtime mono setup on amd64? I only need to install mono, gtk-sharp, libgdiplus and glade-sharp. It should not be this difficult.

I am running 2004.3 and most of my system is amd64 with a hand full of ~amd64 apps.

Here is how mono fails:

Code:

make[8]: *** [../../class/lib/basic/System.dll] Error 1
make[8]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs/class/System'
make[7]: *** [all.real] Error 2
make[7]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs/class/System'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs'
make[4]: *** [profile-do--basic--all] Error 2
make[4]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mono-1.1.4-r1/work/mono-1.1.4'
make: *** [all] Error 2

!!! ERROR: dev-lang/mono-1.1.4-r1 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! MONO compilation failure
!!! If you need support, post the topmost build error, NOT this status message.



Last edited by hvengel on Tue Mar 29, 2005 5:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Mar 29, 2005 3:47 am    Post subject: Reply with quote

Don't use mono 1.1.4, try to install 1.1.2 instead..

I have serious problems getting 1.1.4 to run anything, but 1.1.2 works fine..

The byte code compiler segfaults...

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Tue Mar 29, 2005 7:29 am    Post subject: Reply with quote

ebrostig wrote:
Don't use mono 1.1.4, try to install 1.1.2 instead..

I have serious problems getting 1.1.4 to run anything, but 1.1.2 works fine..

The byte code compiler segfaults...

Erik


I looked around for the 1.1.2 ebuild and can't find it. Did some more looking around and found this https://bugs.gentoo.org/show_bug.cgi?id=83770 which is exactly the error that I was seeing and it has a work around. It involves a use change to I am rebuilding things right now.
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Tue Mar 29, 2005 5:46 pm    Post subject: Reply with quote

OK this worked and I now have mono, gtk-sharp, glade-sharp and libgdiplus installed. I have not tested them yet.
Back to top
View user's profile Send private message
stefanero
n00b
n00b


Joined: 29 Mar 2005
Posts: 7

PostPosted: Tue Mar 29, 2005 7:11 pm    Post subject: Reply with quote

btw

Code:

mono -V
Mono JIT compiler version 1.1.5, (C) 2002-2005 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : altstack
        Globalization: normal


1.1.5 works quite well to :)
_________________
www.aMule.org -- the linux Mule
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Thu Mar 31, 2005 3:30 am    Post subject: Reply with quote

I got the software I wanted to run working today and indeed mono 1.1.5 seems to work as it should.
Back to top
View user's profile Send private message
isolationism
Tux's lil' helper
Tux's lil' helper


Joined: 01 Nov 2004
Posts: 127

PostPosted: Thu Mar 31, 2005 4:56 am    Post subject: Reply with quote

Can anyone verify whether the ASP Apache module is working properly yet for amd64 or not? I have 1.0.4-r1 installed but the apache module has never worked (for 64-bit apache, of course). Thanks in advance.
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Thu Mar 31, 2005 7:25 pm    Post subject: Reply with quote

Sorry I am not using mono with Apache. I installed it to run an application called autopano-SIFT which is used to find control points for stitching panoramas from multipule images.

All I can say for sure is that 1.04-r1 or any mono version < 1.1 will not work in 64 bit mode since these earlier versions do not have support for amd64. You have to upgrade to >= mono 1.1. Basicly you need to unmask mono 1.1.5 and possibly other apps that are related to mono, depending on what your app needs, to get things working on amd64. In my case I had to unmask mono 1.1.5, libgdiplus 1.1.5, gtk-sharp 1.0.8 and glade-sharp 1.0.8 to get autopano-SIFT working. These are all developement versions so don't expect them to be totaly stable. But you may find this stable enough for your needs.

I also found that I could not build autopano-SIFT from source. So I think there is a problem with the C# compiler in mono 1.1.5. But I got the app running by copying the byte code that was supplied as part of the tarball. So if you need to compile C# code you may want to keep an earlier version of mono around until such time that 1.1.x becomes stable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum