
* Roberto Bagnara wrote on Wed, Jul 06, 2005 at 11:32:23AM CEST:
- tests are made for signal.h usability and presence: these are both successful;
- immediately after, a test for sys/time.h presence failes because "g++: conftest.cc: No such file or directory". This is strange, because conftest.cc should have been created by the configure script.
- The test for sys/time.h usability succeeds!
- Both tests for sys/resource.h presence and usability fail for the same reason: "g++: conftest.cc: No such file or directory".
Please post (a reference to or contents of) lines 29550 to 29700 of the configure script.
Unless you did some copy and paste error, there is something fishy going on here:
configure:29564: checking signal.h usability
^^^^^
configure:29576: g++ -c -g -O2 conftest.cc >&5 configure:29582: $? = 0 configure:29586: test -z || test ! -s conftest.err configure:29589: $? = 0 configure:29592: test -s conftest.o configure:29595: $? = 0 configure:29605: result: yes configure:29609: checking signal.h presence configure:29619: g++ -E conftest.cc configure:29625: $? = 0 configure:29645: result: yes configure:29680: checking for signal.h configure:29687: result: yes configure:29564: checking sys/time.h usability
^^^^^
this should be larger than 29687. Somehow it jumps back?
configure:29576: g++ -c -g -O2 conftest.cc >&5 configure:29582: $? = 0 configure:29586: test -z || test ! -s conftest.err configure:29589: $? = 0 configure:29592: test -s conftest.o configure:29595: $? = 0 configure:29605: result: yes configure:29609: checking sys/time.h presence configure:29619: g++ -E conftest.cc g++: conftest.cc: No such file or directory g++: no input files configure:29625: $? = 1 configure: failed program was: configure:29645: result: no configure:29651: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor! configure:29653: WARNING: sys/time.h: proceeding with the compiler's result configure:29680: checking for sys/time.h configure:29687: result: yes configure:29564: checking sys/resource.h usability configure:29576: g++ -c -g -O2 conftest.cc >&5 g++: conftest.cc: No such file or directory g++: no input files configure:29582: $? = 1 configure: failed program was: configure:29605: result: no configure:29609: checking sys/resource.h presence configure:29619: g++ -E conftest.cc g++: conftest.cc: No such file or directory g++: no input files configure:29625: $? = 1 configure: failed program was: configure:29645: result: no configure:29680: checking for sys/resource.h configure:29687: result: no configure:29555: checking for sys/time.h configure:29560: result: yes configure:29555: checking for sys/types.h configure:29560: result: yes configure:29555: checking for unistd.h configure:29560: result: yes
I have googled for around one hour and I have seen that many people had this problem in the past (just replace "conftest.cc" with "conftest.c" in the search), but noone seems to have found the cause.
*snip*
Regards, Ralf