[Gdal-dev] problem installing gdal 1.4.2 in ubuntu machine
Frank Warmerdam
warmerdam at pobox.com
Mon Oct 8 13:11:09 EDT 2007
Giannakos Apostolos wrote:
>
>
> Dear list
>
>
> I have problems installing the gdal source code 1.4.2 tar.gz from the
> site http://trac.osgeo.org/gdal/wiki/DownloadSource in ubuntu distrution
>
> I am writing in the shell the following commands
>
> root1 at root1-laptop:~$ cd Desktop
> root1 at root1-laptop:~/Desktop$
> root1 at root1-laptop:~/Desktop$ gunzip gdal-1.4.2.tar.gz
> root1 at root1-laptop:~/Desktop$ tar xvf gdal-1.4.2.tar
> root1 at root1-laptop:~/Desktop$ cd gdal-1.4.2
> root1 at root1-laptop:~/Desktop/gdal-1.4.2$
> root1 at root1-laptop:~/Desktop/gdal-1.4.2$ ./configure --prefix=INSTALL_DIR
> configure: error: expected an absolute directory name for --prefix:
> INSTALL_DIR
>
> Does anyone knows why i have this error or is there a guide about
> installing gdal in ubuntu with the specific steps?
Apostolos,
Why are you using INSTALL_DIR as the argument to --prefix? Where do you
want GDAL installed? If you drop the --prefix argument it will be
installed in /usr/local, which is often appropriate. If you want it
somewhere else, please use an absolute path.
eg.
./configure --prefix=/home/apostolos/bld
There is general information about building on Unix systems at:
http://trac.osgeo.org/gdal/wiki/BuildingOnUnix
Some additional hints for more esoteric issues can be found at:
http://trac.osgeo.org/gdal/wiki/BuildHints
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list