[gdal-dev] Error while building gdal source code with Swig Java
kedardeshpande87
kedardeshpande87 at gmail.com
Thu Jun 28 11:19:51 PDT 2012
Hi,
I am trying to build the source with the swig bindings
I am running it on RHEL5 64 bit.
I ran the 'configure', 'make' and 'make install' from the gdal
directory.This runs successfully and creates ligdal.so files
For java, I go into gdal/swig/java and run the 'make' command. I am getting
the following error while building it :
In file included from
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/jni.h:52,
from gdalconst_wrap.c:121:
*/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/jni_md.h:30:31: error:
gcj/libgcj-config.h: No such file or directory*
make[1]: *** [gdalconst_wrap.lo] Error 1
...
I verified the location /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/gcj/
and found that the file *does exist*
Did anyone come across such an error ? What could be the reason I am getting
this error ?
Thanks,
Kedar
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-while-building-gdal-source-code-with-Swig-Java-tp4984659.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list