[mapserver-users] compilation problem in java

ahmet temiz ahmettemiz88 at gmail.com
Wed May 18 08:00:06 EDT 2011


hello

I tried to compile ms 6.0 in java

after changing java dir,

mapscript_wrap.c:135: fatal error: jni.h: No such file or directory
compilation terminated.
make: *** [mapscript_so] Error 1


I checked jni.h:

orkun at orkun-HP:~$ ls $JAVA_HOME/include/
classfile_constants.h  jawt.h  jdwpTransport.h  jni.h  jvmti.h  linux
    // jni.h exists

I put :

export CPPFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"

The problem still remains.

what could I do ?

regards
-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı
Bilgi ve CBS grubu
Eskişehir Yolu 10. km.
Lodumlu / Ankara
Tel : 0 312 2872680 / 1535
________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency


More information about the mapserver-users mailing list