Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ENV & Gentoo variables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
j0ke
n00b
n00b


Joined: 03 May 2013
Posts: 1

PostPosted: Fri May 03, 2013 10:14 am    Post subject: ENV & Gentoo variables Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7416
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri May 03, 2013 4:00 pm    Post subject: Reply with quote

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
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
phajdan.jr
Developer
Developer


Joined: 23 Mar 2006
Posts: 1764
Location: Poland

PostPosted: Sat May 04, 2013 3:10 pm    Post subject: Re: ENV & Gentoo variables Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7416
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat May 04, 2013 4:53 pm    Post subject: Reply with quote

Why didn't I think of that? :wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum