зеркало из https://github.com/mono/mail-archives.git
133 строки
5.5 KiB
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="$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:
|
|
><i> Hi,
|
|
</I>><i>
|
|
</I>><i> I'm on Mac OS X 10.4 where I'm trying to get a basic GTK# program
|
|
</I>><i> going. I'm working off of
|
|
</I>><i> <A HREF="http://www.mono-project.com/GtkSharpBeginnersGuide">http://www.mono-project.com/GtkSharpBeginnersGuide</A>
|
|
</I>><i>
|
|
</I>><i> Here I go:
|
|
</I>><i> $ mcs -pkg:gtk-sharp-2.0 hello.cs
|
|
</I>><i> Package gtk-sharp-2.0 was not found in the pkg-config search path.
|
|
</I>><i> Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
|
|
</I>><i> to the PKG_CONFIG_PATH environment variable
|
|
</I>><i> No package 'gtk-sharp-2.0' found
|
|
</I>><i> error CS8027: Error running pkg-config. Check the above output.
|
|
</I>><i>
|
|
</I>><i> The beginner's guide directs me to "Downloads" at:
|
|
</I>><i> <A HREF="http://www.go-mono.com/mono-downloads/download.html">http://www.go-mono.com/mono-downloads/download.html</A>
|
|
</I>><i>
|
|
</I>><i> There I'm told that the Mono package "Includes Mono, Cocoa#, Gtk#,
|
|
</I>><i> MonoDevelop installs in /Library/Frameworks:"
|
|
</I>><i>
|
|
</I>><i> But I have Mono 1.2.6 already! And I can't find anything else on the
|
|
</I>><i> Downloads page except "Cocoa# 0.9.4 source".
|
|
</I>><i>
|
|
</I>><i> $ mono --version
|
|
</I>><i> Mono JIT compiler version 1.2.6 (tarball)
|
|
</I>><i> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
|
|
</I>><i> TLS: normal
|
|
</I>><i> GC: Included Boehm (with typed GC)
|
|
</I>><i> SIGSEGV: normal
|
|
</I>><i> Notification: Thread + polling
|
|
</I>><i> Architecture: x86
|
|
</I>><i> Disabled: none
|
|
</I>><i>
|
|
</I>><i> I tried "gacutil /l | grep -i gtk" and got nothing. I tried "gacutil
|
|
</I>><i> /l | sort" and read through the list but nothing caught my eye except
|
|
</I>><i> competing frameworks like cocoa-sharp and System.Windows.Forms. ;-)
|
|
</I>><i>
|
|
</I>><i> I also tried Spotlight for "gtk-sharp". Nothing.
|
|
</I>><i>
|
|
</I>><i> So I definitely don't have it. I also don't know where/how to get it.
|
|
</I>><i>
|
|
</I>><i> *** Is anyone using GTK# on the Mac? If so, what version of Mac, Mono
|
|
</I>><i> and GTK#? How/where did you get it?
|
|
</I>><i>
|
|
</I>><i> Thanks,
|
|
</I>><i> -Chuck
|
|
</I>><i> _______________________________________________
|
|
</I>><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>><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>
|