Re: Trouble Compiling pango on Solaris 10



On Tue, 7 Jun 2005, Bernard Lineham wrote:

> Hello
>
> I'm trying to compile pango 1.8.0 on a Solaris 10 (x86) workstation. The
> default configure runs okay but when I try to run make it fails with the
> errors shown below. Any advice on how I can get pango to compile would
> be greatly appreciated.

Seems like for some reason the linker is not getting -lX11.
Would you mind sending the output of configure?

behdad


> Cheers,
>
> Bernard
>
> ---make output---
>
> make all-recursive
> make[1]: Entering directory `/home/bjl/Temp/pango-1.8.0'
> Making all in pango
> make[2]: Entering directory `/home/bjl/Temp/pango-1.8.0/pango'
> make all-recursive
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/pango'
> Making all in opentype
> make[4]: Entering directory `/home/bjl/Temp/pango-1.8.0/pango/opentype'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/home/bjl/Temp/pango-1.8.0/pango/opentype'
> Making all in mini-fribidi
> make[4]: Entering directory
> `/home/bjl/Temp/pango-1.8.0/pango/mini-fribidi'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/home/bjl/Temp/pango-1.8.0/pango/mini-fribidi'
> make[4]: Entering directory `/home/bjl/Temp/pango-1.8.0/pango'
> make[4]: Leaving directory `/home/bjl/Temp/pango-1.8.0/pango'
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/pango'
> make[2]: Leaving directory `/home/bjl/Temp/pango-1.8.0/pango'
> Making all in modules
> make[2]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules'
> Making all in arabic
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/arabic'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/arabic'
> Making all in basic
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/basic'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/basic'
> Making all in hangul
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/hangul'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/hangul'
> Making all in hebrew
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/hebrew'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/hebrew'
> Making all in indic
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/indic'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/indic'
> Making all in syriac
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/syriac'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/syriac'
> Making all in thai
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/thai'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/thai'
> Making all in tibetan
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules/tibetan'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules/tibetan'
> make[3]: Entering directory `/home/bjl/Temp/pango-1.8.0/modules'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules'
> make[2]: Leaving directory `/home/bjl/Temp/pango-1.8.0/modules'
> Making all in examples
> make[2]: Entering directory `/home/bjl/Temp/pango-1.8.0/examples'
> /bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o pango-xftview
> xftview.o renderdemo.o argcontext.o ../pango/libpango-1.0.la
> ../pango/libpangoft2-1.0.la ../pango/libpangoxft-1.0.la
> -R/usr/openwin/lib -R/usr/sfw/lib
> -R/usr/openwin/lib:/usr/openwin/sfw/lib -L/usr/openwin/lib
> -L/usr/sfw/lib -L/usr/openwin/sfw/lib -lXft -lfreetype -lXrender
> -lfontconfig
> gcc -g -O2 -Wall -o .libs/pango-xftview xftview.o renderdemo.o
> argcontext.o ../pango/.libs/libpango-1.0.so -L/usr/local/lib
> ../pango/.libs/libpangoft2-1.0.so -L/usr/sfw/lib
> ../pango/.libs/libpangoxft-1.0.so
> /home/bjl/Temp/pango-1.8.0/pango/.libs/libpangoft2-1.0.so
> /home/bjl/Temp/pango-1.8.0/pango/.libs/libpango-1.0.so -lm
> -L/usr/openwin/lib -L/usr/openwin/sfw/lib
> /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so
> /usr/local/lib/libglib-2.0.so -lXft -lfreetype -lXrender -lfontconfig
> -R/usr/local/lib -R/usr/openwin/lib -R/usr/sfw/lib
> -R/usr/openwin/lib:/usr/openwin/sfw/lib
> ld: warning: file
> /home/bjl/Temp/pango-1.8.0/pango/.libs/libpangoft2-1.0.so: linked to
> ../pango/.libs/libpangoft2-1.0.so: attempted multiple inclusion of file
> ld: warning: file
> /home/bjl/Temp/pango-1.8.0/pango/.libs/libpango-1.0.so: linked to
> ../pango/.libs/libpango-1.0.so: attempted multiple inclusion of file
> Undefined first referenced
> symbol in file
> XOpenDisplay xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XDestroyRegion xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XMapWindow xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XCreateRegion xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XPending xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XDisplayName xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XClipBox xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XUnionRectWithRegion xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XmbSetWMProperties xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XCreateSimpleWindow xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XSelectInput xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> XNextEvent xftview.o (symbol belongs to implicit dependency
> /usr/openwin/lib/libX11.so.4)
> ld: fatal: Symbol referencing errors. No output written to
> .libs/pango-xftview
> collect2: ld returned 1 exit status
> make[2]: *** [pango-xftview] Error 1
> make[2]: Leaving directory `/home/bjl/Temp/pango-1.8.0/examples'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/bjl/Temp/pango-1.8.0'
> make: *** [all] Error 2
>
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
>

--behdad
http://behdad.org/



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