bug-autoconf
[Top][All Lists]
Advanced

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

Re: vim 6.1 compile errors


From: Akim Demaille
Subject: Re: vim 6.1 compile errors
Date: Wed, 26 Feb 2003 11:27:01 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2


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!

| I downloaded vim 6.1 I then patched with all patches 6.1.1-6.1.302.
| trying to compile i get the following:-
| 
| configure: WARNING: sys/ptem.h: present but cannot be compiled
| configure: WARNING: sys/ptem.h: check for missing prerequisite headers?
| configure: WARNING: sys/ptem.h: proceeding with the preprocessor's
| result
| configure: WARNING:     ## ------------------------------------ ##
| configure: WARNING:     ## Report this to address@hidden ##
| configure: WARNING:     ## ------------------------------------ ##
| .
| .
| .
| .
| .
| checking for NLS... no "po" directory - disabled
| checking dlfcn.h usability... yes
| checking dlfcn.h presence... yes
| checking for dlfcn.h... yes
| auto/configure: line 11597: syntax error near unexpected token `yes:no'
| auto/configure: line 11597: `  yes:no '
| make[1]: *** [auto/config.mk] Error 2
| make[1]: Leaving directory `/install/VIM/vim61/src'
| make: *** [first] Error 2
| 
| 
| 
| Hugh McLenaghan
| Technical Architect IV
| Sprint
| Phone (913) 762-4975
| PCS (816) 305-5589
| 
| 
| 
| 




reply via email to

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