Hi Melissa and Brian,

The setup.sh needs three more environment variables:

export MONO_PREFIX=/opt/mono
export MONO_CFG_DIR=/opt/mono/etc
export MONO_PATH=/opt/mono/lib

This will be fixed in the next version of the package.

Also, I've noticed that some mono programs access /dev/[u]random.
Solaris patch 112438 for sunos8 sparc is required for this.

Thanks for the quick feedback.  I'll post another package once some
other issues are worked out.  (xsp currently segfaults, and I'm looking
into it).

Wade

On Wed, 2006-01-25 at 10:14 -0500, Melissa Vandenbrink wrote:
> It's still looking in /tmp
> 
> ([EMAIL PROTECTED]) ~> . /opt/mono/setup.sh
> ([EMAIL PROTECTED]) ~> cd bin/tools/mono/database/
> ([EMAIL PROTECTED]) ~/bin/tools/mono/database> mono sybaseConnectTest.exe
> 
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for System.Net.Dns --->
> System.Configuration.ConfigurationException: Cannot
> find /tmp/install/etc/mono/1.0/machine.config ()
> in <0x00100> System.Configuration.DefaultConfig:Init ()
> in <0x0000c> System.Configuration.DefaultConfig:GetConfig
> (System.String sectionName)
> in <0x00028> System.Configuration.ConfigurationSettings:GetConfig
> (System.String sectionName)
> in <0x000f4> System.Net.Sockets.Socket:CheckProtocolSupport ()
> in <0x00004> System.Net.Dns:.cctor ()--- End of inner exception stack
> trace ---
> 
> in <0x00000> <unknown method>
> in <0x0002c> Mono.Data.Tds.Protocol.TdsConnectionParameters:.ctor ()
> in <0x00020> Mono.Data.SybaseClient.SybaseConnection:.ctor
> (System.String connectionString)
> in (wrapper remoting-invoke-with-check)
> Mono.Data.SybaseClient.SybaseConnection:.ctor (string)
> in <0x00044> Test:Main (System.String[] args)
> 
> 
> On 1/24/06, Wade Berrier <[EMAIL PROTECTED]> wrote:
>         The Downloads page on the wiki has been updated with some
>         Solaris
>         package instructions.
>         
>         Wade
>         
>         On Tue, 2006-01-24 at 15:36 -0700, Wade Berrier wrote:
>         > Make sure that you load the environment
>         file: /opt/mono/setup.sh (Or the 
>         > corresponding setup.csh)
>         >
>         > You need to:
>         >
>         >  /opt/mono/setup.sh
>         >
>         > in order to set up the environment.
>         >
>         > Let me know if that doesn't work.  I'll add some
>         instructions on the 
>         > wiki about this.
>         >
>         > Wade
>         >
>         > On Tue, 2006-01-24 at 16:48 -0500, Melissa Vandenbrink
>         wrote:
>         > > I've installed the mono Solaris 8 mono package and after
>         some work
>         > > I've been able to get it to work.. however: 
>         > >
>         > > ([EMAIL PROTECTED]) ~> mono ConnectSybaseODBC.exe
>         > > The assembly mscorlib.dll was not found or could not be
>         loaded.
>         > > It should have been installed in the
>         > > `/tmp/install/lib/mono/1.0/mscorlib.dll' directory. 
>         > >
>         > > Mono keeps looking for it's dll files in /tmp - I can
>         create a symlink
>         > > to /opt/mono/lib to /tmp/install - but this will disappear
>         if the
>         > > machine is rebooted..
>         > > 
>         > > Does anyone know a fix for this?
>         > >
>         > >
>         > >
>         > > _______________________________________________
>         > > Mono-list maillist  -  Mono-list@lists.ximian.com
>         > > http://lists.ximian.com/mailman/listinfo/mono-list
>         >
>         > _______________________________________________ 
>         > Mono-list maillist  -  Mono-list@lists.ximian.com
>         > http://lists.ximian.com/mailman/listinfo/mono-list
>         >
>         
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to