[distcc] How to pass on Sun W.S. " LM_LICENSE_FILE" variable to secondary distcc host ?

Yang Tj-ATY010 ATY010 at motorola.com
Fri Apr 30 12:23:07 GMT 2004


> -----Original Message-----
> From: Martin Pool [mailto:mbp at samba.org] 
> Sent: Thursday, April 29, 2004 11:44 PM
> To: Yang Tj-ATY010
> Cc: distcc at lists.samba.org
> Subject: Re: [distcc] How to pass on Sun W.S. " 
> LM_LICENSE_FILE" variable to secondary distcc host ?
> 
> 
> On 21 Apr 2004, Yang Tj-ATY010 <ATY010 at motorola.com> wrote:
> > 
> > Sun Workshop C compiler use floating licence environment. once 
> > "LM_LICENSE_FILE=port at flexlmserver" variable got set in 
> .profile the 
> > cc was able to called to compile c codes.
> > 
> > Giving the successful test result of distcc-1.12.1+gcc-3.3.2 on
> > one pair of Sun V240s(ilad2141 and ilad2140), 
> > I moved on to try distcc-2.12.1+ Sun WorkShop 6 update 2 cc compiler
> > Sun cc combination. 
> 
> You probably need to also set this in the environment of distccd.  
> 
> Please report if you have any success with sun cc.
> 

I got another tip to bypass the issue. The trick is
to write a simple shell script called "cc" to embed
the LM_LICENCE_FILE. I will report if I have success.

To verify and understand how distcc can help the
c code compilation.  I am doing a pilot test for
my group using zlib-1.1.4 as an example software on
our supported OS platforms.

Following is my status

  OS         gcc-3.3.2  vendor cc compiler(Sun WS,HP aCC)
--------------------------------------------------------------
RH Linux     ok        ok (cc=gcc)     
HP 11.11     ok        (need to install aCC on secondary host)
HP 10.20     (gcc-3.3.2 need to be compiled.)
Solaris 9    ok        (need to figure out LM_LICENE_FILE variable
                        passing to execution hosts)

tj
> -- 
> Martin 
> 



More information about the distcc mailing list