From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Aug 29 2008 - 13:05:06 CDT

Hi,
  If you're using Python 2.5.1, you'll want to use the current VMD
CVS source tree and not the old VMD 1.8.6 source code. That should
alleviate the majority of the errors I saw below. Give it a spin
and let me know if you need assistance. The CVS tree is accessible
via the instructions here:
  http://www.ks.uiuc.edu/Research/vmd/doxygen/cvsget.html

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, Aug 29, 2008 at 12:01:04PM -0600, Chang, Christopher wrote:
> Hi,
>
> Trying to compile VMD 1.8.6 on dual quad-core Xeon Mac, OSX 10.5.4, with
> gcc 4.3.1, and the Python and numpy installation that is installed with the
> OS (Python 2.5.1, built with GCC 4.0.1).
>
> VMD configure options are
>
> MACOSXX86 FLTKOPENGL FLTK TK ACTC CUDA CONTRIB TCL PYTHON PTHREADS NUMPY GCC
>
> as per John Stone's message on 5/1/07, without IMD, SPACEBALL, TACHYON, and
> NETCDF support.
>
> Any ideas if the following is arising from a mismatch between GCC 4.0.1 with
> which the installed Python was built, and GCC 4.3.1 which I am trying to
> use?
>
> Thanks, Chris
>
>
> echo "Compiling " py_atomsel.C " --> " py_atomsel.o " ..."; \
> c++ -fPIC -Os -ffast-math -DARCH_MACOSXX86 -DVMDOPENGL -DVMDFLTKOPENGL
> -DVMDGRAPHICS -DVMDACTC -DVMDCUDA -DVMDCONTRIB -DVMDPYTHON -DVMDTHREADS
> -DUSEPOSIXTHREADS -D_REENTRANT -DVMDNUMPY -DVMDSURF -DVMDMSMS
> -DVMDFIELDLINES -DVMDVOLUMETEXTURE -DVMDTCL -DVMDTK -DVMDSTATICPLUGINS
> -DVMDGUI -DVMDFLTK -I../lib/actc/include -F/System/Library/Frameworks
> -I../lib/tcl/include
> -I../lib/tk/lib_MACOSXX86/Tk.framework/Versions/8.4/Headers
> -I../plugins/include -I../plugins/MACOSXX86/molfile -I../lib/fltk/fltk-1.1.7
> -I. -I/Users/cchang/include/fltk -c py_atomsel.C -o
> ../MACOSXX86/py_atomsel.o
> Compiling py_atomsel.C --> py_atomsel.o ...
> py_atomsel.C: In function ŒPyObject* sasa(PyAtomSelObject*, PyObject*,
> PyObject*)¹:
> py_atomsel.C:863: warning: deprecated conversion from string constant to
> Œchar*¹
> py_atomsel.C:863: warning: deprecated conversion from string constant to
> Œchar*¹
> py_atomsel.C:863: warning: deprecated conversion from string constant to
> Œchar*¹
> py_atomsel.C:863: warning: deprecated conversion from string constant to
> Œchar*¹
> py_atomsel.C: At global scope:
> py_atomsel.C:941: error: invalid conversion from Œint (*)(PyObject*)¹ to
> ŒPy_ssize_t (*)(PyObject*)¹
> make: *** [py_atomsel.o] Error 1
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078