Page 1 of 1

version banner fails to update after reinstall

Posted: Wed Jun 18, 2008 1:17 pm
by wwlytton
(this problem may only apply if using separate source and build directories)
after I updated with subversion, the version banner was not correct, still reflecting version from the prior installation

1. first check whether the version file is in fact old
cat $SOURCE_DIR/src/nrnoc/nrnversion.h

2. if so you must remove it and recompile, ie

rm src/nrnoc/nrnversion.h
cd $BUILD_DIR/src/nrnoc
make install
(seems like I had to do make twice before nrnversion.h came into existance)