AW: [postgis-users] problem with proj-4.5.0 ERROR in Package ???

Stüwe Rolf Rolf.Stuewe at stadt.wuppertal.de
Thu Feb 15 06:06:03 PST 2007


Hi Frank,

thank you for the Tipp, but I recognized an error in die proj-Package, I believe.
The file projects.h  should be in the directory ...proj-4.5.0/src/include/  as seen in the configure-skript. But in the tar-archive it was under ...proj-4.5.0/src/ - I made a directory named include, moved the file projects.h  and I could compile postGIS.

Best regards

Rolf


 

-----Ursprüngliche Nachricht-----
Von: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] Im Auftrag von Frank Koormann
Gesendet: Donnerstag, 15. Februar 2007 11:50
An: PostGIS Users Discussion
Betreff: Re: [postgis-users] problem with proj-4.5.0

Hallo,

* Stüwe Rolf <Rolf.Stuewe at stadt.wuppertal.de> [070214 19:38]:
> I have problems to compile postGIS 1.2.1 under linux with proj-4.5.0 :
> I set the variables --with-proj=/.../postgres/proj-4.5.0   and --with-proj-libdir=/.../postgres/proj-4.5.0/src/.libs when compiling. I set the varriables  USE_PROJ=1 and PROJ_DIR and PROJ_LIBDIR in the file Makefile.config.in, but the error-message is "configure: error: Can't find proj dir.".
> 

As I read, you are trying to build PostGIS against a Proj.4 which is compiled and linked, but not installed. This might be possible, but the configure process of PostGIS expects a strucure of Proj.4 which is created by installing it. The error message you encounter is due to the fact that there is no include/project.h under the proj-libdir you specified.

I suggest to install Proj.4 with an appropriate --prefix= setting and reference this with when configuring PostGIS with ./configure --with-proj= .....

Btw. it shouldn't be necessary to edit Makefile.config.in with PostGIS 1.1.x and higher.

Hope this helps,

        Frank Koormann

-- 
Frank Koormann                                   http://intevation.net
 PostGIS Support (http://www.intevation.net/geospatial/postgis-support.en.html)
 Intevation GmbH, Georgstrasse 4, 49074 Osnabrück, Germany
 Tel.: ++49-541-335 08 30
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list