better user messages
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Mon May 20 05:15:52 CDT 2002
On Mon, May 20, 2002 at 12:09:01PM +0200, Ove Kaaven wrote:
>
> On Sun, 19 May 2002, Francois Gouget wrote:
>
> > On Sun, 19 May 2002, Andreas Mohr wrote:
> > @@ -593,9 +593,9 @@
> > ft_handle = wine_dlopen("libfreetype.so", RTLD_NOW, NULL, 0);
> > if(!ft_handle) {
> > WINE_MESSAGE(
> > - "Wine cannot find the FreeType font library. To enable Wine to\n"
> > - "use TrueType fonts please install a version of FreeType greater than\n"
> > - "or equal to 2.0.5.\n"
> > + "Wine could not find the FreeType font library. To enable Wine to\n"
> > + "use TrueType fonts please install a version of FreeType\n"
> > + "(plus devel/header file package) greater than or equal to 2.0.5.\n"
> > "http://www.freetype.org\n");
> > return TRUE;
> > }
> >
> > I disagree with this bit. This is printed by the Wine binary and the
> > development libraries and headers are not needed for running Wine. Such
> > a message should instead be printed by the configure script if it
> > detects that FreeType libraries or headers are missing.
>
> Actually, the development libraries *are* needed, though the headers are
> not. This is because the dlopen tries to load "libfreetype.so", NOT
> "libfreetype.so.6". And, at least on Debian, only the dev package provides
> the libfreetype.so symlink, the library package itself only contains
> libfreetype.so.6. (This issue is Debian bug #146136.)
Ah, thanks for enlightening us ! :-)
(that's probably what prompted me to add this message in the first place)
As it's probably only a Debian specific bug (or isn't it ?),
I think changing the message to include devel stuff is still wrong, though...
(as having devel stuff usually isn't required)
--
Andreas Mohr Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604 http://mohr.de.tt
More information about the wine-devel
mailing list