bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] configure error related to glib2


From: Louis Zulli
Subject: Re: [Bug-gnubg] configure error related to glib2
Date: Sun, 2 Nov 2008 16:55:53 -0500


On Nov 2, 2008, at 4:40 PM, Christian Anthon wrote:

As Michael suggests, the most probable cause is duplicate pkg-config
installations. What does

which pkg-config

~/Desktop/gnubg] which pkg-config
/usr/local/bin/pkg-config



tell you. Does it match the location found in your config.log.

configure:12763: checking for pkg-config
configure:12781: found /usr/local/bin/pkg-config
configure:12793: result: /usr/local/bin/pkg-config
configure:12818: checking pkg-config is at least version 0.9.0
configure:12821: result: yes



Another suggestion: Try to run configure as

PKG_CONFIG_DEBUG_SPEW=1 ./configure

~/Desktop/gnubg] setenv PKG_CONFIG_DEBUG_SPEW 1
~/Desktop/gnubg] ./configure
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for host... PKG_CONFIG_DEBUG_SPEW variable enabling debug spew
Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/X11R6/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/local/share/pkgconfig' from PKG_CONFIG_PATH
Global variable definition 'pc_top_builddir' = '$(top_builddir)'
Option --libs seen
Error printing enabled by default due to use of --version, --libs, -- cflags, --l ibs-only-l, --libs-only-L, --libs-only-other, --cflags-only-I, -- cflags-only-oth
er or --list. Value of --silence-errors: 0
Error printing enabled
Adding virtual 'pkg-config' package to list of known packages
Scanning directory '/usr/local/lib/pkgconfig'
Ignoring file '.' in search directory; not a .pc file
Ignoring file '..' in search directory; not a .pc file
File 'atk.pc' appears to be a .pc file
Will find package 'atk' in file '/usr/local/lib/pkgconfig/atk.pc'
File 'cairo-ft.pc' appears to be a .pc file
Will find package 'cairo-ft' in file '/usr/local/lib/pkgconfig/cairo- ft.pc'
File 'cairo-pdf.pc' appears to be a .pc file
Will find package 'cairo-pdf' in file '/usr/local/lib/pkgconfig/cairo- pdf.pc'
File 'cairo-png.pc' appears to be a .pc file
Will find package 'cairo-png' in file '/usr/local/lib/pkgconfig/cairo- png.pc'
File 'cairo-ps.pc' appears to be a .pc file
Will find package 'cairo-ps' in file '/usr/local/lib/pkgconfig/cairo- ps.pc'
File 'cairo-quartz-font.pc' appears to be a .pc file
Will find package 'cairo-quartz-font' in file '/usr/local/lib/ pkgconfig/cairo-qu
artz-font.pc'
File 'cairo-quartz.pc' appears to be a .pc file
Will find package 'cairo-quartz' in file '/usr/local/lib/pkgconfig/ cairo-quartz.
pc'
File 'cairo-svg.pc' appears to be a .pc file
Will find package 'cairo-svg' in file '/usr/local/lib/pkgconfig/cairo- svg.pc'
File 'cairo-xlib-xrender.pc' appears to be a .pc file
Will find package 'cairo-xlib-xrender' in file '/usr/local/lib/ pkgconfig/cairo-x
lib-xrender.pc'
File 'cairo-xlib.pc' appears to be a .pc file
Will find package 'cairo-xlib' in file '/usr/local/lib/pkgconfig/ cairo-xlib.pc'
File 'cairo.pc' appears to be a .pc file
Will find package 'cairo' in file '/usr/local/lib/pkgconfig/cairo.pc'
File 'fontforge.pc' appears to be a .pc file
Will find package 'fontforge' in file '/usr/local/lib/pkgconfig/ fontforge.pc'
File 'gail.pc' appears to be a .pc file
Will find package 'gail' in file '/usr/local/lib/pkgconfig/gail.pc'
File 'gdk-2.0.pc' appears to be a .pc file
Will find package 'gdk-2.0' in file '/usr/local/lib/pkgconfig/ gdk-2.0.pc'
File 'gdk-pixbuf-2.0.pc' appears to be a .pc file
Will find package 'gdk-pixbuf-2.0' in file '/usr/local/lib/pkgconfig/ gdk-pixbuf-
2.0.pc'
File 'gdk-pixbuf-xlib-2.0.pc' appears to be a .pc file
Will find package 'gdk-pixbuf-xlib-2.0' in file '/usr/local/lib/ pkgconfig/gdk-pi
xbuf-xlib-2.0.pc'
File 'gdk-x11-2.0.pc' appears to be a .pc file
Will find package 'gdk-x11-2.0' in file '/usr/local/lib/pkgconfig/gdk- x11-2.0.pc
'
File 'gdkglext-1.0.pc' appears to be a .pc file
Will find package 'gdkglext-1.0' in file '/usr/local/lib/pkgconfig/ gdkglext-1.0.
pc'
File 'gdkglext-x11-1.0.pc' appears to be a .pc file
Will find package 'gdkglext-x11-1.0' in file '/usr/local/lib/ pkgconfig/gdkglext-
x11-1.0.pc'
File 'gio-2.0.pc' appears to be a .pc file
Will find package 'gio-2.0' in file '/usr/local/lib/pkgconfig/ gio-2.0.pc'
File 'gio-unix-2.0.pc' appears to be a .pc file
Will find package 'gio-unix-2.0' in file '/usr/local/lib/pkgconfig/ gio-unix-2.0.
pc'
File 'glib-2.0.pc' appears to be a .pc file
Will find package 'glib-2.0' in file '/usr/local/lib/pkgconfig/ glib-2.0.pc'
File 'gmodule-2.0.pc' appears to be a .pc file
Will find package 'gmodule-2.0' in file '/usr/local/lib/pkgconfig/ gmodule-2.0.pc
'
File 'gmodule-export-2.0.pc' appears to be a .pc file
Will find package 'gmodule-export-2.0' in file '/usr/local/lib/ pkgconfig/gmodule
-export-2.0.pc'
File 'gmodule-no-export-2.0.pc' appears to be a .pc file
Will find package 'gmodule-no-export-2.0' in file '/usr/local/lib/ pkgconfig/gmod
ule-no-export-2.0.pc'
File 'gobject-2.0.pc' appears to be a .pc file
Will find package 'gobject-2.0' in file '/usr/local/lib/pkgconfig/ gobject-2.0.pc
'
File 'gthread-2.0.pc' appears to be a .pc file
Will find package 'gthread-2.0' in file '/usr/local/lib/pkgconfig/ gthread-2.0.pc
'
File 'gtk+-2.0.pc' appears to be a .pc file
Will find package 'gtk+-2.0' in file '/usr/local/lib/pkgconfig/gtk +-2.0.pc'
File 'gtk+-unix-print-2.0.pc' appears to be a .pc file
Will find package 'gtk+-unix-print-2.0' in file '/usr/local/lib/ pkgconfig/gtk+-u
nix-print-2.0.pc'
File 'gtk+-x11-2.0.pc' appears to be a .pc file
Will find package 'gtk+-x11-2.0' in file '/usr/local/lib/pkgconfig/gtk +-x11-2.0.
pc'
File 'gtkglext-1.0.pc' appears to be a .pc file
Will find package 'gtkglext-1.0' in file '/usr/local/lib/pkgconfig/ gtkglext-1.0.
pc'
File 'gtkglext-x11-1.0.pc' appears to be a .pc file
Will find package 'gtkglext-x11-1.0' in file '/usr/local/lib/ pkgconfig/gtkglext-
x11-1.0.pc'
File 'gutenprint.pc' appears to be a .pc file
Will find package 'gutenprint' in file '/usr/local/lib/pkgconfig/ gutenprint.pc'
File 'ImageMagick++.pc' appears to be a .pc file
Will find package 'ImageMagick++' in file '/usr/local/lib/pkgconfig/ ImageMagick+
+.pc'
File 'ImageMagick.pc' appears to be a .pc file
Will find package 'ImageMagick' in file '/usr/local/lib/pkgconfig/ ImageMagick.pc
'
File 'libpng.pc' appears to be a .pc file
Will find package 'libpng' in file '/usr/local/lib/pkgconfig/libpng.pc'
File 'libpng12.pc' appears to be a .pc file
Will find package 'libpng12' in file '/usr/local/lib/pkgconfig/ libpng12.pc'
File 'libxml-2.0.pc' appears to be a .pc file
Will find package 'libxml-2.0' in file '/usr/local/lib/pkgconfig/ libxml-2.0.pc'
File 'pango.pc' appears to be a .pc file
Will find package 'pango' in file '/usr/local/lib/pkgconfig/pango.pc'
File 'pangocairo.pc' appears to be a .pc file
Will find package 'pangocairo' in file '/usr/local/lib/pkgconfig/ pangocairo.pc'
File 'pangoft2.pc' appears to be a .pc file
Will find package 'pangoft2' in file '/usr/local/lib/pkgconfig/ pangoft2.pc'
File 'pangox.pc' appears to be a .pc file
Will find package 'pangox' in file '/usr/local/lib/pkgconfig/pangox.pc'
File 'pixman-1.pc' appears to be a .pc file
Will find package 'pixman-1' in file '/usr/local/lib/pkgconfig/ pixman-1.pc'
File 'Wand.pc' appears to be a .pc file
Will find package 'Wand' in file '/usr/local/lib/pkgconfig/Wand.pc'
Scanning directory '/usr/X11R6/lib/pkgconfig'
Ignoring file '.' in search directory; not a .pc file
Ignoring file '..' in search directory; not a .pc file
File 'fontconfig.pc' appears to be a .pc file
Will find package 'fontconfig' in file '/usr/X11R6/lib/pkgconfig/ fontconfig.pc'
File 'freetype2.pc' appears to be a .pc file
Will find package 'freetype2' in file '/usr/X11R6/lib/pkgconfig/ freetype2.pc'
File 'xcursor.pc' appears to be a .pc file
Will find package 'xcursor' in file '/usr/X11R6/lib/pkgconfig/ xcursor.pc'
File 'xft.pc' appears to be a .pc file
Will find package 'xft' in file '/usr/X11R6/lib/pkgconfig/xft.pc'
Scanning directory '/usr/local/lib/pkgconfig'
Ignoring file '.' in search directory; not a .pc file
Ignoring file '..' in search directory; not a .pc file
File 'atk.pc' appears to be a .pc file
File 'atk.pc' ignored, we already know about package 'atk'
File 'cairo-ft.pc' appears to be a .pc file
File 'cairo-ft.pc' ignored, we already know about package 'cairo-ft'
File 'cairo-pdf.pc' appears to be a .pc file
File 'cairo-pdf.pc' ignored, we already know about package 'cairo-pdf'
File 'cairo-png.pc' appears to be a .pc file
File 'cairo-png.pc' ignored, we already know about package 'cairo-png'
File 'cairo-ps.pc' appears to be a .pc file
File 'cairo-ps.pc' ignored, we already know about package 'cairo-ps'
File 'cairo-quartz-font.pc' appears to be a .pc file
File 'cairo-quartz-font.pc' ignored, we already know about package 'cairo-quartz
-font'
File 'cairo-quartz.pc' appears to be a .pc file
File 'cairo-quartz.pc' ignored, we already know about package 'cairo- quartz'
File 'cairo-svg.pc' appears to be a .pc file
File 'cairo-svg.pc' ignored, we already know about package 'cairo-svg'
File 'cairo-xlib-xrender.pc' appears to be a .pc file
File 'cairo-xlib-xrender.pc' ignored, we already know about package 'cairo-xlib-
xrender'
File 'cairo-xlib.pc' appears to be a .pc file
File 'cairo-xlib.pc' ignored, we already know about package 'cairo-xlib'
File 'cairo.pc' appears to be a .pc file
File 'cairo.pc' ignored, we already know about package 'cairo'
File 'fontforge.pc' appears to be a .pc file
File 'fontforge.pc' ignored, we already know about package 'fontforge'
File 'gail.pc' appears to be a .pc file
File 'gail.pc' ignored, we already know about package 'gail'
File 'gdk-2.0.pc' appears to be a .pc file
File 'gdk-2.0.pc' ignored, we already know about package 'gdk-2.0'
File 'gdk-pixbuf-2.0.pc' appears to be a .pc file
File 'gdk-pixbuf-2.0.pc' ignored, we already know about package 'gdk- pixbuf-2.0'
File 'gdk-pixbuf-xlib-2.0.pc' appears to be a .pc file
File 'gdk-pixbuf-xlib-2.0.pc' ignored, we already know about package 'gdk-pixbuf
-xlib-2.0'
File 'gdk-x11-2.0.pc' appears to be a .pc file
File 'gdk-x11-2.0.pc' ignored, we already know about package 'gdk- x11-2.0'
File 'gdkglext-1.0.pc' appears to be a .pc file
File 'gdkglext-1.0.pc' ignored, we already know about package 'gdkglext-1.0'
File 'gdkglext-x11-1.0.pc' appears to be a .pc file
File 'gdkglext-x11-1.0.pc' ignored, we already know about package 'gdkglext-x11-
1.0'
File 'gio-2.0.pc' appears to be a .pc file
File 'gio-2.0.pc' ignored, we already know about package 'gio-2.0'
File 'gio-unix-2.0.pc' appears to be a .pc file
File 'gio-unix-2.0.pc' ignored, we already know about package 'gio- unix-2.0'
File 'glib-2.0.pc' appears to be a .pc file
File 'glib-2.0.pc' ignored, we already know about package 'glib-2.0'
File 'gmodule-2.0.pc' appears to be a .pc file
File 'gmodule-2.0.pc' ignored, we already know about package 'gmodule-2.0'
File 'gmodule-export-2.0.pc' appears to be a .pc file
File 'gmodule-export-2.0.pc' ignored, we already know about package 'gmodule-exp
ort-2.0'
File 'gmodule-no-export-2.0.pc' appears to be a .pc file
File 'gmodule-no-export-2.0.pc' ignored, we already know about package 'gmodule-
no-export-2.0'
File 'gobject-2.0.pc' appears to be a .pc file
File 'gobject-2.0.pc' ignored, we already know about package 'gobject-2.0'
File 'gthread-2.0.pc' appears to be a .pc file
File 'gthread-2.0.pc' ignored, we already know about package 'gthread-2.0'
File 'gtk+-2.0.pc' appears to be a .pc file
File 'gtk+-2.0.pc' ignored, we already know about package 'gtk+-2.0'
File 'gtk+-unix-print-2.0.pc' appears to be a .pc file
File 'gtk+-unix-print-2.0.pc' ignored, we already know about package 'gtk+-unix-
print-2.0'
File 'gtk+-x11-2.0.pc' appears to be a .pc file
File 'gtk+-x11-2.0.pc' ignored, we already know about package 'gtk+- x11-2.0'
File 'gtkglext-1.0.pc' appears to be a .pc file
File 'gtkglext-1.0.pc' ignored, we already know about package 'gtkglext-1.0'
File 'gtkglext-x11-1.0.pc' appears to be a .pc file
File 'gtkglext-x11-1.0.pc' ignored, we already know about package 'gtkglext-x11-
1.0'
File 'gutenprint.pc' appears to be a .pc file
File 'gutenprint.pc' ignored, we already know about package 'gutenprint'
File 'ImageMagick++.pc' appears to be a .pc file
File 'ImageMagick++.pc' ignored, we already know about package 'ImageMagick++'
File 'ImageMagick.pc' appears to be a .pc file
File 'ImageMagick.pc' ignored, we already know about package 'ImageMagick'
File 'libpng.pc' appears to be a .pc file
File 'libpng.pc' ignored, we already know about package 'libpng'
File 'libpng12.pc' appears to be a .pc file
File 'libpng12.pc' ignored, we already know about package 'libpng12'
File 'libxml-2.0.pc' appears to be a .pc file
File 'libxml-2.0.pc' ignored, we already know about package 'libxml-2.0'
File 'pango.pc' appears to be a .pc file
File 'pango.pc' ignored, we already know about package 'pango'
File 'pangocairo.pc' appears to be a .pc file
File 'pangocairo.pc' ignored, we already know about package 'pangocairo'
File 'pangoft2.pc' appears to be a .pc file
File 'pangoft2.pc' ignored, we already know about package 'pangoft2'
File 'pangox.pc' appears to be a .pc file
File 'pangox.pc' ignored, we already know about package 'pangox'
File 'pixman-1.pc' appears to be a .pc file
File 'pixman-1.pc' ignored, we already know about package 'pixman-1'
File 'Wand.pc' appears to be a .pc file
File 'Wand.pc' ignored, we already know about package 'Wand'
Cannot open directory '/usr/local/share/pkgconfig' in package search path: No su
ch file or directory
Looking for package 'glib-2.0'
Looking for package 'glib-2.0-uninstalled'
Reading 'glib-2.0' from file '/usr/local/lib/pkgconfig/glib-2.0.pc'
Parsing package file '/usr/local/lib/pkgconfig/glib-2.0.pc'
  line>prefix=/usr/local
 Variable declaration, 'prefix' has value '/usr/local'
  line>exec_prefix=${prefix}
 Variable declaration, 'exec_prefix' has value '/usr/local'
  line>libdir=${exec_prefix}/lib
 Variable declaration, 'libdir' has value '/usr/local/lib'
  line>includedir=${prefix}/include
 Variable declaration, 'includedir' has value '/usr/local/include'
  line>
  line>glib_genmarshal=glib-genmarshal
 Variable declaration, 'glib_genmarshal' has value 'glib-genmarshal'
  line>gobject_query=gobject-query
 Variable declaration, 'gobject_query' has value 'gobject-query'
  line>glib_mkenums=glib-mkenums
 Variable declaration, 'glib_mkenums' has value 'glib-mkenums'
  line>
  line>Name: GLib
  line>Description: C Utility Library
  line>Version: 2.18.2
  line>Libs: -L${libdir} -lglib-2.0 -lintl
  line>Libs.private: -liconv
Unknown keyword 'Libs.private' in '/usr/local/lib/pkgconfig/glib-2.0.pc'
  line>Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include
Path position of 'GLib' is 1
Adding 'glib-2.0' to list of known packages, returning as package 'glib-2.0'
 original:  GLib
 sorted:  GLib
 original:  GLib
 sorted:  GLib
i386-apple-darwin8.11.1
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gawk... (cached) awk
checking whether ln -s works... yes
checking for docbook2x-texi... no
checking for db2x_docbook2texi... no
checking for docbook2x-man... no
checking for db2x_docbook2man... no
checking for dblatex... no
checking for xsltproc... xsltproc
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... otool64
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.1 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... PKG_CONFIG_DEBUG_SPEW variable
enabling debug spew
Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/X11R6/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/local/lib/pkgconfig' from PKG_CONFIG_PATH
Adding directory '/usr/local/share/pkgconfig' from PKG_CONFIG_PATH
Global variable definition 'pc_top_builddir' = '$(top_builddir)'
Option --atleast-pkgconfig-version seen
Error printing disabled by default, value of --print-errors: 1
Error printing enabled
yes
checking for GLIB... configure: error: You need to have glib2 to compile GNU bac
kgammon




Christian.

Thanks

Louis


On Sun, Nov 2, 2008 at 9:41 PM, Louis Zulli <address@hidden> wrote:

On Nov 2, 2008, at 12:25 PM, Michael Petch wrote:

Is it possible you have multiple versions of pkg-config on your path?

Can you run this command and let me know the output:

pkg-config --exists --print-errors "glib-2.0 >= 2.6.0"


The command returns no output.
As I indicated in my original message, the command
pkg-config --modversion glib-2.0
returns
2.18.2
Louis
_______________________________________________
Bug-gnubg mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnubg







reply via email to

[Prev in Thread] Current Thread [Next in Thread]