Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-1163

augeas on Windows

    XMLWordPrintable

Details

    • Improvement
    • Status: Needs Information
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • Windows

    Description

      An attempt to port the augeas library to Windows.

      Instructions so far:

      Notes: my environment is msys bash
      Using mingw-w64 4.8.4 x86_64-win32-seh-rev0
       
      Install mingw-get-setup.exe from https://sourceforge.net/projects/mingw/files/latest/download
      Install basic msys package, plus msys-libxml2 dev
      See http://www.mingw.org/wiki/getting_started for further setup (setup fstab for /mingw)
       
      Setup build config: LDFLAGS="-L/usr/local/lib" CFLAGS="-I/usr/local/include" CXXFLAGS="-I/usr/local/include" ACLOCAL_PATH=/usr/local/share/aclocal
      Download and build/install pdcurses: http://ingar.satgnu.net/devenv/mingw32/local.html#pdcurses
      Download and build/install readline: http://ingar.satgnu.net/devenv/mingw32/tools.html
       
      Download and build/install zlib: http://ingar.satgnu.net/devenv/mingw32/local.html#zlib
      Download and build/install libxml2: http://ingar.satgnu.net/devenv/mingw32/gtk.html#libxml2
      Install pkg-config from http://ingar.satgnu.net/devenv/mingw32/local.html#pkgconfig and http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.26-1_win32.zip
       
      Use UNIX line endings: git config --global core.autocrlf false (otherwise autogen fails with an error about AC_CONFIG_FILES)
      git clone augeas && git submodule update --init
      Update gnulib to 9c70545fde260c33694ba56cf8ddf8b8cfc45b71 (master as of 7/30/2015 at 10:42 AM PDT)
      autogen.sh && make
      TODO: Why isn't pkg.m4 being picked up? So far worked around it by re-running aclocal with -I /path/to/pkg.m4, and re-running configure. 
       
      ./src/try cli
      

      Using gnuwin32 instead of compiling everything manually would probably work as well.

      Attachments

        Issue Links

          Activity

            People

              beth.glenfield Beth Glenfield
              michael.smith Michael Smith
              Votes:
              6 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support