Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 04:53:21 -0700 (PDT)
From:      Mike Harding <mvh@ix.netcom.com>
To:        mi@aldan.algebra.com
Cc:        ijliao@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/gd Makefile
Message-ID:  <20011022115321.08BA51318B@netcom1.netcom.com>
In-Reply-To: <200110221115.f9MBFLa09386@aldan.algebra.com> (message from Mikhail Teterin on Mon, 22 Oct 2001 07:15:20 -0400 (EDT))
References:   <200110221115.f9MBFLa09386@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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
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_gd.c
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_gd2.c
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_io.c
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_io_dp.c
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_io_file.c
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_ss.c
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_io_ss.c
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_png.c
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_jpeg.c
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 gdxpm.c
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 gdfontt.c
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 gdfonts.c
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 gdfontmb.c
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 gdfontl.c
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 gdfontg.c
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 gdtables.c
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 gdft.c
In file included from gdft.c:37:
/usr/X11R6/include/freetype2/freetype/ftglyph.h:86: syntax error before `FT_Library'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:88: syntax error before `FT_Glyph_Format'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:127: syntax error before `FT_Int'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:163: syntax error before `FT_Outline'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:185: syntax error before `FT_Get_Glyph'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:185: syntax error before `slot'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:186: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:207: syntax error before `FT_Glyph_Copy'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:208: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:236: syntax error before `FT_Glyph_Transform'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:237: syntax error before `FT_Matrix'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:238: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:314: syntax error before `FT_Glyph_Get_CBox'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:315: syntax error before `FT_UInt'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:316: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:390: syntax error before `FT_Glyph_To_Bitmap'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:391: syntax error before `FT_ULong'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:393: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:407: syntax error before `FT_Done_Glyph'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:407: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: syntax error before `FT_Matrix_Multiply'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:437: syntax error before `*'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:438: warning: data definition has no type or storage class
/usr/X11R6/include/freetype2/freetype/ftglyph.h:456: syntax error before `FT_Matrix_Invert'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:456: syntax error before `*'
/usr/X11R6/include/freetype2/freetype/ftglyph.h:456: warning: data definition has no type or storage class
gdft.c:81: syntax error before `FT_Library'
gdft.c:92: syntax error before `FT_Library'
gdft.c: In function `fontFetch':
gdft.c:307: syntax error before `err'
gdft.c:313: structure has no member named `library'
gdft.c:313: structure has no member named `library'
gdft.c:354: `err' undeclared (first use in this function)
gdft.c:354: (Each undeclared identifier is reported only once
gdft.c:354: for each function it appears in.)
gdft.c:354: structure has no member named `library'
gdft.c:354: structure has no member named `face'
gdft.c:363: structure has no member named `have_char_map_unicode'
gdft.c:364: structure has no member named `have_char_map_big5'
gdft.c:365: structure has no member named `have_char_map_sjis'
gdft.c:366: structure has no member named `have_char_map_apple_roman'
gdft.c:367: structure has no member named `face'
gdft.c:368: `charmap' undeclared (first use in this function)
gdft.c:368: structure has no member named `face'
gdft.c:375: structure has no member named `have_char_map_unicode'
gdft.c:376: `found' undeclared (first use in this function)
gdft.c:379: structure has no member named `have_char_map_big5'
gdft.c:383: structure has no member named `have_char_map_sjis'
gdft.c:388: structure has no member named `have_char_map_apple_roman'
gdft.c: In function `fontRelease':
gdft.c:405: structure has no member named `face'
gdft.c: At top level:
gdft.c:466: syntax error before `FT_Bitmap'
gdft.c: In function `gdft_draw_bitmap':
gdft.c:482: `fg' undeclared (first use in this function)
gdft.c:483: `im' undeclared (first use in this function)
gdft.c:484: `bitmap' undeclared (first use in this function)
gdft.c:486: `pen_y' undeclared (first use in this function)
gdft.c:492: `ft_pixel_mode_grays' undeclared (first use in this function)
gdft.c:502: `ft_pixel_mode_mono' undeclared (first use in this function)
gdft.c:510: `pen_x' undeclared (first use in this function)
gdft.c: In function `gdImageStringFT':
gdft.c:541: syntax error before `ur_x'
gdft.c:548: syntax error before `slot'
gdft.c:563: syntax error before `library'
gdft.c:566: `library' undeclared (first use in this function)
gdft.c:576: structure has no member named `library'
gdft.c:581: `face' undeclared (first use in this function)
gdft.c:581: structure has no member named `face'
gdft.c:582: `slot' undeclared (first use in this function)
gdft.c:584: `FT_F26Dot6' undeclared (first use in this function)
gdft.c:589: `matrix' undeclared (first use in this function)
gdft.c:589: `FT_Fixed' undeclared (first use in this function)
gdft.c:594: `pen' undeclared (first use in this function)
gdft.c:596: `use_kerning' undeclared (first use in this function)
gdft.c:597: `previous' undeclared (first use in this function)
gdft.c:599: `advance_x' undeclared (first use in this function)
gdft.c:599: `advance_y' undeclared (first use in this function)
gdft.c:602: structure has no member named `have_char_map_sjis'
gdft.c:640: structure has no member named `have_char_map_unicode'
gdft.c:644: structure has no member named `have_char_map_sjis'
gdft.c:687: `glyph_index' undeclared (first use in this function)
gdft.c:692: `ft_kerning_default' undeclared (first use in this function)
gdft.c:692: `delta' undeclared (first use in this function)
gdft.c:697: `err' undeclared (first use in this function)
gdft.c:697: `FT_LOAD_RENDER' undeclared (first use in this function)
gdft.c:721: `ll_x' undeclared (first use in this function)
gdft.c:722: `ll_y' undeclared (first use in this function)
gdft.c:723: `ur_x' undeclared (first use in this function)
gdft.c:724: `ur_y' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/graphics/gd/work/gd-1.8.4.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/graphics/gd.
*** Error code 1

Stop in /usr/ports/graphics/gd.
netcom1# 

   Date: Mon, 22 Oct 2001 07:15:20 -0400 (EDT)
   From: Mikhail Teterin <mi@aldan.algebra.com>
   Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org,
	   mvh@ix.netcom.com
   Content-Type: TEXT/plain; charset=us-ascii
   X-SpamBouncer: 1.4 (8/24/01)
   X-SBClass: OK

   On 20 Oct, Ying-Chieh Liao wrote:
   > ijliao      2001/10/20 21:28:27 PDT
   > 
   >   Modified files:
   >     graphics/gd          Makefile 
   >   Log:
   >   XFree86-4 installs freetype.6, freetype2 installs freetype.7
   >   so we have to use "freetype.7" instead of just "freetype"
   >   
   >   Reported by:	Mike Harding <mvh@ix.netcom.com>

   No we DON'T. The port will compile and link perfectly with either --
   it does not care. I left it that way on purpose. Please, back out. Thank
   you, 
	   -mi

   >   Revision  Changes    Path
   >   1.43      +2 -2      ports/graphics/gd/Makefile

   -- 
			    |\__-----__/|
		       _____/ :::::  :::\_____  
		      '__--( ::::::::..::)--__`	-mi
   If you have a      /  _- \/  :::::::\/ -_  
   serious knowledge    /   / :.   .::::\   \
   about computers --      | ::::::::::::|  	Ok, let's say you broke 
   keep it in a secret!   _|/ ::::____::\|_	the wall with your head
   "Rules of dating",   /  /:::::/:_::\::\:.\      What are you going to
   'Playboy', ? 1994   | :|  ..:(_/ \::|::|::|	do in the next cell?
		       | :|:::::. ::|: |::|.:|	      Stanislaw J. Lec
			\ |::  :::_/::/: :|:/
		      ((___\____\____/___/___))





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?20011022115321.08BA51318B>