LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2008, 12:09 PM   #1
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Rep: Reputation: 15
Angry Pango 1.21.6 compile has me stumped.


I'm trying to install pango to /programs/pango-1.21.6

I'm using the following to help pango find stuff:
Code:
export PKG_CONFIG_PATH=/programs/libXft-2.1.13/lib/pkgconfig:/programs/fontconfig-2.6.0/lib/pkgconfig:/programs/freetype-2.3.7/lib/pkgconfig:/programs/glib-2.18.1/lib/pkgconfig:/programs/pixman-0.12.0/lib/pkgconfig:/programs/cairo-1.6.4/lib/pkgconfig:$PKG_CONFIG_PATH
Fontconfig did not build without the following, so I made it available to pango as well, just in case:
Code:
export PATH=/programs/freetype-2.3.7/bin:$PATH
I really don't understand what I'm doing wrong this time around. Here is the part that reports the errors:

Code:
In file included from ../pango/pango.h:31,
                 from pango-impl-utils.h:27,
                 from fonts.c:30:
../pango/pango-enum-types.h:12:9: error: macro names must be identifiers
../pango/pango-enum-types.h:14:9: error: macro names must be identifiers
../pango/pango-enum-types.h:17:9: error: macro names must be identifiers
../pango/pango-enum-types.h:19:9: error: macro names must be identifiers
../pango/pango-enum-types.h:22:9: error: macro names must be identifiers
../pango/pango-enum-types.h:25:9: error: macro names must be identifiers
../pango/pango-enum-types.h:27:9: error: macro names must be identifiers
../pango/pango-enum-types.h:29:9: error: macro names must be identifiers
../pango/pango-enum-types.h:31:9: error: macro names must be identifiers
../pango/pango-enum-types.h:33:9: error: macro names must be identifiers
../pango/pango-enum-types.h:36:9: error: macro names must be identifiers
../pango/pango-enum-types.h:38:9: error: macro names must be identifiers
../pango/pango-enum-types.h:41:9: error: macro names must be identifiers
../pango/pango-enum-types.h:43:9: error: macro names must be identifiers
../pango/pango-enum-types.h:45:9: error: macro names must be identifiers
../pango/pango-enum-types.h:48:9: error: macro names must be identifiers
../pango/pango-enum-types.h:51:9: error: macro names must be identifiers
../pango/pango-enum-types.h:54:9: error: macro names must be identifiers
fonts.c: In function ‘find_field_any’:
fonts.c:952: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:953: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:954: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:955: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:956: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c: In function ‘pango_font_metrics_ref’:
fonts.c:1492: warning: pointer targets in passing argument 1 of ‘g_atomic_int_add’ differ in signedness
fonts.c: In function ‘pango_font_metrics_unref’:
fonts.c:1513: warning: pointer targets in passing argument 1 of ‘g_atomic_int_exchange_and_add’ differ in signedness
make[4]: *** [fonts.lo] Error 1
make[4]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/programs/pango-1.21.6'
make: *** [all] Error 2
 
Old 09-19-2008, 05:38 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
I guess you miss some headers. Could you post the lines just before the snippet you've posted to see what include directories are used by make?
To capture make output in a file, run:
Code:
make distclean
./configure --your-options
make > pango-make.log 2>&1
 
Old 09-19-2008, 08:29 AM   #3
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Just curious, what does the "2>&1" part do?

Code:
make  all-recursive
make[1]: Entering directory `/home/user/programs/pango-1.21.6'
Making all in pango
make[2]: Entering directory `/home/user/programs/pango-1.21.6/pango'
( cd . && glib-mkenums \
		--fhead "#ifndef __PANGO_ENUM_TYPES_H__\n#define __PANGO_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
		--fprod "/* enumerations from \"@filename@\" */\n" \
		--vhead "GType @enum_name@_get_type (void);\n#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" 	\
		--ftail "G_END_DECLS\n\n#endif /* __PANGO_ENUM_TYPES_H__ */" \
	pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.h \
&& (cmp -s tmp-pango-enum-types.h pango-enum-types.h || cp tmp-pango-enum-types.h pango-enum-types.h ) \
&& rm -f tmp-pango-enum-types.h	\
&& echo timestamp > s-enum-types-h
( cd . && glib-mkenums \
		--fhead "#include <pango.h>" \
		--fprod "\n/* enumerations from \"@filename@\" */" \
		--vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {" 	\
		--vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
		--vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (g_intern_static_string (\"@EnumName@\"), values);\n  }\n  return etype;\n}\n" \
	pango.h pango-attributes.h pango-bidi-type.h pango-break.h pango-context.h pango-coverage.h pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h pango-glyph-item.h pango-gravity.h pango-item.h pango-language.h pango-layout.h pango-matrix.h pango-modules.h pango-renderer.h pango-script.h pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.c \
&& (cmp -s tmp-pango-enum-types.c pango-enum-types.c || cp tmp-pango-enum-types.c pango-enum-types.c ) \
&& rm -f tmp-pango-enum-types.c \
&& echo timestamp > s-enum-types-c
make  all-recursive
make[3]: Entering directory `/home/user/programs/pango-1.21.6/pango'
Making all in opentype
make[4]: Entering directory `/home/user/programs/pango-1.21.6/pango/opentype'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I .    -g -O2 -Wall -MT harfbuzz.lo -MD -MP -MF .deps/harfbuzz.Tpo -c -o harfbuzz.lo harfbuzz.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I . -g -O2 -Wall -MT harfbuzz.lo -MD -MP -MF .deps/harfbuzz.Tpo -c harfbuzz.c  -fPIC -DPIC -o .libs/harfbuzz.o
In file included from harfbuzz.c:29:
harfbuzz-gpos.c: In function ‘HB_Load_GPOS_Table’:
harfbuzz-gpos.c:99: warning: assignment from incompatible pointer type
mv -f .deps/harfbuzz.Tpo .deps/harfbuzz.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o libharfbuzz-1.la  harfbuzz.lo   -L/programs/freetype-2.3.7/lib -lfreetype -lz   -L/programs/fontconfig-2.6.0/lib -L/programs/freetype-2.3.7/lib -lfontconfig -lexpat -lfreetype -lz   
ar cru .libs/libharfbuzz-1.a .libs/harfbuzz.o
ranlib .libs/libharfbuzz-1.a
creating libharfbuzz-1.la
(cd .libs && rm -f libharfbuzz-1.la && ln -s ../libharfbuzz-1.la libharfbuzz-1.la)
gcc -DHAVE_CONFIG_H -I. -I../.. -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I .    -g -O2 -Wall -MT harfbuzz-dump.o -MD -MP -MF .deps/harfbuzz-dump.Tpo -c -o harfbuzz-dump.o harfbuzz-dump.c
mv -f .deps/harfbuzz-dump.Tpo .deps/harfbuzz-dump.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I .    -g -O2 -Wall -MT harfbuzz-dump-main.o -MD -MP -MF .deps/harfbuzz-dump-main.Tpo -c -o harfbuzz-dump-main.o harfbuzz-dump-main.c
mv -f .deps/harfbuzz-dump-main.Tpo .deps/harfbuzz-dump-main.Po
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o -L/programs/freetype-2.3.7/lib -lfreetype -lz   -L/programs/fontconfig-2.6.0/lib -L/programs/freetype-2.3.7/lib -lfontconfig -lexpat -lfreetype -lz   libharfbuzz-1.la 
gcc -g -O2 -Wall -o harfbuzz-dump harfbuzz-dump.o harfbuzz-dump-main.o  -L/programs/freetype-2.3.7/lib -L/programs/fontconfig-2.6.0/lib ./.libs/libharfbuzz-1.a /programs/fontconfig-2.6.0/lib/libfontconfig.so /usr/lib/libexpat.so /programs/freetype-2.3.7/lib/libfreetype.so -lz   -Wl,--rpath -Wl,/programs/fontconfig-2.6.0/lib -Wl,--rpath -Wl,/programs/freetype-2.3.7/lib -Wl,--rpath -Wl,/programs/fontconfig-2.6.0/lib -Wl,--rpath -Wl,/programs/freetype-2.3.7/lib
make[4]: Leaving directory `/home/user/programs/pango-1.21.6/pango/opentype'
Making all in mini-fribidi
make[4]: Entering directory `/home/user/programs/pango-1.21.6/pango/mini-fribidi'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include      -g -O2 -Wall -MT fribidi.lo -MD -MP -MF .deps/fribidi.Tpo -c -o fribidi.lo fribidi.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -g -O2 -Wall -MT fribidi.lo -MD -MP -MF .deps/fribidi.Tpo -c fribidi.c  -fPIC -DPIC -o .libs/fribidi.o
mv -f .deps/fribidi.Tpo .deps/fribidi.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include      -g -O2 -Wall -MT fribidi_char_type.lo -MD -MP -MF .deps/fribidi_char_type.Tpo -c -o fribidi_char_type.lo fribidi_char_type.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -g -O2 -Wall -MT fribidi_char_type.lo -MD -MP -MF .deps/fribidi_char_type.Tpo -c fribidi_char_type.c  -fPIC -DPIC -o .libs/fribidi_char_type.o
mv -f .deps/fribidi_char_type.Tpo .deps/fribidi_char_type.Plo
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include      -g -O2 -Wall -MT fribidi_types.lo -MD -MP -MF .deps/fribidi_types.Tpo -c -o fribidi_types.lo fribidi_types.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -DPANGO_ENABLE_DEBUG -I../.. -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -g -O2 -Wall -MT fribidi_types.lo -MD -MP -MF .deps/fribidi_types.Tpo -c fribidi_types.c  -fPIC -DPIC -o .libs/fribidi_types.o
mv -f .deps/fribidi_types.Tpo .deps/fribidi_types.Plo
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o libmini-fribidi.la  fribidi.lo fribidi_char_type.lo fribidi_types.lo  
ar cru .libs/libmini-fribidi.a .libs/fribidi.o .libs/fribidi_char_type.o .libs/fribidi_types.o
ranlib .libs/libmini-fribidi.a
creating libmini-fribidi.la
(cd .libs && rm -f libmini-fribidi.la && ln -s ../libmini-fribidi.la libmini-fribidi.la)
make[4]: Leaving directory `/home/user/programs/pango-1.21.6/pango/mini-fribidi'
make[4]: Entering directory `/home/user/programs/pango-1.21.6/pango'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include     -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I/usr/X11R6/include    -g -O2 -Wall -MT break.lo -MD -MP -MF .deps/break.Tpo -c -o break.lo break.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I/usr/X11R6/include -g -O2 -Wall -MT break.lo -MD -MP -MF .deps/break.Tpo -c break.c  -fPIC -DPIC -o .libs/break.o
break.c: In function ‘pango_default_break’:
break.c:654: warning: enumeration value ‘G_UNICODE_UNASSIGNED’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_PRIVATE_USE’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_SURROGATE’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_LOWERCASE_LETTER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_TITLECASE_LETTER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_UPPERCASE_LETTER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_DECIMAL_NUMBER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_LETTER_NUMBER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_OTHER_NUMBER’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_CONNECT_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_DASH_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_CLOSE_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_FINAL_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_INITIAL_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_OTHER_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_OPEN_PUNCTUATION’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_CURRENCY_SYMBOL’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_MODIFIER_SYMBOL’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_MATH_SYMBOL’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_OTHER_SYMBOL’ not handled in switch
break.c:654: warning: enumeration value ‘G_UNICODE_SPACE_SEPARATOR’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_MANDATORY’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_CARRIAGE_RETURN’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_LINE_FEED’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_COMBINING_MARK’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_SURROGATE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_ZERO_WIDTH_SPACE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_INSEPARABLE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_NON_BREAKING_GLUE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_CONTINGENT’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_SPACE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_AFTER’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_BEFORE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_BEFORE_AND_AFTER’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HYPHEN’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_NON_STARTER’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_OPEN_PUNCTUATION’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_CLOSE_PUNCTUATION’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_QUOTATION’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_EXCLAMATION’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_IDEOGRAPHIC’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_SYMBOL’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_ALPHABETIC’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_PREFIX’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_POSTFIX’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_COMPLEX_CONTEXT’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_AMBIGUOUS’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_UNKNOWN’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_NEXT_LINE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_WORD_JOINER’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HANGUL_L_JAMO’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HANGUL_V_JAMO’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HANGUL_T_JAMO’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HANGUL_LV_SYLLABLE’ not handled in switch
break.c:772: warning: enumeration value ‘G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_UNASSIGNED’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_PRIVATE_USE’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_SURROGATE’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_DECIMAL_NUMBER’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_OTHER_NUMBER’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_DASH_PUNCTUATION’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_CLOSE_PUNCTUATION’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_OPEN_PUNCTUATION’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_CURRENCY_SYMBOL’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_MODIFIER_SYMBOL’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_MATH_SYMBOL’ not handled in switch
break.c:785: warning: enumeration value ‘G_UNICODE_SPACE_SEPARATOR’ not handled in switch
mv -f .deps/break.Tpo .deps/break.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include     -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I/usr/X11R6/include    -g -O2 -Wall -MT ellipsize.lo -MD -MP -MF .deps/ellipsize.Tpo -c -o ellipsize.lo ellipsize.c
 gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I/usr/X11R6/include -g -O2 -Wall -MT ellipsize.lo -MD -MP -MF .deps/ellipsize.Tpo -c ellipsize.c  -fPIC -DPIC -o .libs/ellipsize.o
mv -f .deps/ellipsize.Tpo .deps/ellipsize.Plo
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include     -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include   -I/programs/fontconfig-2.6.0/include   -I/usr/X11R6/include    -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c -o fonts.lo fonts.c
 gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I/usr/X11R6/include -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c fonts.c  -fPIC -DPIC -o .libs/fonts.o
In file included from ../pango/pango.h:31,
                 from pango-impl-utils.h:27,
                 from fonts.c:30:
../pango/pango-enum-types.h:12:9: error: macro names must be identifiers
../pango/pango-enum-types.h:14:9: error: macro names must be identifiers
../pango/pango-enum-types.h:17:9: error: macro names must be identifiers
../pango/pango-enum-types.h:19:9: error: macro names must be identifiers
../pango/pango-enum-types.h:22:9: error: macro names must be identifiers
../pango/pango-enum-types.h:25:9: error: macro names must be identifiers
../pango/pango-enum-types.h:27:9: error: macro names must be identifiers
../pango/pango-enum-types.h:29:9: error: macro names must be identifiers
../pango/pango-enum-types.h:31:9: error: macro names must be identifiers
../pango/pango-enum-types.h:33:9: error: macro names must be identifiers
../pango/pango-enum-types.h:36:9: error: macro names must be identifiers
../pango/pango-enum-types.h:38:9: error: macro names must be identifiers
../pango/pango-enum-types.h:41:9: error: macro names must be identifiers
../pango/pango-enum-types.h:43:9: error: macro names must be identifiers
../pango/pango-enum-types.h:45:9: error: macro names must be identifiers
../pango/pango-enum-types.h:48:9: error: macro names must be identifiers
../pango/pango-enum-types.h:51:9: error: macro names must be identifiers
../pango/pango-enum-types.h:54:9: error: macro names must be identifiers
fonts.c: In function ‘find_field_any’:
fonts.c:952: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:953: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:954: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:955: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c:956: warning: dereferencing type-punned pointer will break strict-aliasing rules
fonts.c: In function ‘pango_font_metrics_ref’:
fonts.c:1492: warning: pointer targets in passing argument 1 of ‘g_atomic_int_add’ differ in signedness
fonts.c: In function ‘pango_font_metrics_unref’:
fonts.c:1513: warning: pointer targets in passing argument 1 of ‘g_atomic_int_exchange_and_add’ differ in signedness
make[4]: *** [fonts.lo] Error 1
make[4]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/programs/pango-1.21.6/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/programs/pango-1.21.6'
make: *** [all] Error 2
 
Old 09-19-2008, 09:22 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Just curious, what does the "2>&1" part do?
It redirects both STDERR and STDOUT to a file
Quote:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I/usr/X11R6/include -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c -o fonts.lo fonts.c
gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/programs/pango-1.21.6/etc\" -DLIBDIR=\"/programs/pango-1.21.6/lib\" -I.. -DPANGO_ENABLE_DEBUG -pthread -I/programs/glib-2.18.1/include/glib-2.0 -I/programs/glib-2.18.1/lib/glib-2.0/include -I/programs/freetype-2.3.7/include/freetype2 -I/programs/freetype-2.3.7/include -I/programs/fontconfig-2.6.0/include -I/usr/X11R6/include -g -O2 -Wall -MT fonts.lo -MD -MP -MF .deps/fonts.Tpo -c fonts.c -fPIC -DPIC -o .libs/fonts.o
Just a guess because I'm not good on these things. I think that it does not find a header file where it's looking for. I guess this is due to the fact that you installed everything under its own directory (as John VV pointed out in your other post). IMHO it's better to install everything under e.g. /programs, so that the various libraries go to /programs/lib, header files in /programs/include and so on.
 
Old 09-19-2008, 09:52 AM   #5
versaulis
Member
 
Registered: Sep 2003
Posts: 139

Original Poster
Rep: Reputation: 15
Yup, looks like you guys were right about that. I tried it the right way and it worked. :P

Well, I guess I'm going to have duplicated files this way, but it works well and I've got a big enough hard drive.
 
Old 12-01-2008, 03:12 PM   #6
SkipHuffman
Member
 
Registered: Mar 2005
Posts: 81

Rep: Reputation: 15
Quote:
Originally Posted by versaulis View Post
Yup, looks like you guys were right about that. I tried it the right way and it worked. :P

Well, I guess I'm going to have duplicated files this way, but it works well and I've got a big enough hard drive.


What did you do back in September to get Pango to compile?

Thanks. I would love to give the latest firefox a try, but pango is preventing me.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pango-1.16.4 compile error (pango-querymodules) nigel_1820 Linux - Software 1 07-23-2007 01:10 AM
compile firefox pango enabled shaji00 Linux - Software 1 07-09-2007 05:38 AM
cannot compile Pango paulr1984 Linux - Software 0 08-25-2004 02:16 AM
slackware10+gaim compile font and pango errors exodist Linux - Software 1 07-04-2004 10:11 AM
How doI compile pango-1.2.5?(Mandrake9.2). akihandyman Linux - Software 1 02-23-2004 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration