bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.32k stars 146 forks source link

`make install-world` exits with error #360

Open Rosswell opened 6 years ago

Rosswell commented 6 years ago

After cloning from the repo (4/29/18) and running make install, make install-world exits with error code 2, because the /contrib/hadoop_fdw/hadoop_fdw.so file is missing.

For the moment, my workaround is to just compile that file:

gcc ~/agensgraph/contrib/hadoop_fdw/hadoop_fdw.o -shared -o ~/agensgraph/contrib/hadoop_fdw/hadoop_fdw.so

Since the installation documentation does not require this step, it would be nice if either the installation documentation was updated, or the file was included in the source. Thanks!

yc0000 commented 6 years ago

Run configure after exporting.

export LDFLAGS="-L(JAVA_PATH)/jre/lib/amd64/server"

(example) export LDFLAGS="-L/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-5.b12.el7_4.x86_64/jre/lib/amd64/server"