Subject: Re: Problems installing KDElibs2 package from source
To: David Friggens <dnf@paradise.net.nz>
From: Johnny C. Lam <jlam@netbsd.org>
List: netbsd-users
Date: 12/06/2001 22:57:51
On Sat, Dec 01, 2001 at 09:16:02PM +1300, David Friggens wrote:
> 
> In file included from /usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/parser.h:576,
>                  from /usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/xmlerror.h:4,
>                  from templates.c:18:
> /usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:70: syntax error before `xmlGenericErrorFunc'
> /usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:217: syntax error before `xmlGenericError'
> /usr/pkgsrc/x11/kdelibs2/work/.buildlink/include/libxml/globals.h:217: warning: data definition has no type or storage  class
> gmake[3]: *** [templates.lo] Error 1

I've seen several other users report this error.  I'm at a loss to explain
what's going on, as I can't reproduce this on my system, which uses the
same toolchain as 1.5.2.  I've just successfully built kdelibs-2.2.2 from
the very latest pkgsrc.  Libxslt (where the error you're reporting above
occurs) has been factored into a separate package, textproc/libxslt.  Could
you please try building libxslt and kdelibs2 from the latest pkgsrc?  If it
still fails for you, please submit a PR with this problem.

	Thanks,

	-- Johnny Lam <jlam@netbsd.org>