Looks like post-process-coot-wrap-guile.sh does something that might be useful but the problem is in python and post-process-coot-wrap-python.sh just encloses the input in an #ifdef USE_PYTHON. I don't know if I can figure out what the appropriate sed command would be for the problems in the python compilation.
Thanks, Joel >>> Paul Emsley <[EMAIL PROTECTED]> 09/03/08 5:31 PM >>> Joel Bard wrote: > Hi- > > Compiling 32 bit coot with GTK2 and python was failing on my machine. > The error was in converting 'const char *' to 'char *' in the SWIG > generated coot_wrap_python.cc. Putting an explicit cast to 'char *' in > each of the offending lines (there were only 2) allowed it to compile > with no further problems. I wonder if anyone who knows more (i.e. > anything) about SWIG than I do can tell me how to convince it to avoid > this problem for future attempts. Hi Joel, I think I may have encountered the same thing. Have a look at src/post-process-coot-wrap-guile.sh, which gets run after swigging. Does that address the issue or do I need another work-around? (maybe the conditions for running the fixup were wrong in your case...?) Paul
