Summary of compile problem/quickfix
OS = openSuse 12.1
uname = 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux
Using autobuild script on Jan 8, 2013.
All sources download a build correctly except coot itself.
Error from build log 16-coot.txt is:
make[1]: *** [coot_wrap_guile_gtk2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/coot_wrap_python_gtk2.Tpo .deps/coot_wrap_python_gtk2.Po
Looking closer, the make of coot_wrap_guile_gtk2.o
failed with error:
coot_wrap_guile_gtk2.cc: In function ‘char* SWIG_Guile_scm2newstr(SCM, size_t*)’:
coot_wrap_guile_gtk2.cc:810:31: error: ‘scm_to_utf8_string’ was not declared in this scope
make: *** [coot_wrap_guile_gtk2.o] Error 1
I see nothing wrong with the .cc file, but tried replacing the following on line 810:
tmp = scm_to_utf8_string(str)
with the following:
tmp = scm_to_locale_string(str);
The code then compiled and appears to run fine.
From googling, I suspect some version conflict with guile etc.
"scm_to_utf8_string()" should be a valid function in new versions, but older versions may use "scm_to_locale_string()". Apparently, the version switch from 1.8 to 2.0 was drastic and can break old code.
Anyhow, I hope this info helps. Contact me if I can provide more info.
--Paul Smith
|