#20066 closed defect (fixed)
ghostscript 8.64: iapi.h and ierrors.h (libgs) not found
Reported by: | rickrich@… | Owned by: | takanori@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | ghostscript |
Description
$ wget http://www.linuxprinting.org/download/foomatic/foomatic-filters-4.0.2.tar.gz
$ tar zxvf foomatic-filters-4.0.2.tar.gz
$ cd foomatic-filters-4.0.2
$ ./configure --prefix=/usr
$ make make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I. -DCONFIG_PATH='"/usr/etc/foomatic"' -g -O2 -MT pdf.o -MD -MP -MF ".deps/pdf.Tpo" -c -o pdf.o pdf.c; \
then mv -f ".deps/pdf.Tpo" ".deps/pdf.Po"; else rm -f ".deps/pdf.Tpo"; exit 1; fi
pdf.c:14:30: error: ghostscript/iapi.h: No such file or directory pdf.c:15:33: error: ghostscript/ierrors.h: No such file or directory make[1]: * [pdf.o] Error 1 make: * [all] Error 2
Change History (6)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to takanori@… |
---|---|
Port: | ghostscript added |
Type: | enhancement → defect |
comment:2 Changed 15 years ago by rickrich@…
$ ssh mac Last login: Thu Jun 25 08:42:06 2009 from dual $ locate iapi.h $ locate ierrors.h $
comment:3 Changed 15 years ago by takanori@…
Try ghostscript +framework.
Since foomatic-filters does not support ghostscript framework by default, I think you have to modify it a bit though..
# Just for curiosity. Why do you want to use foomatic-filters on Mac OS X?
comment:4 Changed 15 years ago by rickrich@…
See:
http://foo2zjs.rkkda.com/INSTALL.osx
Basically, I want to upgrade to foomatic-filters-4.0.2 (which does not work on OSX) from foomatic-filters-3.0.2 (which works AOK on OSX) for my users.
comment:5 Changed 15 years ago by takanori@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think foomatic-filters can be built by the following command now, because I modified ghostscript @8.70_0 to install libgs.dylib by default.
$ tar xvfz foomatic-filters-4.0.2.tar.gz $ cd foomatic-filters-4.0.2 $ CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure $ make
comment:6 Changed 15 years ago by rickrich@…
Confirmed!
Now, if I only had a:
$ sudo port install foomatic-filters Password: Error: Port foomatic-filters not found
But this will do.
Presumably you just need to tell the configure script where your ghostscript is installed?