libtool
[Top][All Lists]
Advanced

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

Re: /lib/cpp (c++ on lang_c? libtool problem?)


From: Robert Boehne
Subject: Re: /lib/cpp (c++ on lang_c? libtool problem?)
Date: Tue, 24 Jul 2001 09:33:38 -0500

Guido:

This is an Autoconf problem with a macro called by libtool.
Try getting today's CVS versions of Autoconf, Automake and Libtool
to see if it is resolved.

Robert

Guido Draheim wrote:
> 
> [autoconf-2.52,automake-1.4f,libtool-1.4b]
> 
> checking build system type... sparc-sun-solaris2.6
> checking host system type... sparc-sun-solaris2.6
> checking target system type... sparc-sun-solaris2.6
> [...]
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc
> checking for ld used by GCC...
> /net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld
> checking if the linker
> (/net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld) is GNU ld...
> yes
> checking for /net/compiler/gcc_mpt_1.00/sparc-sun-solaris2.6/bin/ld
> option to reload object files... -r
> checking for BSD-compatible nm... /net/compiler/gcc_mpt_1.00/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for dlfcn.h... yes
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> 
> why does it try to find a C++ preprocessor?
> why does it not fallback to C preprocessor?
> The C preprocessor is set correctly!
> 
> configure.ac:
> AC_INIT(pfe-words.c)
> AC_CANONICAL_HOST
> AC_CANONICAL_SYSTEM
> AC_SET_DEFAULT_PATHS_DLLSYSTEM
> AC_SPEC_PACKAGE_VERSION(pfe.spec)
> AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
> AM_CONFIG_HEADER(config.h)
> AC_DEFINE_VERSIONLEVEL(PFE_CONFIGVERSION)
> 
> AC_ARG_WITH(ltdl,
> [  --with-ltdl             build and install libtool dlopen convenience
> kit ])
> AC_COND_WITH(ltdl,no)
> 
> AC_LANG_C
> AC_PROG_CC
> AC_LIBTOOL_DLOPEN
> AC_LIBTOOL_WIN32_DLL
> AM_PROG_LIBTOOL
> AC_PROG_INSTALL
> 
> but same bad luck with moving LANG_C/PROG_CC up front
> AC_INIT(pfe-words.c)
> AC_CANONICAL_HOST
> AC_CANONICAL_SYSTEM
> AC_LANG_C
> AC_PROG_CC
> 
> autoconf-2.52,automake-1.4f,libtool-1.4b FAIL
> autoconf-2.52,automake-1.4h,libtool-1.4b FAIL
> autoconf-2.52,automake-1.4h,libtool-1.4  OK
> 
> I'd guess the bug is libtool.m4 related?
> Bad interference with autoconf-2.52?
> 
> cheers
> -- guido                           <standard disclaimer>
> ___________________________________________________________
>   Guido Draheim, R&D              <address@hidden>
>   Tektronix Berlin, MPT E7        "Edel sei der Mensch,
>   tel: +49 -30/ 386-23153           hilfreich und gut"  --G.
> 
> _______________________________________________
> Libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/libtool

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

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