[Mono-list] Why installing Mono should be dificult?

Raul Romero mono@bgta.net
Fri, 22 Apr 2005 16:26:13 +0200


Hi Paulo,

I use Fedora Core 3. And I have installed Mono, Monodevelop & Monodoc.
How?

I used Smart Package Manager (http://zorked.net/smart/). This Package
Manager support Yum repositories, Up2Date Repositories, APT-RPM
Repositories, APT-DEB, RedCarpet....etc... All in one :-D

Well, then I used the follow Yum repository as a Channel to Smart
Package Manager:

mono.repo file:
-----%<---------%<--------%<------------%<-----------%<--------%<-----
mono.repo
[mono-1.1]
name=Mono 1.1 for fedora-$releasever-$basearch
baseurl=http://go-mono.com/download/mono-1.1/fedora-$releasever-
$basearch/
enabled=1

[gtk-sharp-1.0]
name=Gtk# 1.0 for fedora-$releasever-$basearch
baseurl=http://go-mono.com/download/gtk-sharp/fedora-$releasever-
$basearch/
enabled=1

[gtk-sharp-2.0]
name=Gtk# 2.0 for fedora-$releasever-$basearch
baseurl=http://go-mono.com/download/gtk-sharp-2.0/fedora-$releasever-
$basearch/
enabled=1
-----%<---------%<--------%<------------%<-----------%<--------%<-----

You can use this mono.repo as a repository file for yum, put it
in /etc/yum.repos.d/

Then, install mono:

With yum:

bash# yum install mono-complete monodevelop monodoc

With smart:

bash# smart install mono-complete monodevelop monodoc


Best Regards

El vie, 22-04-2005 a las 03:21 +0100, Paulo Aboim Pnto escribió:
> Hello
> 
> I'm trying very hard to change from .NET and Windows and use Mono for my
> personal development.
> 
> I've fresh installation of Fedora Core 3 and I've download the bin file
> to install Mono.
> I thought that this was great, this a very huge step for Linux Setup
> application.
> 
> Now I have to develop an application that use the gst-sharp, ok, this is
> not a standard lib for mono, then i have to compile it. Here start my
> problems.
> 
> I've download the SVN version on gst-sharp and now let's compile and I
> get this error:
> checking for gtk-sharp-2.0 >= 1.9.2.99... Package gtk-sharp-2.0 was not
> found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk-sharp-2.0' found
> 
> configure: error: Library requirements (gtk-sharp-2.0 >= 1.9.2.99) not
> met; consider adjusting the PKG_CONFIG_PATH environment variable if your
> libraries are in a nonstandard prefix so pkg-config can find them.
> 
> 
> I thought, WHAT A HELL, should gtk-sharp-2 be installed? Ok, let's
> installed:
> # yum install gtk-sharp2
> (...)
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package gtk-sharp2.i386 0:1.9.3-1.novell.9.1 set to be updated
> --> Running transaction check
> --> Processing Dependency: libgtkhtml-3.0.so.2 for package: gtk-sharp2
> --> Finished Dependency Resolution
> Error: Missing Dependency: libgtkhtml-3.0.so.2 is needed by package gtk-
> sharp2
> 
> 
> WHAT A HELL??? In the repository there is nothing to resolve this
> dependency? WHY? How this can be happen?
> 
> Maybe the downloading the packages from the download page in go-mono.com
> this dependency is resolved.
> 
> After download, I have run the command:
> # rpm -Uvh *
> error: Failed dependencies:
>         libgtkhtml-3.0.so.2 is needed by gtk-
> sharp2-1.9.3-1.novell.9.1.i386
> 
> 
> WHERE IS the dependency?
> 
> Let's use the locate command and try to find it:
> $ locate libgtkhtml
> /usr/lib/libgtkhtml-3.1.so.11
> /usr/lib/libgtkhtml-2.so.0
> /usr/lib/libgtkhtml-2.so.0.0.0
> /usr/lib/libgtkhtml-3.1.so.11.0.4
> /usr/lib/libgtkhtml-3.0.so.2
> (...) some DOCs (...)
> /opt/mono-1.1.6/lib/libgtkhtml-3.0.so.4.0.0
> /opt/mono-1.1.6/lib/libgtkhtml-3.0.so.4
> 
> Ok... theres is no 3.0.so.2 but I have 3.1.so.11, 3.1.so.11.0.4,
> 3.0.so.4.0.0, 3.0.so.4.... WHERE IS THE one I want ???????
> 
> 
> Can any one explain me where can i get the lib libgtkhtml-3.0.so.2 and
> put it in the available packages for download and YUM (and apt-get)
> repository?
> 
> 
> tkx in advance
> Esqueleto
> Odivelas - Portugal 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
-- 
[^BgTA^]
http://www.bgta.net
MSN: raul@bgta.net
Jabber: raul@bgta.net
Skype: bgtahome
- Este correo está firmado digitalmente -
Llave pública: https://keyserver.pgp.com/vkd/DownloadKey.event?keyid=0x2639F66ADF750670
Más información: http://www.bgta.net/gpg.0.html