monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Re: nvm.stripped versus botan


From: Zack Weinberg
Subject: Re: [Monotone-devel] Re: nvm.stripped versus botan
Date: Sun, 1 Feb 2009 09:16:37 -0800

On Sun, Feb 1, 2009 at 9:05 AM, Markus Wanner <address@hidden> wrote:
> freebsd71-i386% /usr/local/bin/pkg-config --exists --print-errors 'botan
>>= 1.6.3'
> gnome-config: not found
> Package botan was not found in the pkg-config search path.
> Perhaps you should add the directory containing `botan.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'botan' found
> freebsd71-i386%

Ok, that's what I was expecting.  The trace output you sent me
indicates that the quoting in configure is correct, so we're good
there.

I poked around a bit and figured out that pkg-config will try to run
gnome-config for any package it doesn't have a .pc file for.  It's
harmless.  Mine (0.22) doesn't complain about it when it can't find
gnome-config, *shrug*

With the trace output I was able to find several typos in library.m4
and mtn-gettext.m4.  I believe these were what was making it fail to
use botan-config correctly (or even attempt to use libintl).  I've
tested on my system that configure can now find botan if there's no
.pc file for it, but I can't test the no-gettext-in-libc case.  Would
you please update to the tip of .stripped and try again?

>> It looks like botan-config deliberately does not print an -I switch if
>> it would be -I/usr/include or -I/usr/local/include.  This is sane,
>> because you have to patch gcc to get it not to search those
>> directories by default.  Is this the stock FreeBSD 7.1 gcc?
>
> I think so, yes:
>
> freebsd71-i386% gcc --version
> gcc (GCC) 4.2.1 20070719  [FreeBSD]
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hm, what do you get from this command?

$ gcc -v -E -x c++ /dev/null 2>&1 | sed -ne '/^#include/,/End of/p;
/^ignoring/p'

zw




reply via email to

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