[mapserver-users] compilation problem in java
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@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] compilation problem
UbuntuGIS has it: http://trac.osgeo.org/ubuntugis/wiki https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable Alan On July 13, 2010 02:50:24 pm ahmet temiz wrote: > thank you for your both mail > > I must have destroyed that library accidentally , when I tried to > install gdal_1.7.2 ubuntu. > > Do you know where gdal_1.7.2 ubuntu package can be found ? > > regards > > 2010/7/13 Alan Boudreault : > > Same problem, a library named libdf.so is missing. Find the package that > > contains the file "libdf.so" and install it. On Ubuntu, it's > > libhdf4g-dev. > > > > Alan > > > > On July 13, 2010 08:29:19 am ahmet temiz wrote: > >> hello > >> > >> when I tried to compile mapserver: > >> > >> I got this. > >> > >> /usr/bin/ld: cannot find -ldf > >> collect2: ld returned 1 exit status > >> make: *** [shp2img] Error 1 > >> > >> > >> what might be the problem ? > >> > >> > >> regards > >> ___ > >> mapserver-users mailing list > >> mapserver-users@lists.osgeo.org > >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- > > Alan Boudreault > > Mapgears > > http://www.mapgears.com > -- Alan Boudreault Mapgears http://www.mapgears.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] compilation problem
thank you for your both mail I must have destroyed that library accidentally , when I tried to install gdal_1.7.2 ubuntu. Do you know where gdal_1.7.2 ubuntu package can be found ? regards 2010/7/13 Alan Boudreault : > Same problem, a library named libdf.so is missing. Find the package that > contains the file "libdf.so" and install it. On Ubuntu, it's libhdf4g-dev. > > Alan > > On July 13, 2010 08:29:19 am ahmet temiz wrote: >> hello >> >> when I tried to compile mapserver: >> >> I got this. >> >> /usr/bin/ld: cannot find -ldf >> collect2: ld returned 1 exit status >> make: *** [shp2img] Error 1 >> >> >> what might be the problem ? >> >> >> regards >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > -- > Alan Boudreault > Mapgears > http://www.mapgears.com > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] compilation problem
Same problem, a library named libdf.so is missing. Find the package that contains the file "libdf.so" and install it. On Ubuntu, it's libhdf4g-dev. Alan On July 13, 2010 08:29:19 am ahmet temiz wrote: > hello > > when I tried to compile mapserver: > > I got this. > > /usr/bin/ld: cannot find -ldf > collect2: ld returned 1 exit status > make: *** [shp2img] Error 1 > > > what might be the problem ? > > > regards > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Alan Boudreault Mapgears http://www.mapgears.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation problem
hello when I tried to compile mapserver: I got this. /usr/bin/ld: cannot find -ldf collect2: ld returned 1 exit status make: *** [shp2img] Error 1 what might be the problem ? regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users