[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf-bug
Subject:    foo.h present but cannot be compiled
From:       ***** <bizshort () earthlink ! net>
Date:       2004-10-24 17:10:10
Message-ID: 20041024121010.4bc3af07.bizshort () earthlink ! net
[Download RAW message or body]

kernel 2.4.18
autoconf 2.5.2
automake 1.5
libtool 1.5.2

I'm trying to compile ardour-0.9beta19 and can't get 
past configure.  it says
-------------------------snip-------------------------
checking fcntl.h usability... no
checking fcntl.h presence... yes
configure: WARNING: fcntl.h: present but cannot be compiled
configure: WARNING: fcntl.h: check for missing prerequisite headers?
configure: WARNING: fcntl.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for fcntl.h... yes
checking limits.h usability... no
checking limits.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for limits.h... yes
checking sys/time.h usability... no
checking sys/time.h presence... yes
configure: WARNING: sys/time.h: present but cannot be compiled
configure: WARNING: sys/time.h: check for missing prerequisite headers?
configure: WARNING: sys/time.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for sys/time.h... yes
----------------------------snip----------------------------


I checked and there are no missing prerequisite headers.
Several lines later configure bails on a POSIX detection problem. 
----------------------snip--------------------------
checking for pthread_create in -lpthread... no
configure: error: you have no POSIX thread support
------------------snip-------------------------


The problem header files in the output of configure have this at the
top.
fcntl.h:  POSIX Standard: 6.5 File Control Operations     <fcntl.h>
limits.h: ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types
<limits.h>, which contains
	#ifdef  __USE_POSIX
	/* POSIX adds things to <limits.h>.  */
	# include <bits/posix1_lim.h>
	#endif

	#ifdef  __USE_POSIX2
	# include <bits/posix2_lim.h>
	#endif
sys/time.h:  no label


Now here's the really confusing thing.  When I run configure for
gnome-pim-1.4.6, it
correctly detects pthread_create in -lpthread
----------------------------------------
checking for pthread_create in -lpthread... yes
---------------------------------------


Here's some output from ldconfig.
-------------------snip------------------------
# ldconfig --verbose |grep pth
	libpthread.so.0 -> libpthread-0.9.so
	libgnomevfs-pthread.so -> libgnomevfs-pthread.so
-------------------snip-------------------------


Since the autoconf bug involved a posix header file, maybe it's related 
to the posix detection problem.  If so, I would _really_ appreciate 
any suggestions or advice.  tia for any help.

patrick



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic