[postgis-users] Problems finding PostgresQL on an FC4 installation

strk at refractions.net strk at refractions.net
Sun Jan 8 05:28:49 PST 2006


	--with-pgsql=/usr/local/pgsql/bin/pg_config

If you file a bug report I'll change the code to handle
this error by raising an error at ./configure time...

--strk;


On Fri, Jan 06, 2006 at 03:13:13PM -0800, Putler, Dan wrote:
> Hi All,
> 
> I'm having a heck of a time installing PostGIS 1.1.0 on an FC4 system  
> (with a P3 processor) that is running Postgresql 8.1.1, GEOS 2.2.1,  
> and Proj 4.4.9.
> 
> I installed Postgresql from source with /usr/local/pgsql as the  
> installation directory. As a result, I configured PostGIS using the  
> option --with-pgsql=/usr/local/pgsql (I've also tried /usr/local and / 
> usr/local/pgsql/bin as the postgres directories). Things seem to go  
> along fine with configure since it finds geos, and proj, and doesn't  
> complain about postgres. However, when I become root and attempt  
> make, bad things happen. I created a transcript of the session, and  
> here are the first few lines of the output of the make process, which  
> might provide a clue to my problem:
> 
> make -C lwgeom
> make[1]: execvp: /usr/local/pgsql: Permission denied
> make[1]: Entering directory `/home/putler/build/postgresql-8.1.1/ 
> contrib/postgis-1.1.0/lwgeom'
> make[1]: execvp: /usr/local/pgsql: Permission denied
> make[1]: execvp: /usr/local/pgsql: Permission denied
> make[1]: execvp: /usr/local/pgsql: Permission denied
> make[1]: execvp: /usr/local/pgsql: Permission denied
> make[1]: execvp: /usr/local/pgsql: Permission denied
> gcc -DUSE_VERSION=82 -DPOSTGIS_LIB_VERSION='"1.1.0"' - 
> DPOSTGIS_VERSION='"1.1 USE_GEOS=1 USE_PROJ=1 USE_STATS=1"' - 
> DPOSTGIS_SCRIPTS_VERSION='"1.1.0"' -DPOSTGIS_BUILD_DATE='"2006-01-06  
> 22:23:57"' -I/usr/local/include -DUSE_PROJ  -I -DAUTOCACHE_BBOX=1  - 
> DUSE_STATS -Wall -g -O2 -fPIC -fexceptions -DUSE_GEOS -I/usr/local/ 
> include     -c -o liblwgeom.o liblwgeom.c
> In file included from liblwgeom.c:26:
> lwgeom_pg.h:4:22: error: postgres.h: No such file or directory
> lwgeom_pg.h:5:29: error: utils/geo_decls.h: No such file or directory
> lwgeom_pg.h:6:18: error: fmgr.h: No such file or directory
> In file included from liblwgeom.c:26:
> lwgeom_pg.h:28: error: syntax error before â
> 
> The three header files make can't find are part of postgres, so my  
> guess is make still can't find postgres. I've played with  
> LD_LIBRARY_PATH without any luck (which isn't surprising since it  
> doesn't point to the header directories). Any ideas about what I'm  
> not doing to make postgres visible?
> 
> Dan
> 

> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users


-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the postgis-users mailing list