Compiling Postgres with UUID to use in asdf
Lately I started using asdf, which is a great version manager for nearly anything (ruby, elixir, node, postgres...) . At my work I sometimes have to switch between different postgres versions, so I was happy that there also is a postgres plugin for asdf. But as soon as I was working on a project that uses UUIDs as primary keys in postgres I ran into postgres not being build with the uuid extension.
ERROR: could not open extension control file "...some-asdf-path.../uuid-ossp.control": No such file or directory
Also apperantly on Mac systems, there is some trouble with ossp-uuid not being able to compile.