Configure failure on Ubuntu 9.10

View: New views
4 Messages — Rating Filter:   Alert me  

Configure failure on Ubuntu 9.10

by Chris Hill-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear List,

I have installed Postgres 8.4.1, Proj4 and GEOS librarys on Ubuntu
9.10 yet when I attempt to ./configure Postgres 1.4.0 I receive this
error:

[ ... ]
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
configure: error: could not find libpq-fe.h

The file libpq-fe.h which configure cannot find is present in
/usr/local/pgsql/include.

Is there a way I can tell configure where to look for this file?

Many thanks

Chris
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users

Re: Configure failure on Ubuntu 9.10

by Paul Hastings-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Hill wrote:

> I have installed Postgres 8.4.1, Proj4 and GEOS librarys on Ubuntu
> 9.10 yet when I attempt to ./configure Postgres 1.4.0 I receive this
> error:


just piling on...

seeing something similar w/same setup (9.10 server, postgres 8.4.1 & trying to
install postGIS 1.4) though getting "error: the PGXS Makefile
/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk cannot be found. Please
install the PostgreSQL server development packages and re-run configure." instead.

is there a detailed list of the postgreSQL requirements postGIS needs that a
relative linux newbie can understand?

thanks.


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

Re: Configure failure on Ubuntu 9.10

by Chris Hill-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paul,

I got past that stage! Try installing these:

sudo apt-get install postgresql-server-dev-8.4 libpq-dev

See where that takes you...

Chris

2009/11/3 Paul Hastings <paul.hastings@...>:

> Chris Hill wrote:
>
>> I have installed Postgres 8.4.1, Proj4 and GEOS librarys on Ubuntu
>> 9.10 yet when I attempt to ./configure Postgres 1.4.0 I receive this
>> error:
>
>
> just piling on...
>
> seeing something similar w/same setup (9.10 server, postgres 8.4.1 & trying
> to install postGIS 1.4) though getting "error: the PGXS Makefile
> /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk cannot be found.
> Please install the PostgreSQL server development packages and re-run
> configure." instead.
>
> is there a detailed list of the postgreSQL requirements postGIS needs that a
> relative linux newbie can understand?
>
> thanks.
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users@...
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users

Re: Configure failure on Ubuntu 9.10

by Paul Hastings-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Hill wrote:
> I got past that stage! Try installing these:
>
> sudo apt-get install postgresql-server-dev-8.4 libpq-dev


thanks, that moved me a long a bit.

i don't recall doing this for 8.3/1.3 (i guess it was the regular distribution
via apt-get??), is this listed someplace i missed?

> See where that takes you...

takes me to the interminable geos compile ;-)
_______________________________________________
postgis-users mailing list
postgis-users@...
http://postgis.refractions.net/mailman/listinfo/postgis-users