mail-archives/gtk-sharp-list/2008-March/008488.html

133 строки
5.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Getting started on Mac
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Getting%20started%20on%20Mac&In-Reply-To=94cdd26f0803051921u31419b2ah51e7308ae65b3c84%40mail.gmail.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008486.html">
<LINK REL="Next" HREF="008489.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Getting started on Mac</H1>
<B>Cody Russell</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Getting%20started%20on%20Mac&In-Reply-To=94cdd26f0803051921u31419b2ah51e7308ae65b3c84%40mail.gmail.com"
TITLE="[Gtk-sharp-list] Getting started on Mac">bratsche at gnome.org
</A><BR>
<I>Wed Mar 5 23:08:05 EST 2008</I>
<P><UL>
<LI>Previous message: <A HREF="008486.html">[Gtk-sharp-list] Getting started on Mac
</A></li>
<LI>Next message: <A HREF="008489.html">[Gtk-sharp-list] Getting started on Mac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8488">[ date ]</a>
<a href="thread.html#8488">[ thread ]</a>
<a href="subject.html#8488">[ subject ]</a>
<a href="author.html#8488">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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=&quot;$PKG_CONFIG_PATH:/usr/lib/pkgconfig&quot; (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:
&gt;<i> Hi,
</I>&gt;<i>
</I>&gt;<i> I'm on Mac OS X 10.4 where I'm trying to get a basic GTK# program
</I>&gt;<i> going. I'm working off of
</I>&gt;<i> <A HREF="http://www.mono-project.com/GtkSharpBeginnersGuide">http://www.mono-project.com/GtkSharpBeginnersGuide</A>
</I>&gt;<i>
</I>&gt;<i> Here I go:
</I>&gt;<i> $ mcs -pkg:gtk-sharp-2.0 hello.cs
</I>&gt;<i> Package gtk-sharp-2.0 was not found in the pkg-config search path.
</I>&gt;<i> Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
</I>&gt;<i> to the PKG_CONFIG_PATH environment variable
</I>&gt;<i> No package 'gtk-sharp-2.0' found
</I>&gt;<i> error CS8027: Error running pkg-config. Check the above output.
</I>&gt;<i>
</I>&gt;<i> The beginner's guide directs me to &quot;Downloads&quot; at:
</I>&gt;<i> <A HREF="http://www.go-mono.com/mono-downloads/download.html">http://www.go-mono.com/mono-downloads/download.html</A>
</I>&gt;<i>
</I>&gt;<i> There I'm told that the Mono package &quot;Includes Mono, Cocoa#, Gtk#,
</I>&gt;<i> MonoDevelop installs in /Library/Frameworks:&quot;
</I>&gt;<i>
</I>&gt;<i> But I have Mono 1.2.6 already! And I can't find anything else on the
</I>&gt;<i> Downloads page except &quot;Cocoa# 0.9.4 source&quot;.
</I>&gt;<i>
</I>&gt;<i> $ mono --version
</I>&gt;<i> Mono JIT compiler version 1.2.6 (tarball)
</I>&gt;<i> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
</I>&gt;<i> TLS: normal
</I>&gt;<i> GC: Included Boehm (with typed GC)
</I>&gt;<i> SIGSEGV: normal
</I>&gt;<i> Notification: Thread + polling
</I>&gt;<i> Architecture: x86
</I>&gt;<i> Disabled: none
</I>&gt;<i>
</I>&gt;<i> I tried &quot;gacutil /l | grep -i gtk&quot; and got nothing. I tried &quot;gacutil
</I>&gt;<i> /l | sort&quot; and read through the list but nothing caught my eye except
</I>&gt;<i> competing frameworks like cocoa-sharp and System.Windows.Forms. ;-)
</I>&gt;<i>
</I>&gt;<i> I also tried Spotlight for &quot;gtk-sharp&quot;. Nothing.
</I>&gt;<i>
</I>&gt;<i> So I definitely don't have it. I also don't know where/how to get it.
</I>&gt;<i>
</I>&gt;<i> *** Is anyone using GTK# on the Mac? If so, what version of Mac, Mono
</I>&gt;<i> and GTK#? How/where did you get it?
</I>&gt;<i>
</I>&gt;<i> Thanks,
</I>&gt;<i> -Chuck
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008486.html">[Gtk-sharp-list] Getting started on Mac
</A></li>
<LI>Next message: <A HREF="008489.html">[Gtk-sharp-list] Getting started on Mac
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8488">[ date ]</a>
<a href="thread.html#8488">[ thread ]</a>
<a href="subject.html#8488">[ subject ]</a>
<a href="author.html#8488">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>