I’m trying to compile mrtrix3 on a RedHat 7 server. I’ve compiled gcc 4.9.2 in /usr/local/ and use an export CXX statement to point the configuration script to it, but then when I run
I get the error
"ERROR: unable to determine pointer size!"
and it recommends that I check the configure.log file for more details. In the configure.log file the relevant section is:
EXEC << CMD: /usr/local/bin/gcc /tmp/tmpX1oe_W.o -pthread -o a.out EXIT: 1 STDERR: /tmp/tmpX1oe_W.o: In function `main': tmpX1oe_W.cpp:(.text+0xc): undefined reference to `std::cout' tmpX1oe_W.cpp:(.text+0x14): undefined reference to `std::ostream::operator<<(unsigned long)' /tmp/tmpX1oe_W.o: In function `__static_initialization_and_destruction_0(int, int)': tmpX1oe_W.cpp:(.text+0x44): undefined reference to `std::ios_base::Init::Init()' tmpX1oe_W.cpp:(.text+0x59): undefined reference to `std::ios_base::Init::~Init()' collect2: error: ld returned 1 exit status >> error deleting temporary file "a.out": No such file or directory ERROR: unable to determine pointer size!
Every other test returns 0 as the exit code.
Any thoughts on what could be wrong?
The mesa opengl library yum install didn’t work, so maybe there’s a missing dependency there, but I had assumed it was just for the GUI.