[GRASS-user] gdal and gdalconst modules?

stefano stefano at progettoarchivio.com
Tue May 23 10:41:28 EDT 2006


Frank Warmerdam wrote:
> stefano wrote:
>> Hello everybody!
>> I have a little problem with the raster elaboration.
>>
>> I found a useful module at cpan.perl.org, which is Geo::Raster.
>> I saw that the prerequisites are the "libral" library, the 
>> Statistics::Details module and the gdal and gdalconst modules.
>> I installed the library and the Statistic module without problems. 
>> Then I installed the Geo::GDAL module form cpan and I tried to 
>> install Geo::Raster.
>> The error message that was prompted was:
>>  >Following required modules are missing: gdalconst gdal.
>>
>> I tried to install gdal modules using apt-get and, after getting 
>> another error,  from sources available from www.gdal.org/dl.
>> Everything worked fine, but, when I tried again to install 
>> Geo::Raster, the error message was the same.
>> What can I do??
>>
>> My operative system is Debian 3.1 unstable, and everything, except 
>> for "libral" and "gdal" was installed with apt-get.
>
> Stefano,
>
> I think the key is to configure GDAL with the --with-perl flag then do 
> the
> "make" and "make install".  By default I don't believe the perl 
> components
> will be built.
>
> Best regards,
>
Yes, I built the perl modules and everything worked fine!
Thanks!

Stefano




More information about the grass-user mailing list