Bug 62998

Summary: make install fails when not root
Product: Wayland Reporter: Jason Woofenden <jason>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: build log

Description Jason Woofenden 2013-04-01 16:15:09 UTC
Created attachment 77280 [details]
build log

Tried compiling weston from git master. Used this command:

    (./autogen.sh --prefix="$WLD" && make && make install) | tee build-log.txt

build-log.txt is attached.

I heard there was a ``--disable-setuid-install`` config flag, but Darxus (on irc) said that he thought that installing as a non-root user into your home directory should just work (ie that it should be auto-detected, and the chown/setuid thing should be skipped.)
Comment 1 Kristian Høgsberg 2013-04-03 21:02:05 UTC
No, it's not supposed to work.  weston-launch needs setuid root for correct operation and we're not going to install weston-launch in a way that doesn't work by default.  You can run weston-launch using sudo or manually set the setuid bit, but in either case you need to pass --disable-setuid-install to indicate that you know what you're doing.
Comment 2 Andrei Zisu 2014-05-23 01:20:53 UTC
Is there any way to update the building page: http://wayland.freedesktop.org/building.html with this info?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.