Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge with another PATH
Date: Fri, 20 May 2022 15:22:47
Message-Id: 20220520152237.0554A825B3F2@turkos.aspodata.se
In Reply to: Re: [gentoo-user] emerge with another PATH by Neil Bothwick
1 Neil Bothwick:
2 > On Fri, 20 May 2022 15:55:22 +0200 (CEST), karl@××××××××.se wrote:
3 > > How do I run emerge so that when buildin/emerging the package another
4 > > PATH is used ?
5 >
6 > PATH is just an environment variable, so
7 >
8 > PATH="/path1:/path2" emerge blah
9 >
10 > should do that.
11
12 Doesn't seems to work...
13
14 # echo $PATH
15 /usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/texlive/2022/bin/x86_64-linux
16 # emerge -aqvu app-text/dblatex
17 ...
18 # grep ^Err /Net/gentoo/tmpdir/portage/app-text/dblatex-0.3.11-r1/temp/build.log
19 Error: not found: latex, makeindex, pdflatex, kpsewhich
20 # which latex
21 /usr/local/texlive/2022/bin/x86_64-linux/latex
22 #
23
24 Something seems to set its own PATH.
25
26 Regards,
27 /Karl Hammar

Replies

Subject Author
Re: [gentoo-user] emerge with another PATH tastytea <gentoo@××××××××.de>
Re: [gentoo-user] emerge with another PATH Dale <rdalek1967@×××××.com>