Closed sbp closed 10 years ago
Please post your brew doctor
as well.
Try rebuilding its dependencies, like glib.
My brew doctor
:
$ brew remove glibmm gtk+ libsigc++ pangomm atkmm cairomm
$ brew install glibmm gtk+ libsigc++ pangomm atkmm cairomm
$ brew install gtkmm
Results in the same error.
Missed some deps.
$ brew info gtkmm
[...]
==> Dependencies
Build: xz ✔, pkg-config ✔
Required: glibmm ✔, gtk+ ✔, libsigc++ ✔, pangomm ✔, atkmm ✔, cairomm ✔
$ brew remove xz pkg-config glibmm gtk+ libsigc++ pangomm atkmm cairomm
$ brew install xz pkg-config glibmm gtk+ libsigc++ pangomm atkmm cairomm
$ brew install gtkmm
Results in the same error.
$ brew deps gtkmm
atk
atkmm
cairo
cairomm
fontconfig
freetype
gdk-pixbuf
gettext
glib
glibmm
gobject-introspection
gtk+
harfbuzz
icu4c
jpeg
libffi
libpng
libsigc++
libtiff
pango
pangomm
pixman
pkg-config
xz
Try removing glib as well as glibmm.
Can I see the build logs from your second attempt?
$ brew uninstall $(brew deps gtkmm)
$ brew install atk atkmm cairo cairomm fontconfig freetype \
gdk-pixbuf gettext glib glibmm gobject-introspection gtk+ \
harfbuzz icu4c jpeg libffi libpng libsigc++ libtiff pango \
pangomm pixman pkg-config xz
$ brew install gtkmm
Results in the same error.
Logs from this installation attempt are here:
-lstdc++
Hm, I wonder what the chances are that it's trying to build against libstdc++ when its deps were all built with libc++.
I can't reproduce this, however my 02.make.cc doesn't include -lstdc++
anywhere.
I'm sorry we don't have a better answer for this.
Since this has been opened there have been updates to most of the gtkmm dependency tree, so at this point the way forward is to (again, sorry) remove all of the dependencies and let them rebuild. If it still fails, we'll need updated troubleshooting information.
Logs and details:
https://gist.github.com/sbp/9162614
Looks tricky:
And
gtkmm
is a dependency forinkscape
.