trouble building pango / detecting freetype2



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I'm trying to build pango-1.0.4 on Sparc Solaris 8.

$ crle

Configuration file [2]: /var/ld/ld.config
  Default Library Path (ELF):   /usr/lib:/opt/lib:/opt/ssl/lib:/usr/local/lib
  Trusted Directories (ELF):    /usr/lib/secure  (system default)

Command line:
  crle -c /var/ld/ld.config -l /usr/lib:/opt/lib:/opt/ssl/lib:/usr/local/lib

$ ls /usr/lib/libfree*
/usr/lib/libfree*: No such file or directory

$ ls /opt/lib/libfree*
/opt/lib/libfreetype.a         /opt/lib/libfreetype.so.6
/opt/lib/libfreetype.la        /opt/lib/libfreetype.so.6.3.1
/opt/lib/libfreetype.so

$ ./configure
[snip lots]
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... no
[continues]

make then fails:-
/usr/local/include/glib-2.0/glib/gmacros.h:63: warning: this is the location of the previous definition
/usr/local/include/glib.h:257: warning: `G_GNUC_NORETURN' redefined
/usr/local/include/glib-2.0/glib/gmacros.h:65: warning: this is the location of the previous definition
/usr/local/include/glib.h:259: warning: `G_GNUC_CONST' redefined
/usr/local/include/glib-2.0/glib/gmacros.h:67: warning: this is the location of the previous definition
/usr/local/include/glib.h:261: warning: `G_GNUC_UNUSED' redefined
/usr/local/include/glib-2.0/glib/gmacros.h:69: warning: this is the location of the previous definition
In file included from pango-break.h:25,
                 from break.c:22:
/usr/local/include/glib.h:502: warning: redefinition of `gssize'
/usr/local/lib/glib-2.0/include/glibconfig.h:59: warning: `gssize' previously declared here
/usr/local/include/glib.h:503: warning: redefinition of `gsize'
/usr/local/lib/glib-2.0/include/glibconfig.h:60: warning: `gsize' previously declared here
In file included from /usr/local/include/glib-2.0/glib-object.h:29,
                 from ../pango/pango-types.h:26,
                 from ../pango/pango-item.h:25,
                 from pango-break.h:29,
                 from break.c:22:
/usr/local/include/glib-2.0/gobject/gparamspecs.h:194: parse error before `gunichar'
/usr/local/include/glib-2.0/gobject/gparamspecs.h:194: warning: no semicolon at end of struct or union
/usr/local/include/glib-2.0/gobject/gparamspecs.h:327: parse error before `gunichar'
In file included from /usr/local/include/glib-2.0/glib-object.h:31,
                 from ../pango/pango-types.h:26,
                 from ../pango/pango-item.h:25,
                 from pango-break.h:29,
                 from break.c:22:
/usr/local/include/glib-2.0/gobject/gsourceclosure.h:29: parse error before `*'
In file included from /usr/local/include/glib-2.0/glib-object.h:36,
                 from ../pango/pango-types.h:26,
                 from ../pango/pango-item.h:25,
                 from pango-break.h:29,
                 from break.c:22:
/usr/local/include/glib-2.0/gobject/gvaluearray.h:66: parse error before `GCompareDataFunc'
break.c: In function `pango_default_break':
break.c:402: `gunichar' undeclared (first use in this function)
break.c:402: (Each undeclared identifier is reported only once
break.c:402: for each function it appears in.)
break.c:402: parse error before `prev_wc'
break.c:404: `GUnicodeType' undeclared (first use in this function)
break.c:405: `GUnicodeBreakType' undeclared (first use in this function)
break.c:408: parse error before `last_word_letter'
break.c:421: warning: implicit declaration of function `g_utf8_strlen'
break.c:432: `prev_type' undeclared (first use in this function)
break.c:433: `prev_break_type' undeclared (first use in this function)
break.c:433: `G_UNICODE_BREAK_UNKNOWN' undeclared (first use in this function)
break.c:435: `prev_wc' undeclared (first use in this function)
break.c:439: `next_wc' undeclared (first use in this function)
break.c:439: warning: implicit declaration of function `g_utf8_get_char'
break.c:447: parse error before `type'
break.c:452: `wc' undeclared (first use in this function)
break.c:464: warning: implicit declaration of function `g_utf8_next_char'
break.c:464: warning: assignment makes pointer from integer without a cast
break.c:480: `type' undeclared (first use in this function)
break.c:480: warning: implicit declaration of function `g_unichar_type'
break.c:485: warning: implicit declaration of function `g_unichar_isspace'
break.c:500: `G_UNICODE_CONTROL' undeclared (first use in this function)
break.c:501: `G_UNICODE_FORMAT' undeclared (first use in this function)
break.c:521: `G_UNICODE_COMBINING_MARK' undeclared (first use in this function)
break.c:522: `G_UNICODE_ENCLOSING_MARK' undeclared (first use in this function)
break.c:523: `G_UNICODE_NON_SPACING_MARK' undeclared (first use in this function)
break.c:539: `G_UNICODE_LOWERCASE_LETTER' undeclared (first use in this function)
break.c:540: `G_UNICODE_MODIFIER_LETTER' undeclared (first use in this function)
break.c:541: `G_UNICODE_OTHER_LETTER' undeclared (first use in this function)
break.c:542: `G_UNICODE_TITLECASE_LETTER' undeclared (first use in this function)
break.c:543: `G_UNICODE_UPPERCASE_LETTER' undeclared (first use in this function)
break.c:518: warning: unreachable code at beginning of switch statement
break.c:603: `break_type' undeclared (first use in this function)
break.c:603: warning: implicit declaration of function `g_unichar_break_type'
break.c:606: `G_UNICODE_BREAK_SPACE' undeclared (first use in this function)
break.c:623: `G_UNICODE_BREAK_MANDATORY' undeclared (first use in this function)
break.c:624: `G_UNICODE_BREAK_LINE_FEED' undeclared (first use in this function)
break.c:629: `G_UNICODE_BREAK_CARRIAGE_RETURN' undeclared (first use in this function)
break.c:637: `G_UNICODE_BREAK_CONTINGENT' undeclared (first use in this function)
break.c:646: `G_UNICODE_BREAK_SURROGATE' undeclared (first use in this function)
break.c:652: `G_UNICODE_BREAK_AMBIGUOUS' undeclared (first use in this function)
break.c:656: `G_UNICODE_BREAK_COMPLEX_CONTEXT' undeclared (first use in this function)
break.c:662: `G_UNICODE_BREAK_ALPHABETIC' undeclared (first use in this function)
break.c:687: warning: unreachable code at beginning of switch statement
break.c:625: warning: unreachable code at beginning of switch statement
break.c:781: `last_word_letter' undeclared (first use in this function)
break.c:808: `G_UNICODE_DECIMAL_NUMBER' undeclared (first use in this function)
break.c:809: `G_UNICODE_LETTER_NUMBER' undeclared (first use in this function)
break.c:810: `G_UNICODE_OTHER_NUMBER' undeclared (first use in this function)
break.c:771: warning: unreachable code at beginning of switch statement
break.c:840: warning: unreachable code at beginning of switch statement
break.c:910: `G_UNICODE_LINE_SEPARATOR' undeclared (first use in this function)
break.c:911: `G_UNICODE_PARAGRAPH_SEPARATOR' undeclared (first use in this function)
break.c:917: warning: unreachable code at beginning of switch statement
break.c:939: warning: unreachable code at beginning of switch statement
break.c:959: `G_UNICODE_SPACE_SEPARATOR' undeclared (first use in this function)
break.c:960: warning: unreachable code at beginning of switch statement
break.c:975: warning: unreachable code at beginning of switch statement
break.c:993: `G_UNICODE_OTHER_PUNCTUATION' undeclared (first use in this function)
break.c:994: `G_UNICODE_CLOSE_PUNCTUATION' undeclared (first use in this function)
break.c:1006: warning: unreachable code at beginning of switch statement
break.c:1025: warning: unreachable code at beginning of switch statement
break.c:1000: warning: unreachable code at beginning of switch statement
break.c:1051: warning: unreachable code at beginning of switch statement
break.c:1077: warning: unreachable code at beginning of switch statement
break.c:1039: warning: unreachable code at beginning of switch statement
break.c:1108: warning: unreachable code at beginning of switch statement
break.c:1093: warning: unreachable code at beginning of switch statement
break.c:1123: warning: unreachable code at beginning of switch statement
break.c:1148: warning: unreachable code at beginning of switch statement
break.c:1131: warning: unreachable code at beginning of switch statement
break.c:1173: warning: unreachable code at beginning of switch statement
break.c:1160: warning: unreachable code at beginning of switch statement
break.c:1191: `G_UNICODE_OPEN_PUNCTUATION' undeclared (first use in this function)
break.c:1214: warning: unreachable code at beginning of switch statement
break.c:1189: warning: unreachable code at beginning of switch statement
break.c:1246: warning: unreachable code at beginning of switch statement
break.c:1225: warning: unreachable code at beginning of switch statement
break.c:1269: warning: unreachable code at beginning of switch statement
break.c: In function `pango_find_paragraph_boundary':
break.c:1343: `gunichar' undeclared (first use in this function)
break.c:1343: parse error before `prev_wc'
break.c:1368: `prev_wc' undeclared (first use in this function)
break.c:1372: parse error before `wc'
break.c:1374: `wc' undeclared (first use in this function)
break.c:1401: warning: assignment makes pointer from integer without a cast
break.c: In function `pango_get_log_attrs':
break.c:1483: warning: assignment makes pointer from integer without a cast
break.c:1517: warning: assignment makes pointer from integer without a cast
make[3]: *** [break.lo] Error 1
make[3]: Leaving directory `/opt/src/pango-1.0.4/pango'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/pango-1.0.4/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/pango-1.0.4'
make: *** [all-recursive-am] Error 2

Can anyone hand me a cluestick on these problems, which I suspect are related?

Thanks

Ahau K'in

PS. i've butchered my path to try and keep the gnu tools to be the first to be found, not sun's:-

$ echo $PATH
/usr/bin:/usr/sbin:/usr/dt/bin:/usr/ucb:/usr/local/bin:/usr/local/sbin:/opt/gnome-2.0/bin/

-----BEGIN PGP SIGNATURE-----
Version: Hush 2.1
Note: This signature can be verified at https://www.hushtools.com

wlwEARECABwFAj1kqjoVHGFoYXVraW5AaHVzaG1haWwuY29tAAoJEOxf2AiMt61hIAgA
oKobHhuUijRnWO43Y6mL7IrNwAlBAKCK/j9djgKYsrqja/I5hPHPqhcR+g==
=NcWq
-----END PGP SIGNATURE-----




Get your free encrypted email at https://www.hushmail.com



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