Bug 62998 - make install fails when not root
Summary: make install fails when not root
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 16:15 UTC by Jason Woofenden
Modified: 2014-05-23 01:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
build log (17.42 KB, text/plain)
2013-04-01 16:15 UTC, Jason Woofenden
Details

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.