Menu

#8 Instructions need to be updated

v0.9.2
closed-fixed
None
5
2019-01-12
2016-11-27
phylaxer
No

On the installation instructions for windows source code the CPPFLAGS variable needs to be exported in order for it to work. Otherwise it throws an error saying that the include file for sqlite3 cannot be found.

https://sourceforge.net/p/presage/presage/ci/master/tree/doc/INSTALL_MinGW64_MSYS_dev_env.txt#l129

Discussion

  • Matteo Vescovi

    Matteo Vescovi - 2019-01-12

    Hi Phylaxer,

    Thanks for this bug report.

    The instructions in doc/INSTALL_MinGW64_MSYS_dev_env.txt set the CPPFLAGS to point to /usr/local/include during the ./configure invocation. This should ensure that the required header files are found upon configuration and I believe this worked for me in my MinGW64-MSYS environment the last time I tried this. I am not sure what might have caused the issue you experienced in your environment.

    I would like to suggest switching to MSYS2 as the recommended development environment on Windows. MSYS2 includes all of presage's required dependencies as prebuilt packages that can be installed via its pacman package manager. It really is a pleasure to use compared to vanilla MinGW-MSYS or Mingw64-MSYS.

    I recommend you check out the doc/INSTALL_MSYS2_dev_env.txt instructions to install and setup an MSYS2 developer environment for presage. This is what I (fairly) regularly use to build and test presage on Windows as of late.

    Hope this helps,

    • Matteo
     
  • Matteo Vescovi

    Matteo Vescovi - 2019-01-12
    • status: open --> accepted
    • assigned_to: Matteo Vescovi
     
  • Matteo Vescovi

    Matteo Vescovi - 2019-01-12
    • status: accepted --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB