pex icon indicating copy to clipboard operation
pex copied to clipboard

use of undeclared identifier 'FALSE'

Open irsi opened this issue 5 years ago • 3 comments

I installed [email protected] and pex via homebrew on macOS Mojave 10.14.5, but when I try to install ip4r package — I get about 20 errors like this:

./ip4r_funcs.h:74:16: error: use of undeclared identifier 'FALSE'
        return FALSE;
               ^

Other errors differ only in filename or constant (TRUE/FALSE).

irsi avatar Jul 30 '19 20:07 irsi

upd

clang version:

Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

irsi avatar Jul 30 '19 20:07 irsi

I'm getting the same error when trying to run the TAOP Extras make file. I'm using Apple clang version 11.0.0 (clang-1100.0.33.17) on macOS 10.15.2 against a Homebrew install of Postgres 12.1 and pex. Is there any news about how to fix this?

majorcode avatar Jan 17 '20 02:01 majorcode

UPDATE: I cloned the RhodiumToad/ip4r and citusdata/postgresql-hll repos, then ran make and make install in both directories to build and install the missing extensions. Then ran make dropdb and re-ran make in the Extras directory. Seems to have fixed the problem. Also, this is probably not the correct repo to report this; a problem with setting up The Art of PostgreSQL extras. But maybe this information will be of use to others having the same problem.

majorcode avatar Jan 17 '20 02:01 majorcode