I have exactly the same configuration Kubuntu feisty, gcc 4.1.2, Boost 1.33.1 ecc. installed on a macbook. I used to have the same problem at the end of compilation (it does not come to perform the final link, I think).
ld -v GNU ld version 2.17.50 20070103 Ubuntu
./configure --disable-visibility make (su) make install
works for me. Cheers, Andrea
On Wednesday 11 July 2007, Rui Carvalho wrote:
Here's the output of "gcc -v":
Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
I attach also the ouput I get from "./configure --disable-visibility"
I'm new to linux, so this is probably a beginners mistake -sorry about this.
-----Original Message----- From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Tiago de Paula Peixoto Sent: 11 July 2007 03:18 To: Main discussion list for the graph-tool project Subject: Re: [graph-tool] problems with compiling graph-tool-1.1.2
On 07/10/2007 08:22 PM, Rui Carvalho wrote:
32 bit architecture; Python 2.4 Boost 1.33.1 Gcc 4.1.2 Expat 1.95.8-3.4build1
It should be compiling cleanly for your case. What is the complete output of "gcc -v"? Maybe it is a patched or pre-release version of GCC. I can compile it fine on my 32 bit system with the same compiler and libraries. In any case, it seems to me that visibility is somehow broken in your setup. Could you try compiling with the "--disable-visibility" option as I described before and tell me the result?
-- Tiago de Paula Peixoto email@example.com
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
On 07/11/2007 09:17 AM, Andrea Perna wrote:
I have exactly the same configuration Kubuntu feisty, gcc 4.1.2, Boost 1.33.1 ecc. installed on a macbook.
I used to have the same problem at the end of compilation (it does not come to perform the final link, I think).
GNU ld version 2.17.50 20070103 Ubuntu
(su) make install
works for me.
I don't understand why GCC 4.1.2 in (k)ubuntu seems to have problems with visibility on 32 bit systems. On my system GCC 4.1.2 compiles graph-tool without problems with visibility enabled...
I'll put a note on the website warning about this.