Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.99k stars 11.36k forks source link

glibmm failed to build on 10.6.8 #24115

Closed kensanata closed 10 years ago

kensanata commented 10 years ago

I'm trying to build inkscape. The gist for the libgmm problem: https://gist.github.com/kensanata/7383751

configure:3740: checking whether we are cross compiling
configure:3748: g++-4.2 -o conftest    conftest.cpp  >&5
Undefined symbols:
  "___gxx_personality_v0", referenced from:
      ___gxx_personality_v0$non_lazy_ptr in ccYlYnQp.o
     (maybe you meant: ___gxx_personality_v0$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:3752: $? = 1
configure:3759: ./conftest
./configure: line 3761: ./conftest: No such file or directory
configure:3763: $? = 127
configure:3770: error: in `/private/tmp/glibmm-TwOU/glibmm-2.38.0':
configure:3772: error: cannot run C++ compiled programs.

All the details are in the gist. I also tried with --env=std but that results in a different error.

Compilation failed in require at ../../tools/gmmproc line 59.
BEGIN failed--compilation aborted at ../../tools/gmmproc line 59.

This may be related to an issue regarding libsigc++ https://github.com/mxcl/homebrew/issues/24099

Thanks for Homebrew!

jacknagel commented 10 years ago

Is this also working now?

kensanata commented 10 years ago

Yes, it's fixed. Thanks!

alex@Pyrobombus:~$ brew install glibmm
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.38/glibmm-2.38.0.tar.xz
Already downloaded: /Library/Caches/Homebrew/glibmm-2.38.0.tar.xz
==> Downloading patches
######################################################################## 100,0%
==> Patching
patching file gio/src/actiongroup.hg
==> ./autogen.sh --disable-dependency-tracking --prefix=/usr/local/Cellar/glibmm/2.38.0
==> make install
/usr/local/Cellar/glibmm/2.38.0: 405 files, 6,6M, built in 7.5 minutes