Re: compiling postgresql with uuid-ossp failure

Tom Lane <[email protected]> Thu, 28 Feb 2019 11:57:57 -0500
Newsgroups gmane.comp.db.postgresql.novice
Message-ID <[email protected]>
Ibrahim Shaame <[email protected]> writes:
> I have installed idempiere ERP which requires uuid-ossp library. I have
> tried to recompile postgresql-11.2 with the option --with-uuid=ossp.

That option doesn't in itself cause any contrib modules to be built
or installed ...

> I get the following error:
> ERROR:  could not open extension control file
> "/data/databases/postgres/pgsql11/share/extension/uuid-ossp.control": No
> such file or directory.

... and you evidently don't have uuid-ossp installed.  You need to do
"make ; make install" in either contrib/uuid-ossp, or the parent
contrib directory if you want all the contrib extensions.

			regards, tom lane