LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-28-2010, 10:26 AM   #1
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
Mono 1.1.12 - Install older mono to co-exist with current version


I would like to know if anyone has run more than one version of mono concurrently. I want to host a Battlefield 2 server with bf2ccd that requires mono 1.1.12. CentOS 5.3 repos provide mono 1.2.4 which is neither new enough nor old enough to support bf2ccd. I have considered compiling a newer version or an older version to accommodate this but I think that the only fully supported version is the 1.1.12 and I want to have the newer mono for other projects. I have used Slackware exclusively up to now and am not familiar with CentOS yet so I would like to avoid compiling if I can. The server is an unmanaged dedicated server so I'm not certain of all of the details. AFAIK it is a standard CentOS 5.3 install.

Thanks,
Bert
 
Old 02-28-2010, 12:21 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
You are straight into compiling to do this, imho. Centos is OK for that - don't worry. What may happen is that you update sometime (Years away) and something falls over with the weirdest fault, but you can worry about that then.
1st try:
Install one PREFIX=/usr/local and another PREFIX=/opt, and remove the Centos rpm which you say is wrong version. Don't specify any of the libdir, sysconfdir, or anything in the compile line, let them default. Let the system look after the one in /usr/local but for the other, export LD_LIBRARY_PATH=/opt/lib64:/opt/lib:$LD_LIBRARY_PATH and likewise put the binary directory in the PATH when you are running that. Might sort it. If not, post the error and we'll try top sort that.
 
1 members found this post helpful.
Old 02-28-2010, 09:46 PM   #3
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
Okay, this looks like it will work. My hangup is that I always package applications into .tgz (Slackware) to install them. If I want to uninstall mono after installing this way, can I do that? Also, how do I distinguish the old mono from the new one when I call it?
 
Old 03-01-2010, 05:13 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,627

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Good idea to make packages. Try package names to distinguish them

may I suggest optmono, & ulmono, leaving room for plain old mono if the versions ever line up?
 
Old 03-02-2010, 09:54 PM   #5
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
Sorry for the delay in answering. I like your idea and I would like to understand more about packaging rpms and how to distinguish between the different binaries. Right now, though, I have just serendipitously run across an article laying out installing mindspring in centos. Since it depends on mono, the tutorial recommends installing mono 1.9.1 from the REHL 5 repos so I tried it and it worked.I think the mono 1.9.1 will be new enough to work with .NET and has proved to work with bf2ccd.
Thank you for trying to help. I don't know that I am advanced enough to make it work using multiple versions,although the idea does intrigue me.
Thanks again,
Bert
 
  


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
mono latest version for fedora8 sojan-john Linux - Software 0 02-17-2009 01:21 AM
How to install mono? Red Squirrel Linux - Software 6 01-29-2009 12:21 AM
paint-mono (Paint.net for Mono) Installer? caa1980 Linux - Software 0 10-03-2007 11:52 AM
Help Mono Installed But Mono Develop Won't Load TheGreatGonzo Slackware 8 05-18-2006 07:42 AM
Problem when I install mono ICO Linux - Software 1 08-11-2003 07:18 AM


All times are GMT -5. The time now is 09:43 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