[Image-SIG] Imaging library under OpenBSD 2.6

Fredrik Lundh fredrik@pythonware.com
Thu, 13 Jan 2000 17:41:37 +0100


Douglas Shawhan wrote:
> I have followed the instructions in README and built the Imaging core
> libraries, but when I reach step 8, all joy leaves my life in the =
following
> fashion:
>=20
> - ---------------------------------
>=20
> doug:~/Imaging-1.0# make
> gcc -fpic  -IlibImaging -I/usr/local/include -I/usr/local/include
> - -DWITH_TKINTER -I/usr/local/include -g -O2 =
-I/usr/local/include/python1.5
> - -I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./_imaging.c
> ./_imaging.c:2303: tk.h: No such file or directory
> *** Error code 1
>=20
> Stop in /root/Imaging-1.0.

adding=20

    -I/usr/local/include/tk8.0/tk.h

to the Setup file should do the trick.  you
may have to add a similar -L option for the
library.

</F>