Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use of undeclared identifier 'FALSE' #9

Open
irsi opened this issue Jul 30, 2019 · 3 comments
Open

use of undeclared identifier 'FALSE' #9

irsi opened this issue Jul 30, 2019 · 3 comments

Comments

@irsi
Copy link

irsi commented Jul 30, 2019

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
Copy link
Author

irsi commented Jul 30, 2019

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

@majorcode
Copy link

majorcode commented Jan 17, 2020

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
Copy link

majorcode commented Jan 17, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants