fix to allow compilation on mac os x#82
Conversation
|
This would not be the perfect solution. maybe, it is build order problem. but, there is also a problem with the "cypher_gram.c" file that generated in my environment, which is looking for an invalid header location like behind. // actual
#include "cypher_gram_def.h"
// except
#include "parser/cypher_gram_def.hSummary
Envoriment |
|
The log from the latest master shows the bison invocation Interesting enough, the file I changed ( the full log: |
|
@deem0n interesting. |
I guess it is version provided by Apple: |
|
Ok, I tested with bison version that you installed. how about try the latest version that you can download from brew? |
|
I used bison from brew with And it runs without problem. Both bison 3.7 from brew and bison 2.3 on Mac OS X do the job. The problem is that compiler can not handle function use without prior declaration: The error is in the cypher_parser.c which is part of the git repo and is not generated by bison during the build. |
muhammadshoaib
left a comment
There was a problem hiding this comment.
This worked for me on mac. but it shall be tested if making it permanent permanent part of the code will create any other problem or not.
without this fix I see the following error:
my pg_config is:
gcc version: