[Mono-list] Gtk# not detected

Shantanu Kumar shantanu@ax100.net
Wed, 07 Jul 2004 19:56:21 +0530


Hi,

I have installed Mono 1.0 RPMs on my Fedora Core 1 box. While everything 
else appears to work, assemblies Gtk and GtkSharp are not detected as 
present on the system. On compilation (an example prog), the error 
mesage says:

ButtonApp.cs(4) error CS0246: The namespace `Gtk' can not be found 
(missing assembly reference?)
    Try using -r:gtk-sharp
ButtonApp.cs(5) error CS0246: The namespace `GtkSharp' can not be found 
(missing assembly reference?)
    Try using -r:gtk-sharp
Compilation failed: 2 error(s), 0 warnings

The /etc/mono/config has contents as follows:
<configuration>
        <dllmap dll="cygwin1.dll" target="libc.so.6" />
        <dllmap dll="libc" target="libc.so.6" />
        <dllmap dll="libintl" target="libc.so.6" />
        <dllmap dll="libxslt.dll" target="libxslt.so" />
        <dllmap dll="libmySQL.dll" target="libmysqlclient.so" />
        <dllmap dll="odbc32.dll" target="libodbc.so" />
        <dllmap dll="oci" target="clntsh" />
        <dllmap dll="db2cli" target="libdb2_36.so"/>
</configuration>

When using MonoDevelop, none of the assemblies except Microsoft, Mono 
and System show up in the autocomplete list. I have also un-installed 
all RPMs are installed them over, but to no improvement. Could anyone 
please guide me what I am getting wrong here?

Regards,
Shantanu