Re: [Mono-list] issues with mono .97 on Fedora Core 2

2004-06-27 Thread Fabrício Santos
I got the same problem using the mono rpms and sorted it out by compiling it
from sources myself.
Nevertheless I would like to know the reason behinf this. It is not handy to
compile that stuff every time. Especially on a Pentium 166 with just 64MB or
RAM... :-)

-fs

- Original Message - 
From: Paul [EMAIL PROTECTED]
To: Mono List [EMAIL PROTECTED]
Sent: Sunday, June 27, 2004 9:15 PM
Subject: Re: [Mono-list] issues with mono .97 on Fedora Core 2


Hi
 Mono seems to die unexpectedly with the following error message:

 $ mono
 mono: error while loading shared libraries: libmono.so.0: cannot handle
 TLS data
Have you built this yourself or using the mono rpms?
TTFN
Paul
-- 
If I face my God tomorrow, I can tell Him I am innocent.
I've never harmed anyone. I have cheated no one.
I have deceived no one. I have hurt no one.
Except myself. And that He will forgive me. - Hans Holzel

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] mono default config? [Was: new debugging library loading]

2004-06-26 Thread Fabrício Santos
Viva Jackson and all,

I much appreciated this patch. With it, and with a bit more help from Denis,
I was able to resolve a very annoying DllNotFoundException.
I sorted out the problem by running mono and the application while
explicitly specifying the mono config file like this:

[EMAIL PROTECTED] gtk-sharp]# mono --config /etc/mono/config helloworld.exe

Shouldn't mono use the file /etc/mono/config by default? I have not set any
~/.mono/config file nor any MONO_CONFIG environment variable.

Thanks for any help!

-fs



- Original Message - 
From: Jackson Harper [EMAIL PROTECTED]
To: mono-list [EMAIL PROTECTED]
Sent: Sunday, June 20, 2004 4:48 AM
Subject: [Mono-list] new debugging library loading


 Hello,

 There are now some new ways to debug library loading in the runtime.
 Using the MONO_LOG_LEVEL and MONO_LOG_MASK environment variables it
 should be easier to see where the runtime is looking for your libraries.
 Here is a very brief rundown (real docs will follow). Also man mono will
 explain the variables and their options.

 If you are getting FileNotFoundException when loading a managed library
 do this:
 export MONO_LOG_LEVEL=debug
 export MONO_LOG_MASK=asm
 run your app
 You should get trace information on everywhere the runtime tries to load
 that library from.


 If you are getting DllNotFoundException when loading an unmanaged
 library do this:
 export MONO_LOG_LEVEL=debug
 export MONO_LOG_MASK=dll
 run your app
 You should get trace information on the library names that the runtime
 is trying to use and the errors in loading those libraries.


 If you dont think the runtime is loading your libraries config files:
 export MONO_LOG_LEVEL=debug
 export MONO_LOG_MASK=cfg
 run your app
 The runtime will tell you where it is looking for your config files.


 Hopefully this helps some people debug their setups. See the man page
 for info on using more then one mask value and the various values for
 the two variables.

 Love,
 Jackson




 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Still wanted: libgobject-2.0-0.dll

2004-06-16 Thread Fabrício Santos
Beta 3 is no better for me... :-(

-fs

- Original Message - 
From: Fabrício Santos [EMAIL PROTECTED]
To: mono [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 1:11 AM
Subject: [Mono-list] Still wanted: libgobject-2.0-0.dll


 Viva a todos,

 As some of you remember a few days ago I posted a message stating that I
was
 getting this error when trying to start monodevelop:

 Unhandled Exception: System.DllNotFoundException:
libgobject-2.0-0.dll...

 After looking at the below article, provided by Iain McCoy (thanks Iain):

 http://archive.neotonic.com/archive/mono-list/messages/20513?noheader=1

 and after checking the mono .dll to .so mapping file:

 configuration
   dllmap dll=libglib-2.0-0.dll target=libglib-2.0.so.0/
   dllmap dll=libgobject-2.0-0.dll target=libgobject-2.0.so.0/
   dllmap dll=libatk-1.0-0.dll target=libatk-1.0.so.0/
   dllmap dll=libgtk-win32-2.0-0.dll target=libgtk-x11-2.0.so.0/
 /configuration

 the .so file /usr/lib/libgobject-2.0.so.0 actually exists and its
 dependent libs are also present:

 [EMAIL PROTECTED] root]# ldd /usr/lib/libgobject-2.0.so.0
 libglib-2.0.so.0 = /usr/lib/libglib-2.0.so.0 (0x0087d000)
 libc.so.6 = /lib/libc.so.6 (0x00349000)
 /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x00334000)

 Iain again came to my rescue and suggested changing the LD_LIBRARY_PATH
but
 this held no different results and now I'm stuck and have no clue on what
is
 going on.

 Any more hints on what to look for now? As I said to Ian I feel I'm just a
 short step from getting everything to work but it still fails and it is
 frustrating me... :-/

 Thanks in advance for any help.

 -fs

 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


RE: [Mono-list] Wanted: libgobject-2.0-0.dll

2004-06-11 Thread Fabrício Santos
Viva Iain,

Thanks for your reply.

Yes I did install previous version. I first tried to install Beta 1 but
because I had this TLS data error message:
http://lists.ximian.com/archives/public/mono-list/2004-June/020886.html

I tried also to install and compile the sources for the most basic command
line stuff (mono and for mcs) and though the TLS data problem is gone when I
went for the Beta 2 I got this problem. 

Any idea on how to fix this?

-fs

-Original Message-
From: Iain McCoy [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 11, 2004 09:53
To: Fabrício Santos
Cc: mono
Subject: Re: [Mono-list] Wanted: libgobject-2.0-0.dll

Have you had any previous versions of mono installed? If so, how did you
install them?

Things can get weird if you have both an old and a new version of mono
installed, or bits of an old version still sitting around.
-- 
Iain McCoy [EMAIL PROTECTED]

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Wanted: libgobject-2.0-0.dll

2004-06-10 Thread Fabrício Santos
Viva a todos,

I was having this problem and found out it was related to a wrong MONO_PATH:

==
[EMAIL PROTECTED] RPMs]# monodevelop

** (./MonoDevelop.exe:3542): WARNING **: Could not find assembly gtk-sharp,
references from /usr/lib/monodevelop/bin/./Mo
noDevelop.exe (assemblyref_index=2)
...
==

After fixing it:

==
[EMAIL PROTECTED] RPMs]# export MONO_PATH=/usr/lib/mono/gtk-sharp/
==

I started getting this:

==
[EMAIL PROTECTED] RPMs]# monodevelop

Unhandled Exception: System.DllNotFoundException: libgobject-2.0-0.dll
in 0x00053 (wrapper managed-to-native) Gnome.Program:g_type_init ()
in 0x0010b Gnome.Program:.ctor
(string,string,Gnome.ModuleInfo,string[],object[])
in [0x000d5] (at
/home/duncan/conf/mono-conf/monodevelop/BUILD/monodevelop-0.4/src/Main/Start
Up/MonoDevelopMain.cs:80) Mo
noDevelop.SharpDevelopMain:Main (string[])
==

I can't find this libgobject-2.0-0.dll file anywhere. In which package
should this file be found? I can't find it anywhere. Even rpmfind.net has no
clue about it...

To install mono on my Fedora Core 1 system I just unzipped the Beta 2
mono_all.zip and ran rpm -i *rpm and it seems all packages installed ok.

Thanks for any help.

-fs

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Adding value

2004-06-09 Thread Fabrício Santos
Viva a todos,

Not sure if this is the right list to send this message to but here I go...
:-)

I recently installed Mono on my Linux box and after some struggle I managed
to get the very basic stuff to work by compiling the mono-0.95.tar.gz and
the mcs-0.95.tar.gz packages. I had to do this as the Mono RPMs for Fedora
were giving me an error that I couldn't resolve without recompiling it:

[EMAIL PROTECTED] mono]# mono
mono: error while loading shared libraries: libmono.so.0: cannot handle TLS
data

I have not seriously developed any software since 1995 and decided to start
learning it again. Before 95 I even developed a programming language based
on Pascal and generating assembler code so I know the basics very well but I
have definitely lost the boat of OOP and GUI programming...

As I would like to come back to some code development but need some practice
that I will not be able to get at work (I work in IT but in support of
networking devices) I would like to add some value and for that matter I
would like to contribute to a open source project that uses mono as the
development tool... Yes, if I'm coming back I want to do it in a clever way
and use the development tools of the future! ;-)

Of course I have some requirements but I believe they are simple to fulfill:
Project with not GUI design and implementation involved that works with a
MySQL database. It can also be developing some parts of a GUI application
but doing work not related to graphical output. If you know of such a
project that needs help please let me know and I will get in touch with the
people involved.

Maybe it would be wise to reply directly to me for not disturbing the rest
of the list any more than I have already done with this message.

Thanks in advance for any help!

-fs

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] TLS data

2004-06-02 Thread Fabrício Santos
Viva a todos,

I'm now past the installation phase of Mono Beta 1 and I'm getting the
following error message when I try to run it:

[EMAIL PROTECTED] mono]# mono
mono: error while loading shared libraries: libmono.so.0: cannot handle TLS
data
[EMAIL PROTECTED] mono]#

Linux distribution is Fedora Core 1. Any idea on what might be wrong?

Thanks for any help.

-fs

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] TLS data

2004-06-02 Thread Fabrício Santos
Sorry... I found more info on this and there is a related bug.
http://bugzilla.ximian.com/show_bug.cgi?id=58332

-fs
- Original Message - 
From: Fabrício Santos [EMAIL PROTECTED]
To: mono [EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 9:33 PM
Subject: [Mono-list] TLS data


 Viva a todos,

 I'm now past the installation phase of Mono Beta 1 and I'm getting the
 following error message when I try to run it:

 [EMAIL PROTECTED] mono]# mono
 mono: error while loading shared libraries: libmono.so.0: cannot handle
TLS
 data
 [EMAIL PROTECTED] mono]#

 Linux distribution is Fedora Core 1. Any idea on what might be wrong?

 Thanks for any help.

 -fs

 ___
 Mono-list maillist  -  [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list