I am trying to build Mapserver on RHEL 6. I'd settle for the rpms, but that is 
looking for Harfbuzz. I built that and installed it, but I still get 
'harfbuzz-devel' missing when I try and use the rpm. So I went back to building 
the source. It makes it to 77% of the make and then blows up. I'll try and 
include some info.
[ 77%] Building CXX object 
CMakeFiles/mapserver.dir/mapogr.cpp.o/tmp/mapserver-7.0.4/mapogr.cpp: In 
function âmsOGRFileInfo* msOGRFileOpen(layerObj*, const 
char*)â:/tmp/mapserver-7.0.4/mapogr.cpp:1346: error: âOGR_L_GetNameâ was not 
declared in this scope/tmp/mapserver-7.0.4/mapogr.cpp: In function âint 
msOGRFileWhichShapes(layerObj*, rectObj, 
msOGRFileInfo*)â:/tmp/mapserver-7.0.4/mapogr.cpp:2480: error: 
âOGR_L_GetGeomTypeâ was not declared in this scopemake[2]: *** 
[CMakeFiles/mapserver.dir/mapogr.cpp.o] Error 1make[1]: *** 
[CMakeFiles/mapserver.dir/all] Error 2make: *** [all] Error 2

Here is what I supply to cmake:
 cmake -DCMAKE_INSTALL_PREFIX=/opt/mapserver 
-DCMAKE_PREFIX_PATH=/usr/local:/software/depot/gdal-2.0.2 -DWITH_ODBC=0 
-DWITH_CLIENT_WFS=0 -DWITH_WFS=0    -DWITH_CLIENT_WMS=0  -DWITH_SOS=0 
-DWITH_PHP=0 -DWITH_PYTHON=0 -DWITH_SVGCAIRO=0 -DWITH_POSTGIS=0 -DWITH_FCGI=0 
-DWITH_ODBC=0 -DWITH_ORACLESPATIAL=0 -DWITH_HARFBUZZ=0 -DWITH_FRIBIDI=0 
-DWITH_MSSQL2008=0 -DNEED_STRLCPY=0 -DWITH_SDE=0 -DWITH_CAIRO=0 -DWITH_OGR=ON   
-DSDE_VERSION=91  .. >../configure.out.txt[ramos@littlemac build]$

Greg
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to