bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile problems for 2.0.b3 on HPUX 10.20


From: Mark . Burgess
Subject: Re: compile problems for 2.0.b3 on HPUX 10.20
Date: Tue, 5 Mar 2002 20:58:58 +0100 (MET)

I'm not sure why cfparse.c i getting distributed. It's not supposed to be. 

Someone told me I had to remove the -lPW flag -- was this wrong?

M

On  5 Mar, Tim Auckland wrote:
>> --------------------------------------------------------------
>> ---------------------
>> During compile link-steps fail, because 'alloca' isn't found. 
>> This is a known problem on HPUX using HP-cc. '-lPW' needs to 
>> be added to the link line. It would be fine if configure 
>> could do this automagically.
> 
> -lPW fails on later versions of HP-UX.  A better solution is to use a
> more recent version of bison to generate cfparse.c.  The later versions
> understand how to define alloca for HP's cc.
> 
> If you have a recent bison (eg 1.33) on your system, just remove
> cfparse.c and the makefiles will rebuild it correctly for you.
> 
> Tim



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]