[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DB 3.3.11 configure fails to detect gcc

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2001-09-01 11:56:18 CEST

On Sat, 1 Sep 2001, Joe Orton wrote:

> > Yes, you're right. But in my case it unfortunnately doesn't make any
> > difference. The neon configure fails no matter how I set the environment
> > variable. Even if I do (using tcsh):
>
> That's weird... on RH Linux I can do

I'm sorry, I wasn't specific enough there. These failures *only* occur when
the neon configure is run as a part of the big subversion configure run, not
when I run the neon configure stand-alone.

So, yes, I too can run those command lines in the neon directory with no
fuss.

I'm using:
 libtool 1.4.0a (1.922.2.27 2001/08/18 22:31:47) [1]
 autoconf 2.52

The part of the configure output that is interesting looks like shown below.

Ah, it just struck me. Is this perhaps because I generate the main subversion
configure with autoconf 2.52, while the neon one is built with an older
version and the 2.52 one passes environment variables to the neon one in a
way the older generated one doesn't support?

------- start of dump ------
configuring package in neon now
configure: warning: CC=gcc: invalid host type
loading site script /usr/local/etc/config.site
loading cache /dev/null
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for POSIXized ISC... no
checking for a BSD compatible install...
/home/dast/src/subversion/neon-0.15.3/install-sh -c
checking for inline... inline
checking for working const... yes
checking host system type... Invalid configuration `CC=gcc': machine `CC=gcc'
not recognized

checking build system type... Invalid configuration `CC=gcc': machine
`CC=gcc' not recognized

checking for ranlib... ranlib
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
updating cache /dev/null
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed
configure failed for neon
------- end of dump ----------

[1] = I need this recent version of libtool for another project of mine,
      this version is from the libtool CVS branch-1-4 as no previous version
      of libtool seems to work correctly on OpenBSD!

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:39 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.