Well, I've used
rm src/coot_wrap_python.cc
or
rm src/*wrap*.cc
to no avail. Also tried compiling w/o python, in which case I get a
similar error with guile.
What's "the pre wrap"?
>
> Also with GTk2, you need gtkglext, not gtkglarea.
I have both gtkglext1 and gtkglarea2. Should I remove the latter?
Bill
>
> Paul.
>
>
> On Mon, 2007-08-06 at 21:25 -0700, William Scott wrote:
>> I can compile the latest pre-release of coot (on OS X, using fink for
>> dependencies) with gtk+ and guile1.6 and so forth. When I change
>> these, i.e.,
>>
>> --with-mmdb-prefix=$CCP4 --with-clipper-prefix=$CCP4 --with-fftw=
>> $CCP4 \
>> --with-glut-prefix=%p --with-gl-prefix=/usr/X11R6 --with-gtk2 \
>> --with-gnomecanvas-prefix=%p --with-ssmlib-prefix=$CCP4 \
>> --with-imlib-prefix=%p --with-gtkgl-prefix=%p --with-glib-prefix=%p \
>> --with-guile-gtk --with-guile-gtk-prefix=%p \
>> --with-gsl-prefix=%p --with-guile --with-python
>>
>>
>> I eventually get the failure below (even with the same python as
>> before). WTF?
>>
>> mkdir .libs
>> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
>> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"coot\" -
>> DVERSION=\"0.4-pre-1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -
>> DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
>> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
>> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ALLOCA_H=1
>> -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -
>> DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1
>> -DHAVE_NL_TYPES_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -
>> DHAVE_SYS_PARAM_H=1 -DHAVE_GETCWD=1 -DHAVE_MUNMAP=1 -DHAVE_PUTENV=1 -
>> DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -DHAVE_STRCASECMP=1
>> -DHAVE_STRDUP=1 -DHAVE_LC_MESSAGES=1 -I. -I. -I../compat -I../coords -
>> I../ccp4mg-utils -I../coot-utils -I../intl -I../skeleton -I../angles -
>> I../atom-utils -I../db-main -I../mini-mol -I../ligand -I../sequence-
>> view -I../geometry -I../ideal -I../coot-surface -I../surface -I../
>> density-contour -I../build -I../high-res -I../analysis -I../cootaneer
>> -DUSE_GUILE -DUSE_GUILE_GTK -I/sw/include -DHAVE_GNOME_CANVAS -I/sw/
>> include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -
>> I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/
>> gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/
>> libart-2.0 -I/sw/include/libgnomecanvas-2.0 -DCOOT_USE_GTK2_INTERFACE
>> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/
>> pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/
>> include/gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/
>> include/gtkglext-1.0 -I/sw/lib/gtkglext-1.0/include -I/sw/include/
>> glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pango-1.0 -I/usr/
>> X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/
>> sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/
>> sw/include -DHAVE_SSMLIB -I/sw/share/xtal/ccp4-onlylibs-dev-6.0.2/
>> include/ssm -I/sw/share/xtal/ccp4-onlylibs-dev-6.0.2/include/mmdb -
>> DHAVE_MMDB_IGNORE_HASH -I/sw/include -I/sw/share/xtal/ccp4-onlylibs-
>> dev-6.0.2/include -I/sw/share/xtal/ccp4-onlylibs-dev-6.0.2/lib/
>> clipper/clipper/mmdbold -I/System/Library/Frameworks/Python.framework/
>> Versions/Current/include/python2.3 -DPKGDATADIR=\"/sw/share/coot\" -
>> DPACKAGE_LOCALE_DIR=\"/sw/share/coot/locale\" -DDATADIR=\"/sw/share\"
>> -DUSE_GUILE -DUSE_GUILE_GTK -I/sw/include -DUSE_PYTHON -I/System/
>> Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -
>> DHAVE_GSL -g -O2 -MT coot_wrap_python.lo -MD -MP -MF .deps/
>> coot_wrap_python.Tpo -c coot_wrap_python.cc -fno-common -DPIC -
>> o .libs/coot_wrap_python.o
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_on_filename_filter_toggle_button_toggled_gtk1(PyObject*,
>> PyObject*)':
>> coot_wrap_python.cc:3237: error:
>> 'on_filename_filter_toggle_button_toggled_gtk1' was not declared in
>> this scope
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_handle_filename_filter_gtk1(PyObject*, PyObject*)':
>> coot_wrap_python.cc:3483: error: 'handle_filename_filter_gtk1' was
>> not declared in this scope
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_fileselection_sort_button_clicked_gtk1(PyObject*, PyObject*)':
>> coot_wrap_python.cc:9091: error:
>> 'fileselection_sort_button_clicked_gtk1' was not declared in this scope
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_on_go_to_atom_residue_tree_selection_changed_gtk1(PyObject*,
>> PyObject*)':
>> coot_wrap_python.cc:13204: error:
>> 'on_go_to_atom_residue_tree_selection_changed_gtk1' was not declared
>> in this scope
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_on_go_to_atom_atom_list_selection_changed_gtk1(PyObject*,
>> PyObject*)':coot_wrap_python.cc:13242: error:
>> 'on_go_to_atom_atom_list_selection_changed_gtk1' was not declared in
>> this scope
>> coot_wrap_python.cc: In function 'PyObject*
>> _wrap_on_go_to_atom_residue_list_unselect_child(PyObject*, PyObject*)':
>> coot_wrap_python.cc:13289: error:
>> 'on_go_to_atom_residue_list_unselect_child' was not declared in this
>> scope
>> make[1]: *** [coot_wrap_python.lo] Error 1
>> make: *** [all-recursive] Error 1
>>
>>
>> Any suggestions?
>>
>>
>> William G. Scott
>>
>> Contact info:
>> http://chemistry.ucsc.edu/~wgscott/
>>
>
|