Can't build uuid-ossp extension from source

Started by Michael Kartashovover 9 years ago2 messagesbugs
Jump to latest
#1Michael Kartashov
legacy.pteronura@gmail.com

Dear PostgreSQL bug-squasher-team,

recently I've installed PostgreSQL-9.6.1 and detected that I'm not able to
build its extension "uuid-oss".

I've built database from source code using instructions from the "Short
Version" section of its INSTALL file and I've tried to build uuid-ossp with
simple make & sudo make install in its directory in contrib, but "make"
command always ends with errors. You can find its output in attached file
"uuid-ossp_make_errors.txt". Also you can find there my "config.log" file.
Before I've got this issue, I had successfully built "pgcrypto" extension
and installed uuid-ossp lib (with sudo apt install uuid-dev).

I'm running Ubuntu 16.04.1 LTS, using gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4)
5.4.0 20160609 and GNU Make 4.1.

Can you help me with this issue, please?

Respectfully, Michael Kartashov.

Attachments:

uuid-ossp_make_errors.txttext/plain; charset=UTF-8; name=uuid-ossp_make_errors.txtDownload
config.logtext/x-log; charset=US-ASCII; name=config.logDownload
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Michael Kartashov (#1)
Re: Can't build uuid-ossp extension from source

Michael Kartashov <legacy.pteronura@gmail.com> writes:

I've built database from source code using instructions from the "Short
Version" section of its INSTALL file and I've tried to build uuid-ossp with
simple make & sudo make install in its directory in contrib, but "make"
command always ends with errors.

You can't build uuid-ossp unless you've configured the appropriate uuid
library through configure's --with-uuid switch.

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs