[Gtk-sharp-list] Getting started on Mac
Chuck Esterbrook
chuck.esterbrook at gmail.com
Thu Mar 6 01:08:35 EST 2008
Hi Cody,
Thanks for the help, but there is to '*gtk*' anywhere in my Mono
install directory except:
./Versions/1.2.3.1/share/gtksourceview-1.0
I just found out where the previews are located so I think I'll give
1.9 preview 4 a try and see:
http://mono.ximian.com/monobuild/preview/download-preview/
-Chuck
On Wed, Mar 5, 2008 at 8:08 PM, Cody Russell <bratsche at gnome.org> wrote:
> Do you have pkg-config installed? If so, try running:
> pkg-config --modversion gtk-sharp-2.0
>
> Presumably it will tell you that there is no package `gtk-sharp-2.0'
> found. Try searching for gtk-sharp-2.0.pc file under wherever things
> are installed (sorry, I don't use a Mac so I don't really know how it's
> setup). On a typical Linux system it would be
> at /usr/lib/pkgconfig/gtk-sharp-2.0.pc
>
> Assuming that file is in fact installed, try setting an environment
> variable
> PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/lib/pkgconfig" (obviously, change
> that directory to wherever it's installed on your Mac).
>
> / Cody
>
>
>
> On Wed, 2008-03-05 at 19:21 -0800, Chuck Esterbrook wrote:
> > Hi,
> >
> > I'm on Mac OS X 10.4 where I'm trying to get a basic GTK# program
> > going. I'm working off of
> > http://www.mono-project.com/GtkSharpBeginnersGuide
> >
> > Here I go:
> > $ mcs -pkg:gtk-sharp-2.0 hello.cs
> > 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
> > error CS8027: Error running pkg-config. Check the above output.
> >
> > The beginner's guide directs me to "Downloads" at:
> > http://www.go-mono.com/mono-downloads/download.html
> >
> > There I'm told that the Mono package "Includes Mono, Cocoa#, Gtk#,
> > MonoDevelop installs in /Library/Frameworks:"
> >
> > But I have Mono 1.2.6 already! And I can't find anything else on the
> > Downloads page except "Cocoa# 0.9.4 source".
> >
> > $ mono --version
> > Mono JIT compiler version 1.2.6 (tarball)
> > Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
> > TLS: normal
> > GC: Included Boehm (with typed GC)
> > SIGSEGV: normal
> > Notification: Thread + polling
> > Architecture: x86
> > Disabled: none
> >
> > I tried "gacutil /l | grep -i gtk" and got nothing. I tried "gacutil
> > /l | sort" and read through the list but nothing caught my eye except
> > competing frameworks like cocoa-sharp and System.Windows.Forms. ;-)
> >
> > I also tried Spotlight for "gtk-sharp". Nothing.
> >
> > So I definitely don't have it. I also don't know where/how to get it.
> >
> > *** Is anyone using GTK# on the Mac? If so, what version of Mac, Mono
> > and GTK#? How/where did you get it?
> >
> > Thanks,
> > -Chuck
> > _______________________________________________
> > Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
More information about the Gtk-sharp-list
mailing list