[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 14:18:39 GMT 2004
> -----Original Message-----
> From: distcc-bounces+aty010=motorola.com at lists.samba.org
> [mailto:distcc-bounces+aty010=motorola.com at lists.samba.org]
> On Behalf Of Yang Tj-ATY010
> Sent: Friday, April 30, 2004 7:23 AM
> To: 'Martin Pool'
> Cc: distcc at lists.samba.org
> Subject: RE: [distcc] How to pass on Sun W.S. "
> LM_LICENSE_FILE" variable to secondary distcc host ?
>
>
> > -----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.
>
I got help from magic hands from my group.
We are now able to compile using Sun's cc. The trick
is to access the licence.dat via nfs instead of trying
to set the LM_LICENSE_FILE variable on secondary
compiling hosts.
Here is output from "distccmon-text 1"
19383 Compile deflate.c ilad2140[0]
19503 Preprocess trees.c ilad2140[1]
19578 Connect adler32.c ilad2141[0]
19610 Compile deflate.c ilad2140[0]
19503 Compile trees.c ilad2140[1]
19683 Compile adler32.c ilad2141[0]
19751 Compile trees.c ilad2140[1]
19733 Compile gzio.c ilad2141[0]
19900 Compile gzio.c ilad2141[0]
20070 Compile minigzip.c ilad2140[0]
20299 Receive inffast.c ilad2140[0]
20500 Preprocess infcodes.c ilad2140[0]
20529 Connect inflate.c ilad2141[0]
20623 Compile inflate.c ilad2141[0]
20633 Compile infutil.c ilad2141[1]
But on primary host ilad2141 I got this warning message.
Apr 30 08:57:52 ilad2141 distccd[12489]: [ID 702911 daemon.crit] CRITICAL! too many cleanups
I will look into documents about this error message but you can enlighten me too ;)
Another potential problem is that according to this link
at http://distcc.samba.org/faq.html#suncc, Looks like compiling
C++ files on Solaris using Sun WS cc is a problem. I will verified
the problem and looking for fix.
tj
> 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
> >
> __
> distcc mailing list http://distcc.samba.org/
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/distcc
>
More information about the distcc
mailing list