From: Valery P. <pi...@is...> - 2009-07-27 11:23:23
|
Dear Alan, Many thanks for the help the receipt > > export \ > CMAKE_INCLUDE_PATH=/usr/include:/usr/include/python2.5:/usr/include/numpy > cmake ... > > Normally, the environment variable approach works fine for me. does not work for me. while printenv give : ............ SHLVL=2 HOME=/home/va LANGUAGE= KDE_SESSION_VERSION=4 XCURSOR_THEME=Oxygen_Black CMAKE_INCLUDE_PATH=/usr/include:/usr/include/python2.5:/usr/include/numpy BASH_ENV=/home/va/.bashrc GTK_PATH=/usr/lib64/gtk-2.0/2.10.0 LESS=-MM G_FILENAME_ENCODING=utf8 LOGNAME=va QTLIB=/usr/lib64/qt3/lib/ ................ still I have: cd /home/va/RPM/BUILD/plplot-5.9.4/alt/bindings/python && /usr/bin/gcc - D_plplotcmodule_EXPORTS -DQT_DLL -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB - DHAVE_CONFIG_H -pipe -Wall -O2 -fPIC -I/usr/include/qt4 - I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore - I/home/va/RPM/BUILD/plplot-5.9.4/include - I/home/va/RPM/BUILD/plplot-5.9.4/lib/qsastime - I/home/va/RPM/BUILD/plplot-5.9.4/alt - I/home/va/RPM/BUILD/plplot-5.9.4/alt/include - I/home/va/RPM/BUILD/plplot-5.9.4/alt/bindings/python -I/usr/include/python2.5 -I/usr/lib64/python2.5/site-packages/numpy/core/include/numpy - I/home/va/RPM/BUILD/plplot-5.9.4/bindings/swig-support -o CMakeFiles/_plplotcmodule.dir/plplotcmodulePYTHON_wrap.c.o -c /home/va/RPM/BUILD/plplot-5.9.4/alt/bindings/python/plplotcmodulePYTHON_wrap.c /home/va/RPM/BUILD/plplot-5.9.4/alt/bindings/python/plplotcmodulePYTHON_wrap.c:2711:33: error: arrayobject.h: No such file or directory /home/va/RPM/BUILD/plplot-5.9.4/alt/bindings/python/plplotcmodulePYTHON_wrap.c:3140: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token What can be a problem? [va@colombo SPECS]$ rpm -q cmake cmake-2.6.4-alt2 best wishes Valery |