Hi All,<br><br>- I got the following error when I ran configure:<br>$ sudo ./configure --with-pgsql=/usr/local/pgsql/bin/pg_config --with-geos=/usr/local/bin/geos-config --with-proj=/usr/local/ --with-proj-libdir=/usr/local/lib<br>
<br>configure: error: the PGXS Makefile /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/<a href="http://pgxs.mk">pgxs.mk</a> cannot be found. Please install the PostgreSQL server development packages and re-run configure.<br>
<br>- I didn't see a configure option to specify a path for this, so I created the missing dir, and put a symbolic link in it that points back to where <a href="http://pgxs.mk">pgxs.mk</a> lives:<br>$ sudo ln -s /usr/local/pgsql/lib/pgxs/src/makefiles/<a href="http://pgxs.mk">pgxs.mk</a> /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/<a href="http://pgxs.mk">pgxs.mk</a><br>
<br>- The configure passed, but I get a related error when I try to run make:<br>$ sudo make<br><snip><br>make -C postgis <br>make[1]: Entering directory `/usr/local/postgresql-8.4.2/contrib/postgis-1.4.1/postgis'<br>
/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/<a href="http://pgxs.mk:59">pgxs.mk:59</a>: /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/../../src/Makefile.global: No such file or directory<br>/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/<a href="http://pgxs.mk:84">pgxs.mk:84</a>: /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/../../src/Makefile.shlib: No such file or directory<br>
make[1]: *** No rule to make target `/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/../../src/Makefile.shlib'. Stop.<br>make[1]: Leaving directory `/usr/local/postgresql-8.4.2/contrib/postgis-1.4.1/postgis'<br>make: *** [postgis] Error 2<br>
<br>- Can someone please advise me how to get past this? <br><br>Thanks,<br><br>Roger<br>--<br><br><br>