pango 1.8.0 compile problem



setenv CPPFLAGS "-I$HOME/include"

setenv LDFLAGS "-L$HOME/lib -R$HOME/lib"

setenv PKG_CONFIG_PATH "$HOME/lib/pkgconfig"

 

because I install glib 2.6.4 in $HOME. I use solaris 9 on a SUN blade.

After I use this command:

./configure –prefix=$HOME

And make command ....

 

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/home/cuong/etc\" -DLIBDIR=\"/home/cuong/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads -I/home/cuong/include/glib-2.0 -I/home/cuong/lib/glib-2.0/include -I/usr/openwin/include -I/app/freetype-2.1.9/include/freetype2 -I/app/freetype-2.1.9/include -I/usr/openwin/include -I.. -I/home/cuong/include -g -O2 -Wall -c pangoxft-font.c -Wp,-MD,.deps/pangoxft-font.TPlo  -fPIC -DPIC -o .libs/pangoxft-font.o

gcc: unrecognized option `-threads'

In file included from pangoxft.h:30,

                 from pangoxft-private.h:25,

                 from pangoxft-font.c:27:

../pango/pangoxft-render.h:91: parse error before `XTrapezoid'

*** Error code 1

make: Fatal error: Command failed for target `pangoxft-font.lo'

Current working directory /home/cuong/pango-1.8.0/pango

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /home/cuong/pango-1.8.0/pango

*** Error code 1

make: Fatal error: Command failed for target `all'

Current working directory /home/cuong/pango-1.8.0/pango

*** Error code 1

make: Fatal error: Command failed for target `all-recursive'

Current working directory /home/cuong/pango-1.8.0

*** Error code 1

make: Fatal error: Command failed for target `all'



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