[geos-devel] Compiling troubles

Meek, Allan (Contractor) Allan.Meek at drdc-rddc.gc.ca
Wed Jan 2 16:02:13 EST 2008


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


More information about the geos-devel mailing list