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 |