Menu

#9 Required dependencies are missing in instructions

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

I'm running through this set of instructions for building presage and getting an error because there are missing dependencies: https://sourceforge.net/p/presage/presage/ci/master/tree/doc/INSTALL_MinGW_MSYS_dev_env.txt

Error message:
error: possibly undefined macro: AM_INIT_AUTOMAKE.
If this token and others are legitimate, please use m4_pattern_allow.
See the autoconf documentation

I think this is because the libtool dependency is missing. It would be nice if you added instructions on how to add the required dependencies, especially since I'm not familiar with the internals of mingw. I'll probably try switching to Cygwin to see if I can get that one working instead.

Discussion

  • phylaxer

    phylaxer - 2016-11-28

    The workaround for this problem was to use the tar distribution file instead of trying to compile the source directly. However, it would be nice to be able to compile the source directly. This came up when I was trying to run the autoconf tool to generate the configure file.

     
  • Matteo Vescovi

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

    Matteo Vescovi - 2019-01-12

    Hi Phylaxer,

    It sounds like an issue bootstrapping the autotools machinery. There's a bootstrap script in the root of the presage repository that comes in handy, or you could just do a autoreconf -vi which should do the job just as well.

    As mentioned in bug 8, 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 follow 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: accepted --> closed-fixed
     

Log in to post a comment.