[postgis-users] -- configure: error: PostgreSQL is required by PostGIS Installing PostGIS --
TECHER David
davidtecher at yahoo.fr
Tue Sep 26 20:14:28 PDT 2006
Hi Raphael
U need to update PATH
export PATH=/usr/local/pgsql/bin:$PATH
configure
then
make
If U still have problem 'configure --help' to see options ;)
Rafael Orta a écrit :
> Hello Everybody
>
> I installed PostgreSQL 8.1 on Red Hat Ent 4.0 and it seems to be
> working fine. I am proceding to install Postgis 1.1.3 from the .gz
> file following the instructions in the manual.
>
> It says to uncompress and copy the posgis software on the [postgresql
> source tree]/contrib. *To be honest I am not sure what is this
> directory, I installed from .rpm files , however I did a find on my
> disk looking for the contrib directory and found
> /usr/local/pgsql/share/contrib , so I assume that this is*
> *the directory the installation manual refers to.*
> **
> *When I try to do the make file I get*
> **
> [root at spatial postgis-1.1.3]# cp Makefile.config.in Makefile.config
> [root at spatial postgis-1.1.3]# make
> ./configure
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether ln -s works... yes
> checking for iconv_open in -liconv... no
> checking for libiconv_open in -liconv... no
> checking for iconv_open in -lc... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for pg_config... no
> *configure: error: PostgreSQL is required by PostGIS
> make: *** [config.status] Error 1*
> **
> *Any idea what could be wrong?*
> **
> *I couldn't install the postgress wxGTK-devel-2.6.3-2.6.3.2.1.i686.rpm
> because *
> *of the error below and did not know where to get
> gtk2-devel-2.4.13-12.i386.rpm
> netiher if it is neccesary.*
> **
> *[root at spatial PgadminIII]# rpm -ihv wxGTK-devel-2.6.3-2.6.3.2.1.i686.rpm
> error: Failed dependencies:
> gtk2-devel is needed by wxGTK-devel-2.6.3-2.6.3.2.1.i686
> Suggested resolutions:
> gtk2-devel-2.4.13-12.i386.rpm
> *
> *
> Thanks in advance
>
> Rafael Orta
> *
> **
>
>
> *****************************************************
> Rafael Orta Phone: (609)-330-3193
> Sr. Oracle DBA Fax: (856)-642-7679
> Technical Manager
> Oraprofessionals Email: rorta_us at yahoo.com
> ******************************************************
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Get on board. You're invited
> <http://us.rd.yahoo.com/evt=40791/*http://advision.webevents.yahoo.com/mailbeta>
> to try the new Yahoo! Mail.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
--
--david;
http://www.postgis.fr
http://www.davidgis.fr
___________________________________________________________________________
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet !
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences.
http://fr.answers.yahoo.com
More information about the postgis-users
mailing list