[gentoo-user] how to let different make version coexist?

2012-04-19 Thread wenpin cui
hi, guys,

On my linux box, after deep-upgrade, the version of 'sys-devel/make'
was 3.82. 

Now I want to use version 3.81 to compile a software, i can do it by
emerge /usr/portage/sys-devel/make/make-3.81.ebuild

however, after next upgrade, the version became 3.82 again.

I am wondering if i could select the different version by eslect or
something else, just like 'update-alternatives' in debian.

Any idea, thanks a lot.

-- 
Best regards



Re: [gentoo-user] how to let different make version coexist?

2012-04-19 Thread Alan McKinnon
On Thu, 19 Apr 2012 15:06:15 +0800
wenpin cui wenpin@samsung.com wrote:

 hi, guys,
 
 On my linux box, after deep-upgrade, the version of
 'sys-devel/make' was 3.82. 
 
 Now I want to use version 3.81 to compile a software, i can do it
 by emerge /usr/portage/sys-devel/make/make-3.81.ebuild
 
 however, after next upgrade, the version became 3.82 again.
 
 I am wondering if i could select the different version by eslect
 or something else, just like 'update-alternatives' in debian.
 
 Any idea, thanks a lot.
 

portage only supports one version of make at a time.

To have two versions of make, you must install the second one yourself
from source into a convenient place like /usr/local, and manage it
yourself.

-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] how to let different make version coexist?

2012-04-19 Thread wenpin cui
On Thu, Apr 19, 2012 at 09:46:27AM +0200, Alan McKinnon wrote:
 On Thu, 19 Apr 2012 15:06:15 +0800
 wenpin cui wenpin@samsung.com wrote:
 
  hi, guys,
  
  On my linux box, after deep-upgrade, the version of
  'sys-devel/make' was 3.82. 
  
  Now I want to use version 3.81 to compile a software, i can do it
  by emerge /usr/portage/sys-devel/make/make-3.81.ebuild
  
  however, after next upgrade, the version became 3.82 again.
  
  I am wondering if i could select the different version by eslect
  or something else, just like 'update-alternatives' in debian.
  
  Any idea, thanks a lot.
  
 
 portage only supports one version of make at a time.
 
 To have two versions of make, you must install the second one yourself
 from source into a convenient place like /usr/local, and manage it
 yourself.
 
 -- 
 Alan McKinnnon
 alan.mckin...@gmail.com
 
 

Thanks, seems i have to lock my make's version.

-- 

Best regards
Wenpin Cui (崔文频)
Hangzhou, Zhejiang, PRC
Tel: +86-0571-86726288 ext:8095



Re: [gentoo-user] how to let different make version coexist?

2012-04-19 Thread Claudio Roberto França Pereira
You can always mask greater versions, and then portage won't merge
then. Just hope that nothing from now on depends on the new version.