Re: GTK+2.6.7 compilation problem on Solaris 10
- From: Scott Davenport <sdaven gmail com>
- To: gtk-list gnome org
- Subject: Re: GTK+2.6.7 compilation problem on Solaris 10
- Date: Mon, 25 Apr 2005 21:41:50 -0700
David,
Thanks...that helped greatly. For my config, it was LDFLAGS="-lpango-1.0".
-scott
On 4/23/05, Scott Davenport <sdaven gmail com> wrote:
> I've been wresting with getting GTK+2.6.7 compiled on Solaris 10, and
> haven't been able
> get past ./configure. It fails with "Can't link to Pango", although
> Pango 1.8.0 is installed
> in /usr/local/lib. I've tried making sure that no prior version of
> pango are in the library search
> path, as well as recompiling pango with --enable-explicit-deps=yes. No luck.
>
> What I believe is the relevant ./configure and config.log output is
> below. Any help
> is greatly appreciated.
>
> -scott
>
> ./configure
> ...
> checking for glib-2.0 >= 2.6.0 atk >= 1.0.1 pango >= 1.8.0... yes
> ...
> checking Pango flags... -I/usr/local/include/pango-1.0
> -I/usr/local/include -I/usr/local/include/freetype2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0
> configure: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
>
> config.log
> -------------
> configure:30739: gcc -c -O3 -mcpu=ultrasparc -mtune=ultrasparc -Wall
> conftest.c >&5
> conftest.c: In function `main':
> conftest.c:79: warning: unused variable `x_shm_info'
> configure:30745: $? = 0
> configure:30749: test -z
> || test ! -s conftest.err
> configure:30752: $? = 0
> configure:30755: test -s conftest.o
> configure:30758: $? = 0
> configure:30769: result: yes
> configure:30981: checking Pango flags
> configure:30987: result: -I/usr/local/include/pango-1.0
> -I/usr/local/include -I/usr/local/include/freetype2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0
> configure:31035: gcc -o conftest -O3 -mcpu=ultrasparc
> -mtune=ultrasparc -Wall -I/usr/local/include/pango-1.0
> -I/usr/local/include -I/usr/local/include/freetype2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> conftest.c
> -L/usr/local/lib -lpangoxft-1.0 -lpangox-1.0 >&5
> Undefined first referenced
> symbol in file
> pango_context_new /var/tmp//ccsiviu5.o (symbol
> belongs to implicit dependency /usr/local/lib/libpango-1.0.so.0)
> ld: fatal: Symbol referencing errors. No output written to conftest
> collect2: ld returned 1 exit status
> configure:31041: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME "gtk+"
> | #define PACKAGE_TARNAME "gtk+"
> | #define PACKAGE_VERSION "2.6.7"
> | #define PACKAGE_STRING "gtk+ 2.6.7"
> | #define PACKAGE_BUGREPORT
> "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
> | #define GETTEXT_PACKAGE "gtk20"
> | #define STDC_HEADERS 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_MEMORY_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_DLFCN_H 1
> | #ifdef __cplusplus
> | extern "C" void std::exit (int) throw (); using std::exit;
> | #endif
> | #define _FILE_OFFSET_BITS 64
> | #define GTK_COMPILED_WITH_DEBUGGING "minimum"
> | #define HAVE_LSTAT 1
> | #define HAVE_MKSTEMP 1
> | #define HAVE_FLOCKFILE 1
> | #define HAVE_SIGSETJMP 1
> | #define HAVE_LOCALE_H 1
> | #define HAVE_LC_MESSAGES 1
> | #define HAVE_BIND_TEXTDOMAIN_CODESET 1
> | #define HAVE_GETTEXT 1
> | #define HAVE_DCGETTEXT 1
> | #define ENABLE_NLS 1
> | #define GTK_LOCALEDIR "/usr/local/share/locale"
> | #define HAVE_BIND_TEXTDOMAIN_CODESET 1
> | #define HAVE_PWD_H 1
> | #define HAVE_PWD_H 1
> | #define HAVE_SYS_TIME_H 1
> | #define HAVE_SYS_TIME_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_UNISTD_H 1
> | #define STDC_HEADERS 1
> | #define RETSIGTYPE void
> | #define HAVE_STDLIB_H 1
> | #define HAVE_UNISTD_H 1
> | #define HAVE_GETPAGESIZE 1
> | #define HAVE_MMAP 1
> | #define HAVE_WCHAR_H 1
> | #define HAVE_WCTYPE_H 1
> | #define USE_GMODULE 1
> | #define HAVE_PROGRESSIVE_JPEG 1
> | #define HAVE_SYS_WAIT_H 1
> | #define RETSIGTYPE void
> | #define HAVE_SOLARIS_XINERAMA 1
> | #define HAVE_XINERAMA 1
> | #define HAVE_SHAPE_EXT 1
> | #define HAVE_XCONVERTCASE 1
> | #define HAVE_XINTERNATOMS 1
> | #define HAVE_X11R6 1
> | #define HAVE_XKB 1
> | #define XINPUT_NONE 1
> | #define HAVE_XSYNC 1
> | #define HAVE_IPC_H 1
> | #define HAVE_SHM_H 1
> | #define HAVE_XSHM_H 1
> | /* end confdefs.h. */
> |
> | /* Override any gcc2 internal prototype to avoid an error. */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | /* We use char because int might match the return type of a gcc2
> | builtin and then its argument prototype would still apply. */
> | char pango_context_new ();
> | int
> | main ()
> | {
> | pango_context_new ();
> | ;
> | return 0;
> | }
> configure:31063: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]