[Tutor] A few very basic questions
mysterytramp at yahoo.com
Sun May 24 20:08:00 CEST 2009
Hello all ...
I've started trying ot learn about Python because I'm intrigued by what I've read about Gramps, a genealogical data manager. To run Gramps on a Mac, I need to get GTK up and running. Here's where I have a few, hopefully basic, questions.
(FYI, I have a Mac, running OS X 10.4.11. Xcode 2.5)
1) GTK has several dependencies, according to http://library.gnome.org/devel/gtk-faq/stable/c192.html
... pkg-config; GNU make; JPEG, PNG and TIFF image libraries; FreeType; fontconfig; GNU libiconv library; GNU gettext; GLib; Pango; ATK. Each of these may have dependencies as well. Is there someplace to go to figure out the order they should be compiled? (I started with pkg-config, but it needs GLib) Possibly the best answer is to download the source for each and just start compiling?
2) Once each library is compiled, what should I have and where should it be on my hard drive? For example, when Python sees "import gtk" in which directory is it looking for GTK? How will GTK and the other libraries appear on my hard disk? As Unix executables or as frameworks or as something else entirely?
3) I am likely to do my Python programming inside Eclipse using pydev, though I have Xcode. The libraries will be in C, correct? Will I be able to use Xcode to compile GTK and the rest, and then access the libraries inside Eclipse?
More information about the Tutor