Opened 13 years ago
Closed 13 years ago
#94 closed defect (fixed)
Error compiling rasdaman (in file insertppm.cc)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | manuals_and_examples | Version: | |
Keywords: | Cc: | Peter Baumann | |
Complexity: | Medium |
Description
Compiling rasdaman I always receive the following error.
insertppm.cc:81:18: warning: extra tokens at end of #ifdef directive
insertppm.cc:87:18: error: ppm.h: No such file or directory
In file included from /home/rasdaman/rasdaman/rasodmg/iterator.hh:41,
from /home/rasdaman/rasdaman/raslib/template_inst.hh:39,
from insertppm.cc:56:
the problem can be fixed as described into the earthserver installation pages.There is no reference to this problem into the document "inst-guide.pdf"
# _before_ running ./configure
export CPPFLAGS=-I/usr/include/netpbm
Regards
Damiano
Change History (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've just fixed this, it's no longer required to
export CPPFLAGS=-I/usr/include/netpbm
./configure alone should work.
You can also add the following to the .bashrc of your rasdaman user to set and forget the fix:
# allows rasdaman to compile on scientific linux
if [ "$CPLUS_INCLUDE_PATH" == "" ] ; then
else
fi
Alan