Closed jti-lanl closed 7 years ago
Fixed. (https://github.com/mar-file-system/marfs/commit/ff9accbf05da8c27c91c2917ad3a64cbaa663a69)
Copy this file to the install-dir, so it can be found at run-time without the need for the PA2X source-tree. This does mean that the path to the install-dir at build-time must match the path at run-time.
PA2X opens "./parse-inc/config-struct.h" at run-time. Our solution to this is that at build-time we currently create a symlink to that file, in the MarFS source tree, and then at run-time we chdir() to this known spot, so the relative path in the PA2X source will work.
This was never meant to be more than a work-around. It will cause trouble for anyone running marfs on a system where marfs was never built. Now that we have autotools, the better solution is probably to move this file into the build-directory, and tweak the chdir() to go there, instead.