Date: Tue, 09 Jan 2001 10:58:43 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Doug Barton <DougB@FreeBSD.org> Cc: scanner@jurai.net, Jean-Marc Zucconi <jmz@FreeBSD.org>, ports@FreeBSD.org Subject: Re: WindowMaker .63 port isnt building... Message-ID: <3A5AD2C3.EDD23D60@FreeBSD.org> References: <5.0.2.1.2.20010108111348.03210c20@192.168.1.50> <3A59FF7E.DE14E6B8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > Maxim Sobolev wrote: > > > > At 06:44 08.01.01, scanner@jurai.net wrote: > > > > >cc -DHAVE_CONFIG_H -I. -I. -I. -I../../wrlib -I../../src -I../../WINGs > > >-I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include > > >-I/usr/local/include -I/usr/local/include/freetype2 -O -pipe -c > > >drawstring.c -fPIC -DPIC -o .libs/drawstring.lo > > >drawstring.c:24: syntax error before `ft_library' > > >drawstring.c:24: warning: data definition has no type or storage class > > >drawstring.c:36: syntax error before `FT_Face' > > >drawstring.c:153: syntax error before `face' > > >drawstring.c: In function `renderChar': > > >drawstring.c:154: syntax error before `slot' > > >drawstring.c:155: `FT_Bitmap' undeclared (first use in this function) > > >drawstring.c:155: (Each undeclared identifier is reported only once > > >drawstring.c:155: for each function it appears in.) > > > > Huh, it seems that you are the first victim of the situation when two ports > > installs the same library into different prefixes (freetype2 and > > XFree86-4). The problem is that the latter doesn't install any Freetype's > > header files, thus while dependency mechanism detects presence of > > freetype.6 shared library, but the port can't be compiled due to missing > > includes. Temporary workaround is to install print/freetype2 by hand before > > trying to build WM. > > I ran into exactly this problem as well. I have X 4.0.2 installed from > ports, but in my case the culprit seemed to be the fact that I had freetype > 1 installed already when I tried to build windowmaker. I deinstalled both > freetype libs, installed freetype2 and then wm built just fine. Not too > long thereafter I saw the commit message regarding this problem. AFAIK freetype1 and freetype2 are fully orthogonal (different library names and different paths for includes), so they can co-exists on the same machine w/o any problems. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5AD2C3.EDD23D60>