Re: prerelease 4

On Sun, 02 Mar 2003 21:52:41 -0600, Lars Clausen <lrclause cs uiuc edu>
On 2 Mar 2003, James K. Lowden wrote:

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?  

Good to hear.  We may want to write it down for future users.

Maybe AFAICT, FreeType2 is misconfigured in the current NetBSD pkgsrc. 
I'm going to see what they say about what I had to do.  

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

Does pkg-config --cflags pangoft2 give a clue?

$ pkg-config --cflags pangoft2 |perl -pe's/\s+/\n/g'
       ^^^^^ not right on my system

I think that's what's causing the problem.  It's all related:
"freetype-config --cflags" returned "/usr/X11R6..." when I started, when I
saw that nowhere on that path was "freetype2/freetype.h" to be found, as
is needed by Dia's configure.  Current theory: if FreeType2 were
configured correctly, I'd be running Dia instead of compiling it.  

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

Ouch!  That should definitely not happen.  Not something I've seen
before. What version Pango do you have?

$ pkg_info pango |head -2
Information for pango-1.2.1:

I'll go bother the NetBSD pkgsrc guys now, and see where that leads. 
Thanks for your help.  


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