[mac-gs] gtk related error compiling Ghostscritpt.framework?
Ralph Giles
zen6669@zen.co.uk
Mon, 5 Aug 2002 17:21:18 +0100
--Apple-Mail-1-865154659
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
On Sunday, July 28, 2002, at 12:08 AM, David Franzen wrote:
> First of all this is my first post--sorry if this is not the right list
> for Mac OS X issues.
No, this is the correct list. Sorry for the moderation delay.
> zsh: command not found: gtk-config
> zsh: command not found: gtk-config
> ./src/dxmain.c:36: gtk/gtk.h: No such file or directory
You're correct, this is a bug. The framework makefile is based on the
unix-dll makefile, and it looks like the gtk client build never got
removed. I didn't notice because I have gtk installed. I guess we've not
been getting wide testing. :-)
Please try the attached patch (or current cvs).
-r
--Apple-Mail-1-865154659
Content-Disposition: attachment;
filename=fw-no-gtk.diff
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="fw-no-gtk.diff"
--- src/macos-fw.mak Fri Feb 22 19:45:59 2002
+++ ../ghostscript-7.05/src/macos-fw.mak Mon Aug 5 17:15:27 2002
@@ -71,10 +71,8 @@
$(RM_) $(GS_SO_MAJOR)
ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR)
-# Build the small Ghostscript loaders, with Gtk+ and without
-
-$(GSSOX_XE): $(GS_SO) $(GLSRC)dxmain.c
- $(GLCC) -g `gtk-config --cflags` -o $(GSSOX_XE) $(GLSRC)dxmain.c -L$(BINDIR) -l$(GS) `gtk-config --libs`
+# Build the small Ghostscript loaders
+# it would be nice if we could link to the framework instead
$(GSSOC_XE): $(GS_SO) $(GLSRC)dxmainc.c
$(GLCC) -g -o $(GSSOC_XE) $(GLSRC)dxmainc.c -L$(BINDIR) -l$(GS)
--Apple-Mail-1-865154659--