[geos-devel] Compiling troubles

Meek, Allan (Contractor) Allan.Meek at drdc-rddc.gc.ca
Wed Jan 2 17:18:19 EST 2008


And there it is! Thanks for the help, Paul and Mateusz. I got rid of the
INSTALL variable, logged out, logged back in, and did a compile from
scratch. Everything looks good now.

Allan



-----Original Message-----
From: geos-devel-bounces at lists.osgeo.org
[mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: January 2, 2008 4:55 PM
To: GEOS Development List
Subject: Re: [geos-devel] Compiling troubles

Ah, so simple it bonks one over the nose, once you see it:

You over-rode the INSTALL environment variable, which has *whoops*  
special meaning within the context of a "make install" operation...  
it is the program to use to install the files!  Unsetenv INSTALL and  
use something a little less generic.

P

On 2-Jan-08, at 1:02 PM, Meek, Allan (Contractor) wrote:

> Hi,
>
> I just downloaded geos-3.0.0.tar.bz2 today and tried to compile it in
> Red Hat Linux, but I have encountered some troubles.
>
> Here are the steps I followed:
>
> - extracted the contents of the tar file to /rde/ameek/GEOS/geos-3.0.0
> - set the INSTALL environmental variable to /rde/ameek/GEOS/binlin
> - created the directory /rde/ameek/GEOS/binlin
> - from the geos-3.0.0 directory, executed "./configure
> --prefix=${INSTALL}"
> - executed "make"; everything looked good
> - executed "make check"; everything looked good
> - executed "make install"; I ended up with the following error  
> messages:
>
> =================================================
>
> {...}
> make[4]: Entering directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[5]: Entering directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[6]: Entering directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[6]: Nothing to be done for 'install-exec-am'.
> test -z "/rde/ameek/GEOS/binlin/include/geos/algorithm" || mkdir -p --
> "/rde/ameek/GEOS/binlin/include/geos/algorithm"
>  /rde/ameek/GEOS/binlin -m 644 'LineIntersector.h'
> '/rde/ameek/GEOS/binlin/include/geos/algorithm/LineIntersector.h'
> /bin/sh: line 1: /rde/ameek/GEOS/binlin: is a directory
>  /rde/ameek/GEOS/binlin -m 644 'PointLocator.h'
> '/rde/ameek/GEOS/binlin/include/geos/algorithm/PointLocator.h'
> /bin/sh: line 1: /rde/ameek/GEOS/binlin: is a directory
> make[6]: *** [install-geosHEADERS] Error 126
> make[6]: Leaving directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[5]: *** [install-am] Error 2
> make[5]: Leaving directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[4]: *** [install-recursive] Error 1
> make[4]: Leaving directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos/algorithm'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers/geos'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> '/home/rde/ameek/GEOS/geos-3.0.0/source/headers'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory '/home/rde/ameek/GEOS/geos-3.0.0/source'
> make: *** [install-recursive] Error 1
>
> * /home/rde and /rde point to the same location.
> =================================================
>
> What can I do to avoid this problem and complete the installation?
>
> Thanks,
> Allan
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel

_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-devel


More information about the geos-devel mailing list