commit - 8dfb422b9cc3c5e87c25a1f48498a0cf10adfc4c
commit + 17c6bcc389f815a32eb7f3885f4241e37ff32678
blob - adfdb1d9a2a973cb86e8c95e3903b2d694edc82d
blob + a2da3272b5216acdead625a852d6cd6fdf91a017
--- README
+++ README
- Help the default Makefile find Hammer
- $ ln -s ../hammer/src hammer # needed for building pdf, include files
- $ ln -s ../hammer/build/opt/src lib # needed for running pdf, to locate libhammer.so
+ $ ln -s ../hammer/src hammer # needed for building pdf, include files
+ $ ln -s ../hammer/build/opt/src lib # needed for running pdf, to locate libhammer.so
- Notes for 2020-04-27 release:
- The release branch has been tested to build with the 2020-04-27_RELEASE` branch located at https://gitlab.special-circumstanc.es/pesco/hammer/tree/2020-04-27_RELEASE
+ The release branch has been tested to build with the 2020-04-27_RELEASE` branch located at https://gitlab.special-circumstanc.es/pesco/hammer/tree/2020-04-27_RELEASE
- Build:
- $ pushd ../hammer; scons; popd # build Hammer
+ $ pushd ../hammer; scons; popd # build Hammer
$ make pdf
- Usage:
- $ export LD_LIBRARY_PATH=./lib # see Troubleshooting section below to see if this is needed
- $ ldd ./pdf | grep libhammer # verify that libhammer.so was found
+ $ export LD_LIBRARY_PATH=./lib # see Troubleshooting section below to see if this is needed
+ $ ldd ./pdf | grep libhammer # verify that libhammer.so was found
$ ./pdf <filename>
# place some test files in the t/ directory...
- Troubleshooting:
- libhammer.so not found:
+ libhammer.so not found:
- If Hammer is not installed as a system library, ld may fail to locate libhammer.so. The quick fix for this is altering LD_LIBRARY_PATH before running pdf:
+ If Hammer is not installed as a system library, ld may fail to locate libhammer.so. The quick fix for this is altering LD_LIBRARY_PATH before running pdf:
- $ export LD_LIBRARY_PATH=./lib
- $ make test
+ $ export LD_LIBRARY_PATH=./lib
+ $ make test
- The second solution is executing "scons install" when building Hammer, which will install it in ld's usual search path:
+ The second solution is executing "scons install" when building Hammer, which will install it in ld's usual search path:
- $ pushd ../hammer; scons install; popd
- # ... Update ldconfig cache if needed
- $ make pdf
- $ make test
+ $ pushd ../hammer; scons install; popd
+ # ... Update ldconfig cache if needed
+ $ make pdf
+ $ make test
- Evaluating test results: