Re: [Pyme-help] Problem with building PyMe
Status: Beta
Brought to you by:
belyi
From: Igor B. <be...@us...> - 2007-04-12 14:02:18
|
Nima Dokoohaki wrote: > My mistake, I think I gave you wrong info, I copy/pasted that from my > previous emails Igor, > It has nothing to do with apache. I solved the problem of _apache, It > had to do with configurations. > I moved the directive to main config and it seems ok now with apache > for me. > unfortunately I get this error while installing , and during the > script run i get "no module named pyme" > > Well, I run the command " Python setup.py install " ; > linux-station:/home/nima/pyme-0.7.0 # python setup.py install > running install > running build > running build_py > running build_ext > building 'pyme._gpgme' extension > gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall > -Wstrict-prototypes -fPIC -I/home/nima/pyme-0.7.0 > -I/usr/local/include/python2.5 -c gpgme_wrap.c -o > build/temp.linux-i686-2.5/gpgme_wrap.o -I/usr/local/include > gcc: gpgme_wrap.c: No such file or directory > gcc: no input files > error: command 'gcc' failed with exit status 1 This error means that you didn't run SWIG on gpgme files first. The correct way would be to run 'make install' which makes all necessary build steps. If you want details you can look in the Makefile which controls what 'make' does but in short it preprocesses gpgme.h using a short python script and generates gpgme_wrap.c using swig before building the pyme module itself. Hope it helps, Igor |