Opened 15 years ago

Last modified 15 years ago

#19183 closed defect

atk fails to build because of broken GLIB — at Version 1

Reported by: martijn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: glib2

Description (last modified by skymoo (Adam Mercer))

I am unable to install py25-gtk due to a broken GLIB. Cleaning up and even a complete fresh install of MacPorts did not cure it.

 sudo port install py25-gtk
--->  Configuring atkError: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_atk/work/atk-1.24.0" && ./configure --prefix=/opt/local " returned error 1
Command output: checking if /usr/bin/gcc-4.0 static flag -static works... no
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.6.0 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... yes
checking whether to build static libraries... no
checking for some Win32 platform... no
checking for native Win32 platform... no
checking for aclocal flags... 
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.5.7... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

Change History (1)

comment:1 Changed 15 years ago by skymoo (Adam Mercer)

Description: modified (diff)
Port: atk added
Summary: PY25-GTK fails to build because of broken GLIBatk fails to build because of broken GLIB

What version of glib2 do you have installed? glib2-2.20.0_0 is the lastest version.

According to the error you quoted the error is coming from the atk build, have you checked config.log, as the error suggests? (It'll be in port dir atk/work/)

Note: See TracTickets for help on using tickets.