From owner-cvs-all Mon Oct 22 16:15:33 2001 Delivered-To: cvs-all@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id E9A9F37B401; Mon, 22 Oct 2001 16:15:25 -0700 (PDT) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.6/8.11.5) with ESMTP id f9MNCZa20718; Mon, 22 Oct 2001 19:12:36 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Message-Id: <200110222312.f9MNCZa20718@aldan.algebra.com> Date: Mon, 22 Oct 2001 19:12:34 -0400 (EDT) From: Mikhail Teterin Subject: Re: cvs commit: ports/graphics/gd Makefile To: mvh@ix.netcom.com Cc: ijliao@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-Reply-To: <20011022115321.08BA51318B@netcom1.netcom.com> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 22 Oct, Mike Harding wrote: > I reported a problem because gd would not compile if freetype only was > installed - a (not quick) test which involves ripping out all of gnome > and kde shows... now I have 12+ hours of compiling to recover... > > netcom1# make install clean > If you want to compile in X support use > 'make -DWITH_X11' instead > ===> Extracting for gd-1.8.4_3 >>> Checksum OK for gd-1.8.4.tar.gz. >>> Checksum OK for gd_gif_in.c.bz2. > ===> gd-1.8.4_3 depends on shared library: png.5 - found > ===> gd-1.8.4_3 depends on shared library: jpeg.9 - found > bzip2 -d < /usr/ports/distfiles//gd_gif_in.c.bz2 > /usr/ports/graphics/gd/work/gd-1.8.4/gd_gif_in.c > ===> Patching for gd-1.8.4_3 > ===> Applying FreeBSD patches for gd-1.8.4_3 > ===> Configuring for gd-1.8.4_3 > ===> Building for gd-1.8.4_3 > cc -I. -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -O -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -c gd.c [...] Well, it is compiling nicely both on my workstation (with X11) and on a web-server (without X11). It also seems to do fine on bento. What might be breaking things for you is the mixture of include files -- under /usr/X11R6 and /usr/local -- if you have both freetype2 libraries (and sets of headers). Could somebody else with different /usr/X11R6 and /usr/local (on my systems they both point to /opt) debug this? Thanks! In any case, I think the library version number is not a solution... In fact, I plan to remove the particular major numbers for png and jpeg libraries too for this port, and some others :) -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message