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).
--with-proj=/usror--with-proj=/usr/localrespectively if installed from package or from source. – steko Dec 18 '12 at 16:29--with-proj=/usrdid the trick, although I don't know why, since a more exact path definition should be working as well. – wnstnsmth Dec 18 '12 at 16:46/usr. Includes are in/usr/includebut binaries are in/usr/binand so on. Proj.4 doesn't have a "pkg-config" executable like GDAL. – steko Dec 18 '12 at 16:50yum install curl-devel. You will need to do this for all libraries that are missing. – steko Dec 18 '12 at 16:58