I download ZIP from https://github.com/psi4/psi4public
and follow instruction.

./setup objdir
cd objdir
make -jgetconf _NPROCESSORS_ONLN

and error occured during compile

…/psi4public-master/src/bin/psi4/python.cc:750:12: error:
use of undeclared identifier ‘GIT_VERSION’
1 error generated.
make[2]: *** [src/bin/psi4/CMakeFiles/versioned_code.dir/python.cc.o] Error 1
make[1]: *** [src/bin/psi4/CMakeFiles/versioned_code.dir/all] Error 2

any suggestion?

Build environment: mac 10.10

clone git resolve issue.

Yes, sorry about that. Consequence of ZIP source not being under git control. I’m still trying to figure out how to convey the git-dependent version number to the ZIP file, but if you modify the else in src/bin/psi4/gitversion.py according to below, it will actually build.

def write_version(branch, mmp, ghash, status):
    if ghash:
        version_str = "#define GIT_VERSION \"{%s} %s %s\"\n" % \
                      (branch, ghash, status)
        version_str = "#define GIT_VERSION \"{%s} %s %s\"\n" % \
                      ('(no tag)', '', '')

This is fixed now (in that it’ll compile and give minimal versioning info) as of d1a2493, but you’re better off with the clone anyway, in that it’s easier to get updates.