Skip to content

Using Makefiles to build PostgreSQL

For a long time I was using a Makefile to quickly build, start, stop and then wipe a predefined PostgreSQL version. That comes handy if you just want to test something on an older version, without actually installing the software. Everything happens in a single directory, even a different port is assigned.

When I needed that setup recently, I ran into unrelated build errors:

relpath.c:21:10: fatal error: catalog/pg_tablespace_d.h: No such file or directory
 #include "catalog/pg_tablespace_d.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Can't be - pg_tablespace_d.h is included in the tarball I'm using.

 

 

Continue reading "Using Makefiles to build PostgreSQL"
  • Twitter
  • Bookmark Using Makefiles to build PostgreSQL at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Using Makefiles to build PostgreSQL
  • Bloglines Using Makefiles to build PostgreSQL
  • Technorati Using Makefiles to build PostgreSQL
  • Fark this: Using Makefiles to build PostgreSQL
  • Bookmark Using Makefiles to build PostgreSQL at YahooMyWeb
  • Bookmark Using Makefiles to build PostgreSQL at Furl.net
  • Bookmark Using Makefiles to build PostgreSQL at reddit.com
  • Bookmark Using Makefiles to build PostgreSQL at blinklist.com
  • Bookmark Using Makefiles to build PostgreSQL at Spurl.net
  • Bookmark Using Makefiles to build PostgreSQL at Simpy.com
  • Bookmark Using Makefiles to build PostgreSQL at blogmarks
  • Bookmark Using Makefiles to build PostgreSQL with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca