Subject: Re: psi broken
To: Christos Zoulas <christos@zoulas.com>
From: Perry E. Metzger <perry@piermont.com>
List: tech-pkg
Date: 06/24/2004 16:28:01
BTW, I have confirmed that if I hardcode
#define Q_MODERN_RES_API
in the file, the resulting library (and psi) actually works correctly,
so this is in fact the source of the problem.
Perry
"Perry E. Metzger" <perry@piermont.com> writes:
> Okay, my latest guess is that this is really a libqt problem.
>
> if you look a the sources in the x11/qt3-libs/ package, specifically
> in src/network/qdns.cpp, you find a bunch of code that decides whether
> to use _res based on a preproc define named Q_MODERN_RES_API.
>
> Early in the file, this is set via:
>
> #if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 3)))
> #define Q_MODERN_RES_API
> #else
> #endif
>
> This is not a good idea.
>
> Unfortunately, I don't speak configure well enough to fix it
> correctly, nor do I know how to do the test for a modern resolver.
>
> Perry
>
--
Perry E. Metzger perry@piermont.com