id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 6117,Compile fails with vector data disabled (--without-ogr),peterdm,warmerdam,"I want to build gdal without vector data support because I don't need it. Disabling vector data makes compilation fail though.[[BR]] Steps to reproduce:[[BR]] 1. ./configure --without-ogr --with-java[[BR]] 2. make[[BR]] -> make fails Note that make succeeds when omitting '--without-ogr'. Possibly the root cause is that there is an illegal dependency from pdf on ogr? I looked for an option to disable pdf too since I don't need that either, but couldn't find any option to do os. So the only workaround I could find is to make with ogr enabled. {{{ [make] ../../GDALmake.opt:576: recipe for target '../o/pdfwritabledataset.lo' failed [make] make[2]: Leaving directory '/mnt/data/jenkins-slave/workspace/GDAL_-_2016.0_-_Native_Build_-_Linux64/native/gdal-2.0.0/frmts/pdf' [make] GNUmakefile:10: recipe for target 'pdf-install-obj' failed [make] make[1]: Leaving directory '/mnt/data/jenkins-slave/workspace/GDAL_-_2016.0_-_Native_Build_-_Linux64/native/gdal-2.0.0/frmts' [make] GNUmakefile:61: recipe for target 'frmts-target' failed [make] pdfwritabledataset.cpp: In member function 'virtual OGRErr PDFWritableVectorDataset::SyncToDisk()': [make] pdfwritabledataset.cpp:307:17: error: 'class GDALPDFWriter' has no member named 'WriteOGRLayer' [make] oWriter.WriteOGRLayer((OGRDataSourceH)this, [make] ^ [make] make[2]: *** [../o/pdfwritabledataset.lo] Error 1 [make] make[1]: *** [pdf-install-obj] Error 2 [make] make: *** [frmts-target] Error 2 }}} ",defect,closed,normal,,default,2.0.0,normal,fixed,,