[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile cfe-2.0.5 RH2.2
From: |
Thomas Glanzmann |
Subject: |
Re: compile cfe-2.0.5 RH2.2 |
Date: |
Sat, 22 Feb 2003 01:31:30 +0100 |
User-agent: |
Mutt/1.4i |
* Ashton MacAndrews <ashton@get.topica.com> [030222 00:28]:
> cfengine-2.0.5pre compiles fine with the same settings ...
> Ideas?
>
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Linux 2.2.19-6.2.7smp
> BerkeleyDB.4.0
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.0/lib
>
> ./configure --with-lockdir=/var/run/cfengine --with-logdir=/var/run/cfengine
>
> gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2
> -I/usr/local/BerkeleyDB.4.0/include -L/usr/local/BerkeleyDB.4.0/lib
> -L/usr/local/ssl/lib -o cfenvd cfenvd.o globals.o filenames.o nameinfo.o
> classes.o item.o item-ext.o item-file.o eval.o wildcard.o df.o read.o
> granules.o log.o popen.o patches.o locks.o init.o -L../pub -lpub
> -L/usr/local/BerkeleyDB.4.0/lib -ldb -L/usr/local/ssl/lib -lcrypto -L../pub
> -lpub -lnss_nis -lpthread -lm
> cfenvd.o: In function `GatherLoadData':
> /usr/local/src/cfengine-2.0.5/src/cfenvd.c:1058: undefined reference to
> `getloadavg'
Comment it out / get cvs snapshot. See previous thread for details.
Thomas