LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-24-2009, 04:09 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Rep: Reputation: 36
How to install mono?


Has anyone ever successfully install this?

I'm trying to install it but pulling my hair out.

It keeps saying it wants this libexif.so.9 file yet it EXISTS. It refuses to go further. Isin't yum suppose to take care of that? I don't understand why it's giving met this trouble.

Quote:
[root@destard lib]# yum install mono
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mono-core.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: libgdiplus0 for package: mono-core
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
--> Finished Dependency Resolution
Error: Missing Dependency: libexif.so.9 is needed by package libgdiplus0
[root@destard lib]#

If I try to install libgdiplus I get the same error. Whats going on? I thought yum was supose to automatically resolve dependencies.

Last edited by Red Squirrel; 01-24-2009 at 04:10 PM.
 
Old 01-24-2009, 04:53 PM   #2
Renan_S2
Member
 
Registered: Jul 2007
Location: Santa Maria, Brazil
Distribution: Arch Linux
Posts: 66

Rep: Reputation: 16
Try reinstalling the package which owns libexif.so.9.

Or, from here: http://www.centos.org/modules/newbb/...11944&forum=38

"Just make sure that the extras repository is enabled and do a 'yum install mono-core'. "
 
Old 01-24-2009, 07:09 PM   #3
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Original Poster
Rep: Reputation: 36
I tried all of that, no go. Though I'm using FC7, would I have better luck with centOS?
 
Old 01-25-2009, 02:45 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
A bit strange it didn't install a dependacy, maybe the mono installer is out of shift for FC7 since FCs tend to come out like every 6 months. might be worth a try on a newer version of FC first if you are unable to install the dependancies via yum. CentOS is great for servers but not so great for desktops, can still work for desktops but setting up simple things like mp3 codecs are quite alot harder on CentOS for example, it's more geared towards being a server since it's a direct RHEL clone.
 
Old 01-25-2009, 12:37 PM   #5
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Original Poster
Rep: Reputation: 36
Trying FC9, the one I downloaded was actually made for FC9. This will be a server.
 
Old 01-28-2009, 10:35 PM   #6
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Original Poster
Rep: Reputation: 36
Just tried with CentOS 5.2 x86. Still no go, exact same error.

Code:
[root@destard runuo]# yum install mono
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mono-core.i586 0:1.9.1-2.novell set to be updated
--> Processing Dependency: libgdiplus0 for package: mono-core
--> Running transaction check
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libungif.so.4 for package: libgdiplus0
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
--> Running transaction check
---> Package giflib.i386 0:4.1.3-7.1.el5.1 set to be updated
---> Package libgdiplus0.i386 0:1.9-1.rhel4.novell set to be updated
--> Processing Dependency: libexif.so.9 for package: libgdiplus0
--> Finished Dependency Resolution
Error: Missing Dependency: libexif.so.9 is needed by package libgdiplus0
[root@destard runuo]#

I even tried "yum install libexif" and "yum instal libexif-devel" which both install, but its still telling me they don't exist.

I also checked this post: http://www.centos.org/modules/newbb/...11944&forum=38

Tried everything there, no go. I'm really at loss. IS there another distro I could try? I'm open to any distro as this box will be pretty much dedicated to running a .net application.

Or should I just rewrite the application in C++? Would that be easier? (about 500k lines of code or so)
 
Old 01-29-2009, 12:21 AM   #7
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 823

Original Poster
Rep: Reputation: 36
Ok got it working, I was actually suppose to NOT use the mono provided repository.

Not sure if this is mono specific or specific to the app I'm compiling but I get this error:

Code:
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
  at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
  at Mono.CSharp.TypeManager.UnifyTypes (System.Type[] pts, System.Type[] ats, System.Type[] inferred) [0x00000]
  at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
  at Mono.CSharp.TypeManager.InferTypeArguments (System.Type[] param_types, System.Type[] arg_types, System.Type[] inferred_types) [0x00000]
  at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, System.Reflection.MethodBase& method) [0x00000]
  at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList Arguments, Boolean may_fail, Location loc) [0x00000]
  at Mono.CSharp.MethodGroupExpr.OverloadExtensionResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& arguments, Mono.CSharp.MethodGroupExpr& mg, Mono.CSharp.Expression expr, Location loc) [0x00000]
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Return.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000]
  at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block) [0x00000]
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000]
  at Mono.CSharp.Method.Emit () [0x00000]
  at Mono.CSharp.TypeContainer.EmitType () [0x00000]
  at Mono.CSharp.RootContext.EmitCode () [0x00000]
  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
Could someone point me in right direction as to where I should look to try and debug this? No line errors or anything make it rather hard.

This would probably be better posted at the mono forums but their forums are broken. Can't register there for some reason. Keeps saying the auth code is wrong even though I type it in exactly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mono & Monodevelop how to install itpedersen Debian 9 03-27-2008 03:08 PM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 07:42 AM
libgdiplus make error /want to install for mono gaddargarson Programming 2 04-10-2005 04:38 PM
How to install Mono beta 2 on FC2 ? farzadb Fedora 4 06-06-2004 06:19 PM
Problem when I install mono ICO Linux - Software 1 08-11-2003 07:18 AM


All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration