Quote:
Originally posted by drewblay
Hello, I am kind of new to linux so please be detialed in your replies. I am running Slackware 10.1 and trying to install Skencil but am having some difficulty. I have installed python and the Python Imaging Library so I ran "python setup.py configure" and everything looked fine but when I tried to run "python setup.py build" I got lots of errors and warnings. I am not sure how to fix this and would really apprecaite any help.
Here is the ouput I get when running "python setup.py build":
bash-3.00# python setup.py build
running 'make' in Pax
make: Nothing to be done for `default'.
running 'make' in Filter
make: Nothing to be done for `default'.
running 'make' in Sketch/Modules
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/usr/local/include/python2.4 -I/usr/local/include/python2.4 -I../../Pax -I/usr/include/python2.4 -I/usr/include/ -I/usr/include/ -I/usr/X11R6/include -c ././skimage.c -o ./skimage.o
In file included from /usr/local/include/python2.4/Python.h:8,
from skimage.c:21:
/usr/local/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/math.h:27,
from skimage.c:20:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:21:24: ImPlatform.h: No such file or directory
In file included from skimage.c:27:
/usr/include/python2.4/Imaging.h:85: error: parse error before "UINT8"
/usr/include/python2.4/Imaging.h:85: warning: no semicolon at end of struct or union
/usr/include/python2.4/Imaging.h:86: warning: type defaults to `int' in declaration of `image32'
|
you are missing this include file, you will have to install whatever package has it to finish compiling ( the other possiblity is you have the include, but it is in a non-standard place where the compiler cannot find it. to find out do the following ( in a console):
updatedb ( will take a few min)
slocate ImPlatform.h
if it repeats it back to you ( along with a location) you will have to tell the compiler where it is ( set your CLFAGS environmental variable to include it ( and example of this is "export CFLAGS="-I/home/joe/myincludes" - this sets that directory to be searched for include files)