[MacPorts] #19183: atk fails to build because of broken GLIB (was: PY25-GTK fails to build because of broken GLIB)
MacPorts
noreply at macports.org
Sun Apr 5 12:30:07 PDT 2009
#19183: atk fails to build because of broken GLIB
----------------------------------+-----------------------------------------
Reporter: martijn@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: atk
----------------------------------+-----------------------------------------
Changes (by ram@…):
* port: => atk
Old description:
> 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.
New description:
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.
}}}
--
Comment:
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/)
--
Ticket URL: <http://trac.macports.org/ticket/19183#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list