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

Re: Problems to compile heimdal 0.3a on Solaris 2.6



Assar Westerlund <assar@sics.se> writes:

> Love <lha@stacken.kth.se> writes:
> > Do you have a working cc in you PATH, if not make sure that configure uses
> > gcc when testing what headers. If you look in config.log you'll see that
> > you probably used ``cc -E'' for cpp test, and somehow configure get it
> > wrong. Try:
> > 
> >   env CC=gcc ./configure --my-flags-here
> > 
> > when running configure.
> 
> Can you point me to a config.log and config.status where configure
> thought it should use CC=gcc and CPP=cc -E ?

/afs/e.kth.se/home/staff/lha/Public/heimdal-sol-config.log

The autoconf test doesn't work since it only checks the stderr, not
stdout. And the dummy cc that you'll get with Solaris 7 prints the error
message on stdout.

: datan ;
SunOS datan 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-5_10
: datan ; cat > foo.c
Hej hopp
: datan ; cc -E foo.c   
/usr/ucb/cc:  language optional software package not installed
: datan ; cc -E foo.c >/dev/null 
: datan ;

Love