Re: prerelease 4



On Sun, 02 Mar 2003 18:59:43 -0600, Lars Clausen <lrclause cs uiuc edu>
wrote:
On 2 Mar 2003, James K. Lowden wrote:

You have a version of FreeType 1 installed, maybe that is causing
confusion?

Lars, 

FreeType 1 wasn't the problem.  Enough -I switches was.  Eventually, I
read the speech in ft2build.h about what 2.1 would mean (but evidently
didn't).  What's 3 extra include paths among friends?  

It configures now, thanks to you.  Your directory listing made it clear my
hierarchy was OK, albeit in a funny place. 

We can't really do much to do a better test except alert BSD and/or
FreeType2 people to the problem.

I just think if compilation of the test fails, it might be better to
report the compilation error than to say the wrong version of freetype is
installed.  

Now, I only can't compile.  That's progress, right?  The messages are
below.  Does anything look familiar?  One weirdness (I'm too tired to make
a useful assessment now) is "-I/usr/X11R6/include/freetype2", because
post-hacking: 

$  freetype-config --cflags
-I/usr/local/include -I/usr/pkg/include -I/usr/pkg/include/freetype2

Thanks for any advice.  

--jkl

gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../../intl
-I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/libxml2 -DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\"
-DLIBDIR=\"/usr/local/lib\" -DDATADIR=\"/usr/local/share/dia\"
-I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include/ -Wall
-Wunused -Winline -Wmissing-prototypes -Wmissing-declarations
-finline-functions -fstrict-aliasing -c ../../lib/font.c  -fPIC -DPIC -o
font.lo
In file included from ../../lib/font.c:31:
/usr/pkg/include/pango-1.0/pango/pangoft2.h:52: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:57: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:61: parse error before `*'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: parse error before
`pango_ft2_font_get_face'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: warning: type defaults to
`int' in declaration of `pango_ft2_font_get_face'
/usr/pkg/include/pango-1.0/pango/pangoft2.h:86: warning: data definition
has no type or storage class
../../lib/font.c:111: warning: no previous prototype for
`dia_font_pop_context'
../../lib/font.c:117: warning: no previous prototype for
`dia_font_get_context'
../../lib/font.c:48: warning: `compare' defined but not used
../../lib/font.c:66: warning: `list_families' defined but not used
*** Error code 1




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]