Issue68

Title PostgreSQL plugin needs extra flags to compile (static, with downloads) with current boost_1.64.0
Priority wish Status resolved
Superseder Nosy List admin
Assigned To
Keywords Plugin - PostgreSQL

Created on 2017-09-13.18:27:32 by admin, last changed by admin.

Messages
msg312 (view) Author: admin Date: 2017-09-13.18:27:32
[BitBucket user: asch99]
[BitBucket date: 2017-09-13.16:27:32]

On Ubuntu 17.04 the PostgreSQL plugin build 

```
#!python

cmake -DCMAKE_BUILD_TYPE=Release -DALLOW_DOWNLOADS=ON  -DSTATIC_BUILD=ON

```

fails because of incompatible declarations of ISINF in postgresql 9.6.1 and boost 1.64.0. Adding

```
#!python

-DHAVE_ISINF=ON

```
to the cmake line gives a clean compile.  While this is not a bug, it would be nice to document this fix for the unexpected failed build, while previous version of boost did work.
msg313 (view) Author: admin Date: 2018-01-05.11:05:35
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-01-05.10:05:35]

Thanks for reporting this issue! It is now fixed by the following changeset:
https://hg.orthanc-server.com/orthanc-postgresql/changeset/6c94a727758c97289a82e1489bd33f2d07a32a94
History
Date User Action Args
2026-07-29 15:51:21admincreate