public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem installing a package that uses meson instead of the regular autotools system
@ 2024-02-04  6:49 John Covici
  2024-02-04  7:17 ` [gentoo-user] " Nuno Silva
  0 siblings, 1 reply; 2+ messages in thread
From: John Covici @ 2024-02-04  6:49 UTC (permalink / raw
  To: gentoo-user

Hi there.  I am trying to use gentoo to install an  updated version of
orca which is a screen reader for linux.  They have switched overr to
using meson build system.  So, I have done this so far:
src_prepare() {
mkdir _build
default
}

src_configure() {
meson setup -D prefix=/usr  _build
meson compile -C _build
}

src_install() {
meson install -C _build
}

Now what I have run into is the install wants to access things which
only root  can access and so perrmission is denied.  Most other builds
install into an image directory, should I change the prefix to image
and will then the ebuild automatically install to the right place, or
is there something else I should be doing?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: problem installing a package that uses meson instead of the regular autotools system
  2024-02-04  6:49 [gentoo-user] problem installing a package that uses meson instead of the regular autotools system John Covici
@ 2024-02-04  7:17 ` Nuno Silva
  0 siblings, 0 replies; 2+ messages in thread
From: Nuno Silva @ 2024-02-04  7:17 UTC (permalink / raw
  To: gentoo-user

On 2024-02-04, John Covici wrote:

> Hi there.  I am trying to use gentoo to install an  updated version of
> orca which is a screen reader for linux.  They have switched overr to
> using meson build system.  So, I have done this so far:
> src_prepare() {
> mkdir _build
> default
> }
>
> src_configure() {
> meson setup -D prefix=/usr  _build
> meson compile -C _build
> }
>
> src_install() {
> meson install -C _build
> }
>
> Now what I have run into is the install wants to access things which
> only root  can access and so perrmission is denied.  Most other builds
> install into an image directory, should I change the prefix to image
> and will then the ebuild automatically install to the right place, or
> is there something else I should be doing?
>
> Thanks in advance for any suggestions.

I'm sure somebody else will have more experience and practical advice
regarding this, but one thing I noticed in the ebuild code above:
have you tried using the meson eclass?

(man meson.eclass, if you have app-doc/eclass-manpages)

-- 
Nuno Silva



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-04  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-04  6:49 [gentoo-user] problem installing a package that uses meson instead of the regular autotools system John Covici
2024-02-04  7:17 ` [gentoo-user] " Nuno Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox