Error compiling gtk-sharp

markd at macports.org markd at macports.org
Mon Jul 30 14:00:55 PDT 2007


"Marcus Vinicius Eiffle Duarte" <eiffleduarte at gmail.com> writes:
>I am a newbie in MacOS X (been using it for almost a year now), with some
>Linux background.
>I am running MacOS X 10.4.10 on a Intel Core Duo MacBook Pro. I
>downloaded and installed MacPorts 1.5 in order to try and install
>MonoDevelop (I use Mono 1.2.4, installed from the binary provided at [
>http://mono-project.org ]mono-project.org, which does not include
>gtk-sharp and applications that use it).
>So, after installing MacPorts 1.5.0, I ran 'sudo port -v selfupdate' and
>then installed a few apps to test MacPorts: Dia and Planner. 
>Next, I tried installing Gtk#, running 'sudo port -v install gtk-sharp'.
>The connection to [ http://macports.org ]macports.org was closed a few
>times while fetching tarballs, but after some time, all the source was
>downloaded and compiled, until I got the error I copied at the end of my
>message. As I understand it, the code was compiled, but something failed
>during the activation phase. I thought it was something related to an
>improper path, but could not understand how to fix it. The file
>gapi_codegen.exe was built and lies at
>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk-sharp/work/gtk-
>sharp-1.0.10/generator/gapi_codegen.exe.
>
>Can somebody help me?

Well I know nothing about gtk-sharp, but it seems like gtk-sharp 1.0.10
would be for GTK v1.  It seems like it needs to be updated to v2.10.0. 
http://go-mono.com/sources-stable/

Mark




More information about the macports-users mailing list