Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-511

'make install' requires sudo on Windows Subsystem for Linux (Ubuntu)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 0.9.14
    • None
    • guacamole-server
    • Windows 10 x64 version 10.0.16299.248, Subsystem for Linux (Ubuntu)

    Description

      When I pull the latest build from git, everything proceeds according to the instructions at https://guacamole.apache.org/doc/gug/installing-guacamole.html until I get to the 'make install' phase. If I run 'make install' without sudo, I get the following errors:

      Making install in src/libguac
      make[1]: Entering directory '/home/sydbarrett74/guacamole-server/src/libguac'
      make[2]: Entering directory '/home/sydbarrett74/guacamole-server/src/libguac'
      {{ /bin/mkdir -p '/usr/local/lib'}}
      {{ /bin/bash ../../libtool --mode=install /usr/bin/install -c libguac.la '/usr/local/lib'}}
      libtool: install: /usr/bin/install -c .libs/libguac.so.12.3.0 /usr/local/lib/libguac.so.12.3.0
      /usr/bin/install: cannot create regular file '/usr/local/lib/libguac.so.12.3.0': Permission denied
      Makefile:518: recipe for target 'install-libLTLIBRARIES' failed
      make[2]: *** [install-libLTLIBRARIES] Error 1
      make[2]: Leaving directory '/home/sydbarrett74/guacamole-server/src/libguac'
      Makefile:916: recipe for target 'install-am' failed
      make[1]: *** [install-am] Error 2
      make[1]: Leaving directory '/home/sydbarrett74/guacamole-server/src/libguac'
      Makefile:510: recipe for target 'install-recursive' failed
      make: *** [install-recursive] Error 1

      Running 'make install' with sudo allows the process to complete successfully.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sydbarrett74 Victor Escobar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: