Install on Suse 10.1
Jacolin Yves
yjacolin at FREE.FR
Sun Aug 27 11:47:35 PDT 2006
Hi,
your value for both --with-ogr an --with-gdal have to link to the same
command :
--with-ogr=/usr/local/gdal-1.3.2/bin/gdal-config
--with-gdal=/usr/local/gdal-1.3.2/bin/gdal-config
Regards,
Y.
Le Dimanche 27 Août 2006 17:39, Ryan Ollerenshaw a écrit :
> Matthew Perry wrote:
> > Ryan,
> >
> > I noticed --with-ogr and --with-gdal point to different versions of gdal.
> >
> > Try pointing --with-gdal to your locally built gdal-config script
> > (/usr/local/gdal-1.3.2/bin/gdal-config ??) and simply specifying
> > '--with-ogr' without arguments.
>
> Nope still no good, i tried using just --with-ogr and i got a different
> error:
>
> map.h:386:21: error: ogr_api.h: No such file or directory
> In file included from mapfile.c:146:
> map.h:1712: error: expected ‘)’ before ‘hGeometry’
> mapfile.c:151:24: error: cpl_conv.h: No such file or directory
> mapfile.c:152:20: error: gdal.h: No such file or directory
>
> when i tired to remove --with-ogr from the configure command i was still
> left with
>
> mapfile.c:151:24: error: cpl_conv.h: No such file or directory
> mapfile.c:152:20: error: gdal.h: No such file or directory
>
> I did install gdal from an rpm that i found at :
> http://www.gdf-hannover.de/media.php?id=1&lg=en
> could maybe there be something wrong with that rpm? when i tired to
> install it from the source i ran into missing library problems but the
> rmp seemed to install fine and i can use all of the gdal commands from
> the command line.
>
> > On 8/27/06, Ryan Ollerenshaw <ollerery at engr.orst.edu> wrote:
> >> I have been having all kinda of trouble installing mapserver on Suse
> >> 10.1 i have been able to work though most of the errors but i am now
> >> once again stuck. the configure command runs fine but when i do a make
> >> i get the follow error:
> >>
> >> mapfile.c:151:24: error: cpl_conv.h: No such file or directory
> >> mapfile.c:152:20: error: gdal.h: No such file or directory
> >>
> >> I did a locate for gdal.h and cpl_conv.h and nothing.
> >>
> >> Here is the configure that i am using:
> >>
> >> ./configure \
> >> --with-php=/usr/share/php-4.4.3 \
> >> --with-proj=/usr/local/proj-4.4.9 \
> >> --with-httpd=/var/www/bin/httpd \
> >> --with-ogr=/usr/local/gdal-1.3.2 \
> >> --with-gdal=/usr/bin/gdal-config \
> >> --with-postgis=/usr/local/pgsql/bin/pg_config \
> >> --with-curl-config=/usr/bin/curl-config \
> >> --with-threads \
> >> --with-geos=/usr/local/geos-2.2.1/tools/geos-config \
--
----
Yves Jacolin
htp://yjacolin.gloobe.org
More information about the MapServer-users
mailing list