On Sun, May 24, 2009 at 1:08 PM, M Tramp <mysterytr...@yahoo.com> wrote: > > 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? > > mt
MacPorts is (like fink) a system for automatically downloading, configuring, and compiling software. Gramps is included. http://www.macports.org/ports.php?by=name&substr=gramps -- Walker Hale <walker.hale...@gmail.com> _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor