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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-18-2008, 12:09 PM
#1
Member
Registered: Sep 2003
Posts: 139
Rep:
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
09-19-2008, 05:38 AM
#2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
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
09-19-2008, 08:29 AM
#3
Member
Registered: Sep 2003
Posts: 139
Original Poster
Rep:
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
09-19-2008, 09:22 AM
#4
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
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.
09-19-2008, 09:52 AM
#5
Member
Registered: Sep 2003
Posts: 139
Original Poster
Rep:
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.
12-01-2008, 03:12 PM
#6
Member
Registered: Mar 2005
Posts: 81
Rep:
Quote:
Originally Posted by
versaulis
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.
All times are GMT -5. The time now is 05:40 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News