Skip to content

configure script makes use of ln -v flag which is not supported in OpenBSD

After some head-scratching, I found that the configure script makes use of **ln**'s **-v** verbose flag. This flag does not exist in OpenBSD's version of **ln**. It was causing the build process to fail due to some files not existing during the compilation process.

I'm getting around this by removing all **-v** occurrences as a pre-compilation step:

find . -type f | xargs sed -i -e 's|^ln -f -v |ln -f |'

To make the process a little smoother for other folks, perhaps creating an alias that is conditional based OS type at the header of the script along the lines of would be best:

case "$build_os" in
   openbsd*)
      alias mksymlnk="ln -f"
      ;;
   *)
      alias mksymlnk="ln -f -v"
      ;;
   esac

   ...

   mksymlnk utils/fs/fs.* utils/lndir/
   ...
   
Edited by klomeli
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information