Closed kensanata closed 10 years ago
The error:
configure:3297: g++-4.2 -o conftest conftest.cpp >&5
Undefined symbols:
"___gxx_personality_v0", referenced from:
___gxx_personality_v0$non_lazy_ptr in ccBXdHDC.o
(maybe you meant: ___gxx_personality_v0$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:3301: $? = 1
configure:3308: ./conftest
./configure: line 3310: ./conftest: No such file or directory
As a data point, looks like you're on a 32-bit only system.
Can you retry with --env=std
and see if that works? Wonder if this is a superenv issue.
That worked! https://gist.github.com/kensanata/7378121#comment-946874
I continued my attempt at building inkscape and ran into a similar problem for glibmm. I'll open another issue for that.
If you don't mind the build time, can you try brew reinstall
ing libsigc++ without --env=std
? There was a bug with c++ compiler selection that was fixed recently and I'm wondering if that's the culprit.
Success! :)
alex@Pyrobombus:~$ brew update
Updated Homebrew from 61b75927 to 143d5474.
==> Updated Formulae
cairo gambit-scheme grails libewf
erlang git imake libkml
fbida glog lftp macvim
alex@Pyrobombus:~$ brew reinstall libsigc++
==> Reinstalling libsigc++
==> Downloading http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.3/libsigc++-2
Already downloaded: /Library/Caches/Homebrew/libsigc++-2.3.1.tar.xz
==> ./configure --prefix=/usr/local/Cellar/libsigc++/2.3.1
==> make
==> make check
==> make install
/usr/local/Cellar/libsigc++/2.3.1: 619 files, 13M, built in 75 seconds
Relevant info: https://gist.github.com/kensanata/7378121
I'm trying to build inkscape.
==> Installing inkscape dependency: libsigc++ ... checking whether we are cross compiling... configure: error: in `/private/tmp/libsigc++-IZQB/libsigc++-2.3.1': configure: error: cannot run C++ compiled programs.
All the details are in the gist.
Thanks for Homebrew!