[sane-devel] make problem on darwin with latest cvs

Beat Birkhofer beat.birkhofer at ilw.agrl.ethz.ch
Fri Dec 6 11:45:15 GMT 2002


Hi

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:

[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

-----

For the stable 1.0.9 backends the make works.

Regards

Beat H.



More information about the sane-devel mailing list