[postgis-users] Problem building PostGIS 1.4.0 on Ubuntu 9.04 (missing pgxs.mk)

Mateusz Loskot mateusz at loskot.net
Fri Oct 30 08:42:05 PDT 2009


Tyler Erickson wrote:
> I'm having problems building PostGIS 1.4.0 on Ubuntu 9.04 (a new
> install). At the configure step for building PostGIS I get the
> following error:
> 
> configure: error: the PGXS Makefile 
> /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/pgxs.mk cannot be
> found. Please install the PostgreSQL server development packages and
> re-run configure.
> 
> pg_config reports the (supposed) location of the pgxs.mk file, but no
> file was actually installed there during the PostgreSQL install...
> 
> root at vb-ubuntu-serva:/home/tylere/src/postgis/postgis-1.4.0#
> pg_config --pgxs 
> /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/pgxs.mk 
> root at vb-ubuntu-serva:/home/tylere/src/postgis/postgis-1.4.0# ls
> $(pg_config --pgxs) ls: cannot access
> /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/pgxs.mk: No such file
> or directory

Tyler,

I presume you have not installed postgresql-server-dev package for the 
version of PostgreSQL you use.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net



More information about the postgis-users mailing list