autoconf
[Top][All Lists]
Advanced

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

conftest.cc disappearing in a misterious way


From: Roberto Bagnara
Subject: conftest.cc disappearing in a misterious way
Date: Wed, 06 Jul 2005 11:32:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-1.3.1


Hi there,

a user has troubles configuring a (autoconfiscated) library
we have written.  He is on a (fully up-to-date and not hacked
in any way) Cygwin system and uses a configure script generated
by Autoconf 2.59.
Below is, I believe, the relevant section of config.log.
To summarize:

1) tests are made for signal.h usability and presence:
   these are both successful;
2) 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.
3) The test for sys/time.h usability succeeds!
4) Both tests for sys/resource.h presence and usability fail for
   the same reason: "g++: conftest.cc: No such file or directory".

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
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.  Not having
access to the user's machine I don't know how to proceed, since I cannot
reproduce the problem on my machines.  A careful inspection of the entire
config.log output did not reveal anything to me.
Any idea what may be wrong?
All the best,

    Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]