Hi David, > Le 19 févr. 2015 à 00:54, David Barto <david.ba...@sparqlcity.com> a écrit : > > I’m going to configure and build it for $HOME/tools however when it gets to > the customer they are going to install it in <whereever>/tools > > When I try to run it after moving the configured directory I get the > following: > > I configured for /opt/sparqlcity and then renamed that directory to > /opt/ubuntu-tools to test that the tools would continue to work. GCC works > just fine with a LD_LIBRARY_PATH correction. How do I get bison to work in > the same way? > > > bison: /opt/sparqlcity/share/bison/m4sugar/m4sugar.m4: cannot open: No such > file or directory > *** cmd: /home/scl/DEV/asd-encapsulate/source/tools/bison.sh > /home/scl/DEV/asd-encapsulate/dobj/parse/sbxgrammar.cpp > /home/scl/DEV/asd-encapsulate/source/parse/sbxgrammar.y > *** Error code 1
Bison is not relocatable. But you can toy with environment variables such as BISON_PKGDATADIR to move it. Have a look at tests/bison to see how. _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison