Talk:Dependencies

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Fedora 9: pls help (added date))
(Fedora 9: Progress to clean build)
Line 7: Line 7:
 
The "ruby" package is listed in the Ubuntu dependencies... what's it used for, and is it really a dependency?  I run a few OpenSim instances and none of the machines have Ruby installed.  --[[User:DaveCoyle|DaveCoyle]] 16:49, 2 December 2008 (UTC)
 
The "ruby" package is listed in the Ubuntu dependencies... what's it used for, and is it really a dependency?  I run a few OpenSim instances and none of the machines have Ruby installed.  --[[User:DaveCoyle|DaveCoyle]] 16:49, 2 December 2008 (UTC)
  
===Fedora 9===
+
==Fedora 9 progress to clean build (not quite running yet)==
I have mono-1.9.1. I have checked out and tried to build tagged release 0.6.1 of opensim. It is unclear to me whether either mono-2.0 or components thereof are also required ([[Build Instructions]] seem to say mono-1.9.1 is OK). The build message from nant says:
+
''Wanted to share what I had so far, such as it is.''
 +
 
 +
Having started with OpenSim tagged release 0.6.1 and a Fedora 9 distro previously unconcerned with Mono (apart from defaults), I have gotten to a clean build by installing the following packages (actual versions included for reference, note all are fc9).
 +
*log4net-1.2.10-4.fc9.i386
 +
*mono-ndoc-1.3.1-2.fc9.i386
 +
*mono-nunit22-2.2.10-5.fc9.i386
 +
*mono-nunit-1.9.1-2.fc9.i386
 +
*mono-sharpcvslib-0.35-3.fc9.i386
 +
*nant-0.85-21.fc9.i386
 +
*nant-docs-0.85-21.fc9.i386
 +
*xmlrpc-c-1.14.8-1.fc9.i386
 +
*cmake-2.6.2-1.fc9.i386
 +
*mono-devel-1.9.1-2.fc9.i386
 +
*mono-nunit-devel-1.9.1-2.fc9.i386
 +
*mono-nunit22-devel-2.2.10-5.fc9.i386
 +
*mono-jscript-1.9.1-2.fc9.i386
 +
 
 +
===Summary===
 
<pre>
 
<pre>
 +
$ su -
 +
# yum install log4net mono-ndoc mono-nunit22 mono-nunit mono-sharpcvslib nant nant-docs xmlrpc-c
 +
# yum install cmake mono-devel mono-nunit-devel mono-nunit22-devel mono-jscript
 +
# exit
 +
$ svn co http://opensimulator.org/svn/opensim/tags/0.6.1-release/ opensim
 +
$ cd opensim
 +
$ build clean all
 +
</pre>
 +
===Notes===
 +
* Although I am using mono-1.9.2, it builds clean with <code>Target framework: Mono 2.0 Profile</code>.  Not sure what that means yet.
 +
* Execution boinks on wanting an Oracle client. My next step is to work out configuring for MySQL.
 +
* I get this bit of complaint on the build, but it seems to finish successfully regardless,
 +
<pre># @export PATH=/usr/local/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/home/smaines/bin
 +
nant
 
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
 
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
 
Copyright (C) 2001-2006 Gerry Shaw
 
Copyright (C) 2001-2006 Gerry Shaw
Line 15: Line 46:
  
  
** (/usr/lib/NAnt/bin/NAnt.exe:23980): WARNING **: The following assembly referenced from /usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll could not be loaded:
+
** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: The following assembly referenced from /usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll could not be loaded:
 
     Assembly:  nunit.core    (assemblyref_index=4)
 
     Assembly:  nunit.core    (assemblyref_index=4)
 
     Version:    2.2.10.0
 
     Version:    2.2.10.0
Line 22: Line 53:
  
  
** (/usr/lib/NAnt/bin/NAnt.exe:23980): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
+
** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
  
** (/usr/lib/NAnt/bin/NAnt.exe:23980): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
+
** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
 
[loadtasks] Failure scanning "/usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll" for extensions. Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
 
[loadtasks] Failure scanning "/usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll" for extensions. Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
 
BUILD FAILED
 
 
The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.
 
    Unable to locate 'mono' module using pkg-config. Download the Mono development packages from http://www.mono-project.com/downloads/.
 
 
For more information regarding the cause of the build failure, run the build again in debug mode.
 
 
Try 'nant -help' for more information
 
 
</pre>
 
</pre>
  
On a guess (not a nant/mono/windoze guy), I tried building with <code>nant -t:mono-1.0</code>, with the same results.
+
-SM 14:35, 6 January 2009 (UTC)
 
+
Thanks in advance for your help,
+
 
+
-SM 10:50, 5 January 2009 (UTC)
+

Revision as of 07:35, 6 January 2009

Contents

Ubuntu

I created an Ubuntu 8.04 section and moved the links to the mono 1.9.1 upgrade instructions there. Mono 1.9.1 is already in intrepid/main. --DaveCoyle 16:49, 2 December 2008 (UTC)

Questions

The "ruby" package is listed in the Ubuntu dependencies... what's it used for, and is it really a dependency? I run a few OpenSim instances and none of the machines have Ruby installed. --DaveCoyle 16:49, 2 December 2008 (UTC)

Fedora 9 progress to clean build (not quite running yet)

Wanted to share what I had so far, such as it is.

Having started with OpenSim tagged release 0.6.1 and a Fedora 9 distro previously unconcerned with Mono (apart from defaults), I have gotten to a clean build by installing the following packages (actual versions included for reference, note all are fc9).

  • log4net-1.2.10-4.fc9.i386
  • mono-ndoc-1.3.1-2.fc9.i386
  • mono-nunit22-2.2.10-5.fc9.i386
  • mono-nunit-1.9.1-2.fc9.i386
  • mono-sharpcvslib-0.35-3.fc9.i386
  • nant-0.85-21.fc9.i386
  • nant-docs-0.85-21.fc9.i386
  • xmlrpc-c-1.14.8-1.fc9.i386
  • cmake-2.6.2-1.fc9.i386
  • mono-devel-1.9.1-2.fc9.i386
  • mono-nunit-devel-1.9.1-2.fc9.i386
  • mono-nunit22-devel-2.2.10-5.fc9.i386
  • mono-jscript-1.9.1-2.fc9.i386

Summary

$ su -
# yum install log4net mono-ndoc mono-nunit22 mono-nunit mono-sharpcvslib nant nant-docs xmlrpc-c 
# yum install cmake mono-devel mono-nunit-devel mono-nunit22-devel mono-jscript
# exit
$ svn co http://opensimulator.org/svn/opensim/tags/0.6.1-release/ opensim
$ cd opensim
$ build clean all

Notes

  • Although I am using mono-1.9.2, it builds clean with Target framework: Mono 2.0 Profile. Not sure what that means yet.
  • Execution boinks on wanting an Oracle client. My next step is to work out configuring for MySQL.
  • I get this bit of complaint on the build, but it seems to finish successfully regardless,
# @export PATH=/usr/local/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/home/smaines/bin:/opt/SDK/jdk/bin:/home/smaines/Projects/standup-maven/apache-maven-2.0.9/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/home/smaines/bin
nant
NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net


** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: The following assembly referenced from /usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll could not be loaded:
     Assembly:   nunit.core    (assemblyref_index=4)
     Version:    2.2.10.0
     Public Key: 5545c11907873871
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/NAnt/bin).


** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.

** (/usr/lib/NAnt/bin/NAnt.exe:31728): WARNING **: Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.
[loadtasks] Failure scanning "/usr/lib/NAnt/bin/NAnt.NUnit2Tasks.dll" for extensions. Could not load file or assembly 'nunit.core, Version=2.2.10.0, Culture=neutral, PublicKeyToken=5545c11907873871' or one of its dependencies.

-SM 14:35, 6 January 2009 (UTC)

Personal tools
General
About This Wiki