Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 19:12:34 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        mvh@ix.netcom.com
Cc:        ijliao@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/gd Makefile
Message-ID:  <200110222312.f9MNCZa20718@aldan.algebra.com>
In-Reply-To: <20011022115321.08BA51318B@netcom1.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110222312.f9MNCZa20718>