Re: gst-build permission
Nicolas Dufresne via gstreamer-devel <[email protected]> Wed, 19 Jun 2024 11:35:19 -0400
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <[email protected]> |
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