[collectd] Configure script readability request
Tim Henrich
tim at g.tdinternet.com
Tue Oct 6 16:51:04 CEST 2009
(Resending this message with zipped up logfiles)
Yeah, that's how I figured it should work, but on my system it doesn't seem
to be doing that.
I've attached config.log, configure output, along with `which
libgcrypt-config` output and `ls /opt/libgcrypt/bin`.
If you compare the configure parameters used and the output, you'll see that
it finds the libraries in /opt/libgcrypt but uses /usr/bin/libgcrypt-config.
-Tim
On Tue, Oct 6, 2009 at 9:55 AM, Florian Forster <octo at verplant.org> wrote:
> Hi Tim,
>
> On Tue, Oct 06, 2009 at 08:57:18AM -0400, Tim Henrich wrote:
> > Finally, I realized the -with-libgcrypt-prefix=[PFX] needed to point
> > to the same place as --with-libgcrypt=[PREFIX].
>
> yeah, unfortunately not all --with-foo options behave exactly the same,
> because some libraries provide foo-config scripts, some use pkg-config,
> some don't provide anything and many are simply weird.
>
> We usually do it like this if the library provides a foo-config script:
>
> * If the argument to --with-foo is a file and executable, then this
> executable is used as the foo-config script.
>
> * If the argument is a directory and ${argument}/bin/foo-config exists
> and is executable, then this is used as foo-config script.
>
> * If the argument is a directory (but no appropriate script exists)
> then the directories ${argument}/include and ${argument}/lib are
> added to the CPP- and LD-flags.
>
> * Else: The argument is ignored.
>
> This is how it's supposed to work. If it behaves different for you,
> we'll need the `config.log' and ideally the output of `configure' to
> debug this.
>
> Regards,
> —octo
> --
> Florian octo Forster
> Hacker in training
> GnuPG: 0x91523C3D
> http://verplant.org/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFKy0xTHdggu3Q05IYRAumnAJ97nIST54R594SZrN0H8FhW15nRbwCfSTwh
> q8GItYvE85E4BPWFDEB0Y9Q=
> =SAyB
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20091006/6075efd2/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive.zip
Type: application/zip
Size: 48055 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091006/6075efd2/attachment-0001.zip
More information about the collectd
mailing list