Unable to compile pango-1.8.0 on FC3



Hi,

I get the following compilation error when I try to
compile pango-1.8.0 on FC3.

--------------------------------------------------------
 gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\"
-DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.4.0\"
-DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS
-pthread -I../../glib-2.6.1 -I../../glib-2.6.1/.
-I../../glib-2.6.1/./glib -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I.. -g -O2 -Wall -MT modules.lo -MD -MP -MF
.deps/modules.Tpo -c modules.c  -fPIC -DPIC -o
.libs/modules.o
modules.c:28:21: gmodule.h: No such file or directory
modules.c:78: error: syntax error before "GModule"
modules.c:78: warning: no semicolon at end of struct
or union
modules.c:82: warning: built-in function 'exit'
declared as non-function
<<<rest of the error message removed>>>
-------------------------------------------------------

I have the glib-2.6.1 compiled in the ../glib-2.6.1
directory. The gmodule.h is found in
../glib-2.6.1/gmodule directory and also in
/usr/local/include/glib-2.0

If I edit the pango-1.8.0/pango/Makefile to include
the directory /usr/local/include/glib-2.0, then the
compilation
proceeds further until this error appears.

-------------------------------------------------------
 gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/usr/local/etc\"
-DLIBDIR=\"/usr/local/lib\" -DMODULE_VERSION=\"1.4.0\"
-DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS
-pthread -I../../glib-2.6.1 -I../../glib-2.6.1/.
-I../../glib-2.6.1/./glib -I
/usr/local/include/glib-2.0 -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include
-I.. -g -O2 -Wall -MT module-defs-fc.lo -MD -MP -MF
.deps/module-defs-fc.Tpo -c module-defs-fc.c  -fPIC
-DPIC -o .libs/module-defs-fc.o
module-defs-fc.c:3:25: module-defs.h: No such file or
directory
module-defs-fc.c:5: error: syntax error before
"_pango_included_fc_modules"
module-defs-fc.c:5: warning: type defaults to `int' in
declaration of `_pango_included_fc_modules'
module-defs-fc.c:6: warning: braces around scalar
initializer
module-defs-fc.c:6: warning: (near initialization for
`_pango_included_fc_modules[0]'

<<<rest of the error message removed>>>

-------------------------------------------------------

Why am I getting this error? I have the freetype2,
fontconfig path set in the PKG_CONFIG_PATH before I
ran the configure. Am I missing any other packages?

thanks and regards,
Vijay


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250



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