bug-autoconf
[Top][All Lists]
Advanced

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

Re: configure: WARNING: dlfcn.h: present but cannot be compiled...


From: Akim Demaille
Subject: Re: configure: WARNING: dlfcn.h: present but cannot be compiled...
Date: Wed, 26 Feb 2003 11:20:41 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

| reporting bug as ordered. ^_^
| configure script for aspell-0.50.3
| System: MacOS 10.2.4
| Reply if more info is needed... a copy of the configure output below
| 
| ~Ben
| 
| -----------
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for gawk... no
| checking for mawk... no
| checking for nawk... no
| checking for awk... awk
| checking whether make sets $(MAKE)... yes
| checking whether to enable maintainer-specific portions of
| Makefiles... no
| checking for g++... g++
| checking for C++ compiler default output... a.out
| checking whether the C++ compiler works... yes
| checking whether we are cross compiling... no
| checking for suffix of executables...
| checking for suffix of object files... o
| checking whether we are using the GNU C++ compiler... yes
| checking whether g++ accepts -g... yes
| checking for style of include used by make... GNU
| checking dependency style of g++... gcc3
| checking build system type... powerpc-apple-darwin6.4
| checking host system type... powerpc-apple-darwin6.4
| checking for gcc... gcc
| checking whether we are using the GNU C compiler... no
| checking whether gcc accepts -g... no
| checking for gcc option to accept ANSI C... none needed
| checking dependency style of gcc... none
| checking for non-GNU ld... /usr/bin/ld
| checking if the linker (/usr/bin/ld) is GNU ld... no
| checking for /usr/bin/ld option to reload object files... -r
| checking for BSD-compatible nm... /usr/bin/nm -p
| checking for a sed that does not truncate output... /usr/bin/sed
| checking whether ln -s works... yes
| checking how to recognise dependent libraries... file_magic Mach-O
| dynamically linked shared library
| checking how to run the C preprocessor... gcc -E
| checking for egrep... grep -E
| checking for ANSI C header files... no
| checking for sys/types.h... no
| checking for sys/stat.h... no
| checking for stdlib.h... no
| checking for string.h... no
| checking for memory.h... no
| checking for strings.h... no
| checking for inttypes.h... no
| checking for stdint.h... no
| checking for unistd.h... no
| checking dlfcn.h usability... no
| checking dlfcn.h presence... yes
| configure: WARNING: dlfcn.h: present but cannot be compiled
| configure: WARNING: dlfcn.h: check for missing prerequisite headers?
| configure: WARNING: dlfcn.h: proceeding with the preprocessor's result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| checking for dlfcn.h... yes
| checking how to run the C++ preprocessor... g++ -E
| checking for g77... no
| checking for f77... no
| checking for xlf... no
| checking for frt... no
| checking for pgf77... no
| checking for fl32... no
| checking for af77... no
| checking for fort77... no
| checking for f90... no
| checking for xlf90... no
| checking for pgf90... no
| checking for epcf90... no
| checking for f95... no
| checking for fort... no
| checking for xlf95... no
| checking for lf95... no
| checking for g95... no
| checking whether we are using the GNU Fortran 77 compiler... no
| checking whether  accepts -g... no
| checking the maximum length of command line arguments... 16384
| checking command to parse /usr/bin/nm -p output from gcc object... ok
| checking for objdir... .libs
| checking for ranlib... ranlib
| checking for strip... strip
| checking if gcc static flag  works... no
| checking for gcc option to produce PIC...
| checking if gcc supports -c -o file.o... no
| checking if we can lock with hard links... yes
| checking whether the gcc linker (/usr/bin/ld) supports shared
| libraries... yes
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... no
| checking dynamic linker characteristics... darwin6.4 dyld
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... no
| configure: creating libtool
| appending configuration tag "CXX" to libtool
| checking whether the g++ linker (/usr/bin/ld) supports shared
| libraries... no
| checking for g++ option to produce PIC... -fno-common
| checking if g++ PIC flag -fno-common works... yes
| checking if g++ supports -c -o file.o... no
| checking if we can lock with hard links... yes
| checking whether the g++ linker (/usr/bin/ld) supports shared
| libraries... no
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... no
| checking dynamic linker characteristics... darwin6.4 dyld
| appending configuration tag "F77" to libtool
| checking if libtool supports shared libraries... no
| checking whether to build shared libraries... no
| checking whether to build static libraries... yes
| checking for  option to produce PIC...
| checking if  supports -c -o file.o... no
| checking if we can lock with hard links... yes
| checking whether the  linker (/usr/bin/ld) supports shared
| libraries... yes
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... no
| checking dynamic linker characteristics... darwin6.4 dyld
| checking if file locking and truncating is supported... yes
| checking if mmap and friends is supported... yes
| checking if file ino is supported... yes
| checking if posix locals are supported... yes
| checking for initscr in -lcurses... yes
| checking if standard curses include sequence will work... yes
| checking for STL rel_ops pollution... no
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating common/Makefile
| config.status: creating lib/Makefile
| config.status: creating data/Makefile
| config.status: creating auto/Makefile
| config.status: creating modules/Makefile
| config.status: creating modules/filter/Makefile
| config.status: creating modules/tokenizer/Makefile
| config.status: creating modules/speller/Makefile
| config.status: creating modules/speller/default/Makefile
| config.status: creating interfaces/Makefile
| config.status: creating interfaces/cc/Makefile
| config.status: creating scripts/Makefile
| config.status: creating examples/Makefile
| config.status: creating prog/Makefile
| config.status: creating manual/Makefile
| config.status: creating manual/man-html/Makefile
| config.status: creating manual/man-text/Makefile
| config.status: creating manual/dev-html/Makefile
| config.status: creating manual/dev-text/Makefile
| config.status: creating common/settings.h
| config.status: executing depfiles commands
| 
| 
| 
| 

Please, report this to the package maintainers, as it's a configure.ac
problem.  The Autoconf 2.57 doc says:

      Previous versions of Autoconf merely checked whether the header was
   accepted by the preprocessor.  This was changed because the old test was
   inappropriate for typical uses.  Headers are typically used to compile,
   not merely to preprocess, and the old behavior sometimes accepted
   headers that clashed at compile-time.  If you need to check whether a
   header is preprocessable, you can use `AC_PREPROC_IFELSE' (*note
   Running the Preprocessor::).
   
      This scheme, which improves the robustness of the test, also requires
   that you make sure that headers that must be included before the
   HEADER-FILE be part of the INCLUDES, (*note Default Includes::).  If
   looking for `bar.h', which requires that `foo.h' be included before if
   it exists, we suggest the following scheme:
   
   
   AC_CHECK_HEADERS([foo.h])
   AC_CHECK_HEADERS([bar.h], [], [],
   [#if HAVE_FOO_H
   # include <foo.h>
   # endif
   ])

Thanks!




reply via email to

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