gst-build permission

Nicolas Dufresne nicolas at ndufresne.ca
Wed Jun 19 15:35:19 UTC 2024


Hi,

Le mercredi 19 juin 2024 à 12:28 +0800, 黄取值 via gstreamer-devel a écrit :
> Hi,
> I used the gst-build project to compile the 1.16.2 version of gst.
> The installation path is set to the install directory under the current
> directory(belonging to the user's home directory, not the system directory).
> > mkdir build
> > meson -Dprefix=`pwd`/install -Dbuildtype=debug -Dvaapi=enabled
> > 
> When installing, permissions are required:
> > Installation failed due to insufficient permissions.
> > Attempt to use /usr/bin/sudo to gain elevated privileges? [y/n]

I believe this is because the build system want to set setuid permissions on ptp
helpers. During setup, try and add:

 -Dptp-helper-permissions=none

You can also pass --destdir (even if the same as your prefix), this will
automatically skip over permissions issue and not try and be root.

Nicolas


> > 
> Select n to exit with an error, and select y to continue the installation.
> What I want to know is:
> 1. The installation target is the current directory, why is sudo permission
> required?
> 2. Will continuing the installation after obtaining sudo permissions modify
> the system environment? For example, if some files are modified

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240619/247a205d/attachment.htm>


More information about the gstreamer-devel mailing list