new wrote:
>
> hello,
> I compile vpopmail 4.10.3 on solaris8,it shows error:
>
> #./configure --enable-ldap=y
> creating cache ./config.cache
> checking for a BSD compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking host system type... sparc-sun-solaris2.8
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... (cached) no
> checking for ranlib... ranlib
> checking for POSIXized ISC... no
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> yes
> checking for crypt in -lcrypt... yes
> .. ...
>
> and then I make
>
> #make
> make all-recursive
> make[1]: Entering directory `/tmp/vpopmail-4.10.3'
> Making all in cdb
> make[2]: Entering directory `/tmp/vpopmail-4.10.3/cdb'
> ( cat warn-auto.sh; \
> echo CC=\'`head -1 conf-cc`\'; \
> echo LD=\'`head -1 conf-ld`\'; \
> cat find-systype.sh; \
> ) | sh > systype
> ( cat warn-auto.sh; \
> echo 'main="$1"; shift'; \
> echo 'rm -f "$main"'; \
> echo 'ar cr "$main" ${1+"$@"}'; \
> case "`cat systype`" in \
> sunos-5.*) ;; \
> unix_sv*) ;; \
> irix64-*) ;; \
> irix-*) ;; \
> dgux-*) ;; \
> hp-ux-*) ;; \
> sco*) ;; \
> *) echo 'ranlib "$main"' ;; \
> esac \
> ) > makelib
> chmod 755 makelib
> ( ( ./compile tryulong32.c && ./load tryulong32 && \
> /tryulong32 ) >/dev/null 2>&1 \
> && cat uint32.h2 || cat uint32.h1 ) > uint32.h
> rm -f tryulong32.o tryulong32
> /compile cdb_hash.c
> /usr/ucb/cc: language optional software package not installed
> make[2]: *** [cdb_hash.o] Error 1
> make[2]: Leaving directory `/tmp/vpopmail-4.10.3/cdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/vpopmail-4.10.3'
> make: *** [all-recursive-am] Error 2
>
> I use gcc for compiling,why it compiles in cdb directory use cc?
>
> new
> [EMAIL PROTECTED]
export PATH=/usr/local/bin:$PATH:/usr/ccs/bin
ln -s /usr/local/bin/gcc /usr/local/bin/cc
make
Ken Jones