Successfully Get GQview Runs On Mac OS X???

Uncategorized Add comments

As previous article mentioned, I do like to have Mac OS X have more NIX tools. And I do want it to do “the hard way” I mean the usual get-source, compile, install procedure not by Fink, or Opendarwin ports. So here I am trying to find a spare time to compile my GQview.

GQview is the written-in-c graphics viewer, my favorite, since it’s lightweight, pretty fast (especially if you compile using – O4 –march=i686 optimisation on x86 based machine) so here I am curious how to optimise it using Altivec -faltivec and -O4.

To Get GQview running you should have GTK environment. Here’s the tedious part. As I said, I don’t want the Fink, Opendarwin or precompiled binary one. I want to do my way. The standar get-source, compile, install procedure.

Hmm.. now where should I start? Using my previous Linux experience (When was my last time booted up my linux machine?? 6 months? 8 months ago?) I try to grab the neccessary library to get GTK running.

This time I even try to do it using my rusty memory with the trial-and-error without any single Googling:
pkgconfig 0.16 -> success
gettext 0.13 -> success
glib 2.6.4 (requires gettext) -> success
expat 1.95.8 -> success
xft (fontconfig) 2.3.1 -> success
pango 1.8.1 * configure

atk 1.9.0 (need glib)-> success
tiff 3.6.1 success, (3.7.1 failed)
libtool 1.5.14 (copy to libjpeg)
libjpeg 6b -> (need libtool)
libpng 1.2.8 -> success
freetype 2.1.9 -> success

gtk+ 2.6.6 -> success

*If you dare to do it yourself please keep in mind that the above components should installs in order! If not you would tried it again and add components before proceeding the next compiling phase.

My only problem was when compiling Pango before proceeding GTK. It keeps saying that “configure: error: Pango 1.8.1 and Xft backend is required for x11 target”. Sheezzz… then after typing the below lines on Terminal:

Finally I got Pango supports for Xft. Cool. Then I again recompile GTK+2.6.6… Everything works flawlessly….

Wow.. now it’s time to work on GQview….
./configure && make && make install…. done

But when I ran it using by typing gqview…. guess what I found “macnotos-Computer:/Users/macnoto/Desktop/gqview-2.0.0 root# gqview

(gqview:5084): Gtk-WARNING **: cannot open display:
macnotos-Computer:/Users/macnoto/Desktop/gqview-2.0.0 root# gqview

I even try from X11 terminal, and produce:
macnotos-Computer:/usr/local/bin macnoto$ ./gqview
Bus error

Ghosss… I guess I’m too old for this… And next thing I know that I don’t have much time to try this thing again 🙁 … this is very unproductive… taking too much time.

Well I guess I have to rely on Fink… :((

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in