[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: --> Installing on Alpha Tru64 4.0F

> >    I?´m triyng to install openldap 2.1.20 on a True64 4.0F 
> > system. It starts 
> > /bin/sh /cache/src/openldap-2.1.20/libtool  --mode=compile  cc -g - 
> > I../../../include        -I../../../include -I.. -I./..     
> > -c extended.c
> > rm -f .libs/extended.lo
> > cc -g -I../../../include -I../../../include -I.. -I./.. -c 
> > extended.c  -DPIC -o .libs/extended.lo

Hmm, something is wrong here.  cc on Tru64 4.0F is *not* ANSI by
default (this is finally fixed in 5.x).  The configure scripts for
both BDB and OpenLDAP know this, and add '-std1' to 'cc' (at least in
BDB 4.0.14 and OpenLDAP 2.1.12, the versions I have at hand). I don't
see '-std1' in your compile line, so you're getting bad K&R cc, not
nice ANSI cc.  Are you overriding the definition of 'CC' in some way?
Or possibly trying to build with a configuration from a different OS
(I suspect the latter--you shouldn't be getting -DPIC on Tru64; if
you're reusing a build area, do 'make distclean' and then configure