Details

    • Type: Epic
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Windows
    • Epic Name:
      Augeas on Windows
    • Template:
    • Team/s:
      Platform OS
    • Epic Status:
      To Do

      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

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  michael.smith Michael Smith
                • Votes:
                  4 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Created:
                    Updated: