Re: Trouble Compiling pango on Solaris 10




Please ignore my previous message.  I really have no idea what's
going on no your build.  Let me know if that patch do work for
you.  In that case there should be something wrong with your
autoconf.

behdad


On Thu, 9 Jun 2005, Behdad Esfahbod wrote:

>
> Ok, can you try the attached patch please?
>
> Apparently configure.in is not substituting X_LIBS.  Owen, should
> I apply?
>
> behdad
>
>
> On Thu, 9 Jun 2005, Bernard Lineham wrote:
>
> > The output from configure is below.  I don't know if it matters but I am
> > using X.Org (as supplied by Solaris 10 x86) and not Xsun (as also
> > supplied by Solaris 10) as my Xserver so that I can use the NVIDIA
> > graphics drivers for Solaris.
> >
> > ---Configure Output---
> > [18]$ ./configure
> > checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
> > checking whether build environment is sane... yes
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking for native Win32... no
> > checking for gcc... gcc
> > checking for C compiler default output file name... a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ANSI C... none needed
> > checking for style of include used by make... GNU
> > checking dependency style of gcc... gcc3
> > checking for c++... c++
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether c++ accepts -g... yes
> > checking dependency style of c++... gcc3
> > checking build system type... i386-pc-solaris2.10
> > checking host system type... i386-pc-solaris2.10
> > checking for a sed that does not truncate output... /opt/sfw/bin/gsed
> > checking for egrep... egrep
> > checking for ld used by gcc... /usr/ccs/bin/ld
> > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> > checking for /usr/ccs/bin/ld option to reload object files... -r
> > checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> > checking whether ln -s works... yes
> > checking how to recognise dependent libraries... pass_all
> > checking how to run the C preprocessor... gcc -E
> > checking for ANSI C header files... yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking dlfcn.h usability... yes
> > checking dlfcn.h presence... yes
> > checking for dlfcn.h... yes
> > checking how to run the C++ preprocessor... c++ -E
> > checking for g77... g77
> > checking whether we are using the GNU Fortran 77 compiler... yes
> > checking whether g77 accepts -g... yes
> > checking the maximum length of command line arguments... 262144
> > checking command to parse /usr/ccs/bin/nm -p output from gcc object...
> > ok
> > checking for objdir... .libs
> > checking for ar... ar
> > checking for ranlib... ranlib
> > checking for strip... strip
> > checking if gcc static flag  works... yes
> > checking if gcc supports -fno-rtti -fno-exceptions... no
> > checking for gcc option to produce PIC... -fPIC
> > checking if gcc PIC flag -fPIC works... yes
> > checking if gcc supports -c -o file.o... yes
> > checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
> > libraries... yes
> > checking whether -lc should be explicitly linked in... yes
> > checking dynamic linker characteristics... solaris2.10 ld.so
> > checking how to hardcode library paths into programs... immediate
> > checking whether stripping libraries is possible... no
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... no
> > configure: creating libtool
> > appending configuration tag "CXX" to libtool
> > checking for ld used by c++... /usr/ccs/bin/ld
> > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> > checking whether the c++ linker (/usr/ccs/bin/ld) supports shared
> > libraries... yes
> > checking for c++ option to produce PIC... -fPIC
> > checking if c++ PIC flag -fPIC works... yes
> > checking if c++ supports -c -o file.o... yes
> > checking whether the c++ linker (/usr/ccs/bin/ld) supports shared
> > libraries... yes
> > checking dynamic linker characteristics... solaris2.10 ld.so
> > checking how to hardcode library paths into programs... immediate
> > checking whether stripping libraries is possible... no
> > appending configuration tag "F77" to libtool
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... no
> > checking for g77 option to produce PIC... -fPIC
> > checking if g77 PIC flag -fPIC works... yes
> > checking if g77 supports -c -o file.o... yes
> > checking whether the g77 linker (/usr/ccs/bin/ld) supports shared
> > libraries... yes
> > checking dynamic linker characteristics... solaris2.10 ld.so
> > checking how to hardcode library paths into programs... immediate
> > checking whether stripping libraries is possible... no
> > checking for some Win32 platform... no
> > checking for perl5... no
> > checking for perl... perl
> > checking for X... libraries /usr/openwin/lib, headers
> > /usr/openwin/include
> > checking whether -R must be followed by a space... no
> > checking for gethostbyname... no
> > checking for gethostbyname in -lnsl... yes
> > checking for connect... no
> > checking for connect in -lsocket... yes
> > checking for remove... yes
> > checking for shmat... yes
> > checking for IceConnectionNumber in -lICE... yes
> > checking for pkg-config... /usr/bin/pkg-config
> > checking for fontconfig >= 1.0.1... yes
> > checking FONTCONFIG_CFLAGS...
> > checking FONTCONFIG_LIBS... -lfontconfig
> > checking for freetype-config... /usr/sfw/bin/freetype-config
> > checking for FT_Get_Next_Char in -lfreetype... yes
> > checking for xft >= 2.0.0... yes
> > checking XFT_CFLAGS... -I/usr/openwin/include -I/usr/sfw/include
> > -I/usr/sfw/include/freetype2
> > checking XFT_LIBS... -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
> > checking for pkg-config... (cached) /usr/bin/pkg-config
> > checking for GLIB - version >= 2.5.7... yes (version 2.6.4)
> > checking Whether to build OpenType test programs... yes
> > checking modules to link statically...
> > checking for flockfile... yes
> > checking for strtok_r... yes
> > checking Whether to write dependencies into .pc files... no
> > checking for dirent.h that defines DIR... yes
> > checking for library containing opendir... none required
> > checking for unistd.h... (cached) yes
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating pango/Makefile
> > config.status: creating pango/mini-fribidi/Makefile
> > config.status: creating pango/opentype/Makefile
> > config.status: creating pango/pango.rc
> > config.status: creating pango/pangoft2.rc
> > config.status: creating pango/pangowin32.rc
> > config.status: creating modules/Makefile
> > config.status: creating modules/arabic/Makefile
> > config.status: creating modules/basic/Makefile
> > config.status: creating modules/hangul/Makefile
> > config.status: creating modules/hebrew/Makefile
> > config.status: creating modules/indic/Makefile
> > config.status: creating modules/syriac/Makefile
> > config.status: creating modules/thai/Makefile
> > config.status: creating modules/tibetan/Makefile
> > config.status: creating examples/Makefile
> > config.status: creating docs/Makefile
> > config.status: creating docs/version.xml
> > config.status: creating tools/Makefile
> > config.status: creating tests/Makefile
> > config.status: creating pango.pc
> > config.status: creating pangox.pc
> > config.status: creating pangowin32.pc
> > config.status: creating pangoft2.pc
> > config.status: creating pangoxft.pc
> > config.status: creating pango-uninstalled.pc
> > config.status: creating pangox-uninstalled.pc
> > config.status: creating pangowin32-uninstalled.pc
> > config.status: creating pangoft2-uninstalled.pc
> > config.status: creating pangoxft-uninstalled.pc
> > config.status: creating pango-zip.sh
> > config.status: creating tests/runtests.sh
> > config.status: creating config.h
> > config.status: config.h is unchanged
> > config.status: executing depfiles commands
> > config.status: executing pango/module-defs.h commands
> > config.status: executing pango/module-defs-x.c commands
> > config.status: executing pango/module-defs-fc.c commands
> > config.status: executing pango/module-defs-win32.c commands
> > configuration:
> >         backends: FreeType X Xft
> >
> >
> > On Thu, 2005-06-09 at 06:17, Behdad Esfahbod wrote:
> > > 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/
> >
>
> --behdad
> http://behdad.org/

--behdad
http://behdad.org/



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