2010-09-24, 18:46
ah getting somewhere
That created the lib directory
error reported that there is no Python.h which obviously means no functions found for that
The compiler Failed
What did i do wrong ?
Code:
cd pyinotify-0.7.1/
Code:
python2.6 setup.py build --build-lib ../script.module.pyinotify/lib/
Code:
running build
running build_py
creating ../script.module.pyinotify/lib
copying src/pyinotify/pyinotify.py -> ../script.module.pyinotify/lib
copying src/pyinotify/inotify.py -> ../script.module.pyinotify/lib
copying src/pyinotify/iglob.py -> ../script.module.pyinotify/lib
running build_ext
building '_inotify' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/pyinotify/inotify.c -o build/temp.linux-i686-2.6/src/pyinotify/inotify.o
src/pyinotify/inotify.c:22:20: error: Python.h: No such file or directory
src/pyinotify/inotify.c:27: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
src/pyinotify/inotify.c:39: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
src/pyinotify/inotify.c:54: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â*â token
src/pyinotify/inotify.c:68: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âinotifyFunctionsâ
src/pyinotify/inotify.c: In function âinit_inotifyâ:
src/pyinotify/inotify.c:79: warning: implicit declaration of function âPy_InitModule3â
src/pyinotify/inotify.c:79: error: âinotifyFunctionsâ undeclared (first use in this function)
src/pyinotify/inotify.c:79: error: (Each undeclared identifier is reported only once
src/pyinotify/inotify.c:79: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1
That created the lib directory
error reported that there is no Python.h which obviously means no functions found for that
The compiler Failed
What did i do wrong ?