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

Re: Problems to compile heimdal 0.3a on Solaris 2.6



Heiko Muenkel <muenkel@tch.de> writes:

> I've problems to compile heimdal-0.3a on a Sun with SunOS 5.6 (gcc
> 2.8.1) Some header files are missing:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -g -O2 -c concat.c -o concat.o
> In file included from concat.c:38:
> roken.h:57: netinet/in6.h: No such file or directory
> roken.h:58: netinet6/in6.h: No such file or directory
> In file included from concat.c:38:
> roken.h:62: winsock.h: No such file or directory
> In file included from concat.c:38:
> roken.h:71: paths.h: No such file or directory

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.

Love