public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge with another PATH
Date: Fri, 20 May 2022 10:43:55 -0500	[thread overview]
Message-ID: <92fff584-19d5-d730-ab23-6c041c527ab8@gmail.com> (raw)
In-Reply-To: <20220520152237.0554A825B3F2@turkos.aspodata.se>

karl@aspodata.se wrote:
> Neil Bothwick:
>> On Fri, 20 May 2022 15:55:22 +0200 (CEST), karl@aspodata.se wrote:
>>> How do I run emerge so that when buildin/emerging the package another
>>> PATH is used ?
>> PATH is just an environment variable, so
>>
>> PATH="/path1:/path2" emerge blah
>>
>> should do that.
> Doesn't seems to work...
>
> # echo $PATH
> /usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2022/bin/x86_64-linux
> # emerge -aqvu  app-text/dblatex 
> ...
> # grep ^Err /Net/gentoo/tmpdir/portage/app-text/dblatex-0.3.11-r1/temp/build.log 
> Error: not found: latex, makeindex, pdflatex, kpsewhich
> # which latex
> /usr/local/texlive/2022/bin/x86_64-linux/latex
> #
>
> Something seems to set its own PATH.
>
> Regards,
> /Karl Hammar
>
>
>

From man emerge:

ENVIRONMENT OPTIONS

ROOT = [path]
Use ROOT to specify the target root filesystem to be used for merging
the requested packages or ebuilds and their runtime dependencies. This
variable can be set via the --root option or in make.conf(5) (the
command line overrides other settings).
Defaults to /.

--root=DIR
Set the ROOT environment variable.

That variable is either set in make.conf or on the emerge command line
as a option.  Of course, this depends on what it is you are trying to
accomplish.  More info on that may help others to know what settings
need to be adjusted. 

Hope that helps.

Dale

:-)  :-) 


      parent reply	other threads:[~2022-05-20 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-20 13:55 [gentoo-user] emerge with another PATH karl
2022-05-20 14:28 ` Neil Bothwick
2022-05-20 15:22   ` karl
2022-05-20 15:35     ` tastytea
2022-05-20 15:49       ` karl
2022-05-20 15:43     ` Dale [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92fff584-19d5-d730-ab23-6c041c527ab8@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox