Dear all,

Perhaps slightly off topic but...

I compiled and installed gcc-3.0.4 in /usr/local/gcc-3.0.4

then did

export PATH=/usr/local/gcc-3.0.4/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/gcc-3.0.4/lib:$LD_LIBRARY_PATH

after which I did ./configure in the lyx dir. But then I get this

checking whether the C++ compiler (../../gcc-3.0.4/bin/g++  ) works... no
configure: error: installation or configuration problem: C++ compiler cannot 
create executables.
configure: error: ./configure failed for sigc++

but a small hello world program compiles fine:

g++ hello.C -o hello

ldd hello
        libstdc++.so.3 => /usr/local/gcc-3.0.4/lib/libstdc++.so.3 (0x40018000)
        libm.so.6 => /lib/i686/libm.so.6 (0x400c0000)
        libgcc_s.so.1 => /usr/local/gcc-3.0.4/lib/libgcc_s.so.1 (0x400e3000)
        libc.so.6 => /lib/i686/libc.so.6 (0x400eb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Tips from the computer literate are greatly appreciated. 

Thanks, Ed.

Reply via email to