I'm trying to configure
MapServer 6.2.0 for compilation on CentOS 6.3, but always run into the same problem, no matter what configure options I supply (also the same with no options at all, just plain configure).
It has something to do with g++ (although I do not really understand why it tries to use it).
Here is the output:
What is wrong?
EDIT: This problem was solved with yum install gcc-c++
, as suggested by @steko. Now, I have another error, which is weird in my opinion:
configure: checking whether we should include PROJ.4 support...
configure: error: "Could not find proj_api.h or libproj.a/libproj.so in /usr/lib64."
Although locate proj_api.h
gives /usr/include/proj_api.h
(I also set --with-proj=/usr/include
for configure, not as in the paste bin).
Best Answer
Judging from the last few lines of output:
you are missing the
g++
compiler and you should be able to install it withYou will need also GDAL/OGR and the Proj.4 library. In general, follow the step-by-step instructions at http://www.mapserver.org/installation/unix.html#compiling