I'm trying to get my laptop OpenKIM setup all configured with the
latest version. Compiling seemed to go fine, and I'm trying to
install to HOME \(not /usr/local\), but "make install" is giving an
error \(see below \- I removed all the (QUELL) so I could see where it
was failing). I'm not entirely sure what the problem is, but it's
definitely returning error status 2. Any suggestions?
Noam
[bernstei@magnesium kim-api-v1.6.2]$ make install
Installing...(/Users/bernstei/lib/kim-api-v1).................................
src.
Installing...(/Users/bernstei/lib/kim-api-v1).................................
bin.
Installing...(/Users/bernstei/lib/kim-api-v1).................................
KIM_Config filesfor fl in Makefile.Generic Makefile.LoadDefaults
Makefile.Model Makefile.ModelDriver Makefile.ParameterizedModel
Makefile.SanityCheck parameterized_model.cpp; do install -m 0644
"build_system/$fl" "/Users/bernstei/lib/kim-api-v1/build_system/$fl";
done
printf ',s|^ *srcdir *=.*|srcdir = $(KIM_DIR)|\nw\nq\n' | ed
"/Users/bernstei/lib/kim-api-v1/build_system/Makefile.Generic" >
/dev/null 2>&1
printf ',s|^ *KIMINCLUDEFLAGS *=.*|KIMINCLUDEFLAGS =
-I$(KIM_DIR)/include|\nw\nq\n' | ed
"/Users/bernstei/lib/kim-api-v1/build_system/Makefile.Generic" >
/dev/null 2>&1
for fl in Makefile.GCC Makefile.INTEL; do install -m 0644
"build_system/compiler_defaults/$fl"
"/Users/bernstei/lib/kim-api-v1/build_system/compiler_defaults/$fl";
done
for fl in Makefile.DARWIN Makefile.FREEBSD Makefile.LINUX; do install
-m 0644 "build_system/linker_defaults/$fl"
"/Users/bernstei/lib/kim-api-v1/build_system/linker_defaults/$fl";
done
install -m 0644 Makefile.KIM_Config
"/Users/bernstei/lib/kim-api-v1/Makefile.KIM_Config"
fl="/Users/bernstei/lib/kim-api-v1/Makefile.KIM_Config" && \
printf ',s|^ *KIM_DIR *=.*|KIM_DIR =
/Users/bernstei/lib/kim-api-v1|\nw\nq\n' | ed "$fl" > /dev/null 2>&1
make: *** [config-install] Error 2