Re: vsnprintf



-----BEGIN PGP SIGNED MESSAGE-----

On Wed, 20 May 1998, robert havoc pennington wrote:

> On 20 May 1998, Raja R Harinath wrote:
> > 
> > I guess we'll have to look at the `config.log' of `gnome-libs'.  For
> > some reason, `configure' thinks that:
> > 
> > 	1) You don't have `vsnprintf'
> > 	2) You don't have `scandir'
> > 	3) You don't have a `dirent.h'
> > 

Ok, he has vsnprintf and scandir (I didn't look at the dirent stuff).

> I should have included more information before, I'm sorry. Kind of
> distracted. Here's the parts of config.log that look relevant to me, and
> the whole thing is at http://pobox.com/~hp/config.log. I built on my same
> old Linux box same as ever; I think it started breaking yesterday or so,
> this week anyway. Probably I'm doing something dumb. Thanks for having a
> look...
> 
> Actually, come to think of it I think I may have just changed from using
> real intl/macros/support directories to symlinks into gnome-common; that's
> been working for most of gnome-* but I hadn't tried it for gnome-libs. 
> Guess it doesn't work that way. ;-)  That is probably it. I can't think of
> anything else that's changed. 

I looked at your config.log - there's no error when it checks for
vsnprintf(). This will normally #define HAVE_VSNPRINTF in config.h.
So far so good. But you got an error with a prototype in
'support/gnomesupport.h' - this file is automatically generated from
'support/gnomesupport-h.c' and it only emits a prototype for vsnprintf()
if HAVE_VSNPRINTF is not defined.

If you made 'support' a symlink that may have fooled the dependency
tracking system of automake so that it didn't rebuild gnomesupport.h from
gnomesupport-h.c when your config.h changed. Perhaps your gnomesupport.h
was build when config.h did not define HAVE_VSNPRINTF for any reason.

You should try to checkout a new copy of gnome-common/support and try it
again. If this does not help, look at your config.h if it really defines
HAVE_VSNPRINTF (if your /usr/include/stdio.h defines that function, you
normally really have it!). If it does, make sure 'support/gnomesupport-h.c'
really uses that config.h and not some other.

Martin

- -----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNWRAx4A8K7jIF4Q1AQGDGAP+KR/+BQy5Na25it42VCKMPLXNHh/q40J1
8CMoHY3N8MVVhHe72O9lpdUHQ/Z6/1Iy8iv1kfzxFRVX84d++JHG9mUSai678uWj
b5Zt4Ey1cEwcJYEYdIp/aFkr3uWEaOMPSu+rd8EuJYgxex/RLPdL+pKa4kOet4oW
GgSOdLG4iG0=
=B8zx
-----END PGP SIGNATURE-----



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