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

Re: Build of 0.6.2 fails



Hmm, the following build scripts works for me:

---------------------------------- snip ----------------------------------
BDB="/usr/local/Berkeley-DB-4.2"

export CFLAGS="-O4 -march=pentium4 -mcpu=pentium4"
export CPPFLAGS="-I$BDB/include"
export LDFLAGS="-L$BDB/lib "
export LD_LIBRARY_PATH="$BDB/lib"

make clean
./configure \
   --prefix=/opt/heimdal \
   --with-krb4=no \
   --enable-shared=yes \
   --enable-static=yes \
   --with-x
---------------------------------- snip ----------------------------------

Michael Ströder wrote:
> 
> I'm trying to build heimdal 0.6.2 on my SuSE 9.0 system with the 
> following build script:
> 
> ---------------------------------- snip ----------------------------------
> BDB="/usr/local/Berkeley-DB-4.2"
> 
> export CFLAGS="-O4 -march=pentium4 -mcpu=pentium4"
> export CPPFLAGS="-I$BDB/include"
> export LDFLAGS="-L$BDB/lib "
> export LD_LIBRARY_PATH="$BDB/lib"
> 
> ./configure \
>   --prefix=/opt/heimdal \
>   --with-krb4=no \
>   --enable-shared=yes \
>   --enable-static=yes \
>   --enable-osfc2 \
>   --with-openldap=/usr/local/openldap-OPENLDAP_REL_ENG_2_2 \
>   --with-x
> make
> ---------------------------------- snip ----------------------------------
> 
> But it fails with
> 
> ---------------------------------- snip ----------------------------------
> gcc  -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
> -I../../lib/roken -I../../lib/roken   -I/usr/include/et
>  -I/usr/local/Berkeley-DB-4.2/include -Wall -Wmissing-prototypes 
> -Wpointer-arith -Wbad-function-cast -Wmissing-decla
> rations -Wnested-externs -O4 -march=pentium4 -mcpu=pentium4 -c `test -f 
> 'conf.c' || echo './'`conf.c
> In file included from conf.c:33:
> login_locl.h:101:31: /usr/include/prot.h: No such file or directory
> make[2]: *** [conf.o] Error 1
> make[2]: Leaving directory `/home/michael/src/heimdal-0.6.2/appl/login'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/michael/src/heimdal-0.6.2/appl'
> make: *** [all-recursive] Error 1
> ---------------------------------- snip ----------------------------------
> 
> What is missing on my system?
> 
> Ciao, Michael.