On 2 Mar 2003, James K. Lowden wrote:
> 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?
Good to hear. We may want to write it down for future users.
> 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.
I could change the error message to say that the test failed to compile,
but I cannot grab the error messages. That is standard configure
behaviour.
> Now, I only can't compile. That's progress, right?
Yep!
> 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
Does pkg-config --cflags pangoft2 give a clue?
> 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'
[...]
Ouch! That should definitely not happen. Not something I've seen before.
What version Pango do you have?
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HĂ„rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?