Hi Victor, > Le 27 oct. 2018 à 08:03, Akim Demaille <[email protected]> a écrit : > > Hi Victor, > >> Le 26 oct. 2018 à 21:27, Victor Zverovich <[email protected]> a >> écrit : >> >> Currently running bison using a path other than the install path e.g. >> via a network share results in the following error >> >> bison: .../share/bison/m4sugar/m4sugar.m4: cannot open: No such file >> or directory >> >> Fix this by setting setting pkgdatadir relative to program path if >> BISON_PKGDATADIR is not specified. > > I need to take time to think about this. gnulib offers options to make > the package relocatable, in which case, it would be better to follow > that other path. > > Let’s see that _after_ the release of Bison 3.2. > > Thanks!
Bison was made relocatable: https://lists.gnu.org/archive/html/bison-patches/2018-12/msg00071.html It should be part of Bison 3.3. Please, test it and report. A preview tarball is currently available here: https://www.lrde.epita.fr/~akim/private/bison/bison-3.2.1.136-a4ed.tar.gz https://www.lrde.epita.fr/~akim/private/bison/bison-3.2.1.136-a4ed.tar.xz Cheers!
