Re: [Camfr-users] (no subject)
Brought to you by:
pbienst
|
From: Peter B. <Pet...@ug...> - 2010-12-19 08:46:33
|
Hi, (Installing camfr from source is not for the faint-of-heart. If you don't have experience with linux, it's easier to use the installer for windows.) To install from source, make sure to edit your machine_cfg.py file so that all the directories and path settings are correct. In your case, the directory where Python.h should be found is set correctly. Also see the file INSTALL for more instructions. Cheers, Peter > hi dears > I have a question, I've insstalled all packages CAMFR need to be installed, > but i came up with a problem running the command: 'python setup.py > install'. the errors below appear: > > camfr/defs.cpp:13:20: error: Python.h: No such file or directory > camfr/defs.cpp: In function ‘void py_print(const std::string&)’: > camfr/defs.cpp:43: error: ‘PySys_WriteStdout’ was not declared in this > scope camfr/defs.cpp: In function ‘void py_error(const std::string&)’: > camfr/defs.cpp:44: error: ‘PySys_WriteStderr’ was not declared in this > scope camfr/defs.cpp: In function ‘void out_of_memory()’: > camfr/defs.cpp:187: error: ‘exit’ was not declared in this scope > scons: *** [camfr/defs.os] Error 1 > scons: building terminated because of errors. > running build_py > running install_lib > running install_data > error: can't copy 'camfr/_camfr.so': doesn't exist or not a regular file > > I really need your help. > I appreciate your response. > > Ehsan -- Peter Bienstman Ghent University, Dept. of Information Technology Sint-Pietersnieuwstraat 41, B-9000 Gent, Belgium tel: +32 9 264 34 46, fax: +32 9 264 35 93 WWW: http://photonics.intec.UGent.be email: Pet...@UG... |