View previous topic :: View next topic |
Author |
Message |
j0ke n00b
Joined: 03 May 2013 Posts: 1
|
Posted: Fri May 03, 2013 10:14 am Post subject: ENV & Gentoo variables |
|
|
Yesterday I was solved usual problem with automake. There are different versions of automake and not all programs compiled successful with the latest one. For example emerge ddccontrol fails with automake 1.13.1.
I found advices like mask new version of automake or make a symlink -> /urs/bin/automake-1.12. Today I found that there is variable like WANT_AUTOMAKE.
So Code: | WANT_AUTOMAKE="1.12" emerge ddccontrol # solution |
The Question: how can I guess it? How can we know which ENV (in wide sence) variables program use?
For example, this:
Code: | ltrace -f -s 10000 python /usr/bin/emerge ddccontrol 2>&1 | grep getenv | grep AUTOMAKE
ltrace -f -s 10000 python /usr/bin/emerge ddccontrol 2>&1 | grep AUTOMAKE
|
don't show anything. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri May 03, 2013 4:00 pm Post subject: |
|
|
You can't guess it. Not really. The Gentoo Development Guide documents this variable as part of the autotools eclass. In other words, it's not the program's fault (or responsibility); it's the Portage tree's fault. If you have to set that variable on the command line to get something to emerge, then this is a bug and should be reported.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Sat May 04, 2013 3:10 pm Post subject: Re: ENV & Gentoo variables |
|
|
j0ke wrote: | Yesterday I was solved usual problem with automake. There are different versions of automake and not all programs compiled successful with the latest one. For example emerge ddccontrol fails with automake 1.13.1. |
Please report bugs for these build breakages. _________________ http://phajdan-jr.blogspot.com/ |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat May 04, 2013 4:53 pm Post subject: |
|
|
Why didn't I think of that?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
|