Install on Suse 10.1

Jeff McKenna jmckenna at DMSOLUTIONS.CA
Sun Aug 27 16:30:56 EDT 2006


Ryan you might want to check out the FGS installer: 
http://www.maptools.org/fgs/

jeff




Ryan Ollerenshaw wrote:
> Jacolin Yves wrote:
>> Hi,
>> How do you have installed gdal-ogr ? with a binary or building it ?
>> If you installed it with binary try to install libgdal1-devel as well
>>
>>   
> I installed gdal from an rpm following a link on the gdal page.  As your 
> advice i installed the gdal-devel rpm as well and now i am getting a new 
> error:
> 
> make: g++: Command not found
> make: *** [mapogr.o] Error 127
> 
> thank you for all your help so far.
> 
> 
>>> Jacolin Yves wrote:
>>>    
>>>> 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
>>>>       
>>> Some what worked but now i am getting:
>>>
>>> In file included from maptemplate.h:45,
>>>                  from maptemplate.c:104:
>>> map.h:386:21: error: ogr_api.h: No such file or directory
>>> In file included from maptemplate.h:45,
>>>                  from maptemplate.c:104:
>>> map.h:1712: error: expected ‘)’ before ‘hGeometry’
>>> make: *** [maptemplate.o] Error 1
>>>
>>>    
>>>>> 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 \
>>>>>>>             
>>
>>   
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the mapserver-users mailing list