Hi, On Fri, Dec 06, 2002 at 12:45:15PM +0100, Beat Birkhofer wrote: > In the last few weeks I built the sane-backens several times > successful from cvs. But today it doesn't work. > > ./configure is OK, no errors, but make dies very fast:
I changed configure.in quite heavily, so this may be the cause. > [localhost:sane-cvs/sane/sane-backends] bhb% make > making all in include > make[1]: Nothing to be done for `all'. > making all in lib > gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include > -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d > -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 -g -O2 > -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations > -Wmissing-prototypes -Wpointer-arith -Wreturn-type > -Wstrict-prototypes -pedantic -ansi getenv.c -fno-common -DPIC > getenv.c:13: #error "Missing getenv() on this platform. Please implement." > cpp-precomp: warning: errors during smart preprocessing, retrying in basic > mode > make[1]: *** [getenv.o] Error 1 > make: *** [all-recursive] Error 1 Please show me the part of config.log that starts with configure:7460: checking for getenv upto the result of this check. For some reason lib/getenv.c is compiled on your platform. It shouldn't, if getenv is available. I guess MaxOS X does have getenv? Bye, Henning
