Thanks Paul for pointing me to the correct build script. I did get it to build
on Linux ;-), and it works.
I then went on to build coot 64 bit on Mac OS 10.6 from the source code. But I
find my coot-bin binary exits with a malloc free error when I try to load .mtz
files in various ways or even when I use the --self-test option,
$ ./coot-bin --self-test
coot-bin(59109) malloc: *** error for object 0x7fff70935500: pointer being
freed was not allocated
*** set a breakpoint in malloc_error_break to debug
I'm not sure this output is too useful from gdb since it could not find the
source/object files. I could
make a list though of the source/object files it was trying to find if that
helps.
$ gdb coot-bin
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared
libraries .....
...
<output deleted from missing source files>
..
.
(gdb) break malloc_error_break
Breakpoint 1 at 0x5604189373a3499
(gdb) run --self-test
Starting program: /programs/i386-mac/coot/latest_build/bin/coot-bin --self-test
Reading symbols for shared libraries .++++++
....
<output deleted for missing object files>
..
.
(gdb) info break
Num Type Disp Enb Address What
1 breakpoint keep y 0x00007fff844c2499 <malloc_error_break+4>
breakpoint already hit 1 time
(gdb) backtrace
#0 0x00007fff844c2499 in malloc_error_break ()
#1 0x00007fff843ec183 in free ()
#2 0x0000000100172a08 in command_line_data::roberto_pdbs ()
#3 0x0000000100173f84 in parse_command_line ()
#4 0x00000001000123cb in main ()