This is primarily my mistake.  I now think that coot's configure should check for the version of clipper that has top8000.

If it doesn't find that clipper, then Coot's configure should fail.

You should never get to the make stage.

I will take a look at what I need to do to make that happen (because, clearly, it isn't).

A few days.

Paul.



On 27/06/2022 03:12, Paul Emsley wrote:


That clipper is old clipper. You need the clipper from the build script.

Paul.



On 27/06/2022 03:10, hari jayaram wrote:
Dear Paul and the coot community
It's been 6 years since I posted on any coot forum . I saw the exciting news around coot-1 and am itching to dive back in.

I am trying to compile coot-1 on Ubuntu 20.04

After installing a series of dependencies, which I can gladly report back to you on...the build started without any issues. It however stopped with this error  --see below I got all the libraries including the clipper libraries from Ubuntu ( sudo apt-get install libclipper-dev)

I wonder how to proceed past this.

Thanks a tonne for your help
Hari


"""
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"coot\" -DPACKAGE_TARNAME=\"coot\" -DPACKAGE_VERSION=\"1\" -DPACKAGE_STRING=\"coot\ 1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"coot\" -DVERSION=\"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 -DLT_OBJDIR=\".libs/\" -DHAVE_OPENMP=1 -DHAVE_CXX11=1 -DHAVE_CXX_THREAD=1 -DHAVE_PYTHON=\"3.8\" -DHAVE_BOOST=/\*\*/ -DHAVE_BOOST_PYTHON=/\*\*/ -I.  -I.. -DHAVE_GSL -I/usr/include  -DMMDB_HAS_LINK_DISTANCE -fopenmp -DPKGDATADIR='"/usr/local/share/coot"' -DUSE_LIBPNG=1 -I/usr/include/libpng16 -g -O2 -Wall -Wno-unused  -std=c++11 -MT residue_by_phi_psi.lo -MD -MP -MF .deps/residue_by_phi_psi.Tpo -c -o residue_by_phi_psi.lo residue_by_phi_psi.cc libtool: compile:  g++ -DPACKAGE_NAME=\"coot\" -DPACKAGE_TARNAME=\"coot\" -DPACKAGE_VERSION=\"1\" "-DPACKAGE_STRING=\"coot 1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"coot\" -DVERSION=\"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 -DLT_OBJDIR=\".libs/\" -DHAVE_OPENMP=1 -DHAVE_CXX11=1 -DHAVE_CXX_THREAD=1 -DHAVE_PYTHON=\"3.8\" "-DHAVE_BOOST=/**/" "-DHAVE_BOOST_PYTHON=/**/" -I. -I.. -DHAVE_GSL -I/usr/include -DMMDB_HAS_LINK_DISTANCE -fopenmp -DPKGDATADIR=\"/usr/local/share/coot\" -DUSE_LIBPNG=1 -I/usr/include/libpng16 -g -O2 -Wall -Wno-unused -std=c++11 -MT residue_by_phi_psi.lo -MD -MP -MF .deps/residue_by_phi_psi.Tpo -c residue_by_phi_psi.cc  -fPIC -DPIC -o .libs/residue_by_phi_psi.o residue_by_phi_psi.cc: In member function ‘void coot::residue_by_phi_psi::init_phi_psi_plot()’: residue_by_phi_psi.cc:869:37: error: ‘All2’ is not a member of ‘clipper::Ramachandran’
  869 |    rama.init(clipper::Ramachandran::All2);
      |                                     ^~~~
residue_by_phi_psi.cc:871:41: error: ‘Pro2’ is not a member of ‘clipper::Ramachandran’
  871 |    rama_pro.init(clipper::Ramachandran::Pro2);
      |                                         ^~~~
make[1]: *** [Makefile:1324: residue_by_phi_psi.lo] Error 1
make[1]: Leaving directory '/home/hari-verve/coot-1/ligand'
make: *** [Makefile:723: all-recursive] Error 1
"""

On Mon, Jun 13, 2022 at 4:56 PM Paul Emsley <pems...@mrc-lmb.cam.ac.uk> wrote:

    On 13/06/2022 18:40, Giacomo Fiorin wrote:
    > FYI while I'm still going through dependencies from Ubuntu
    20.04 packages, I also tried CentOS 7 again by installing
    guile-devel to circumvent the script's auto-build of GUILE, and
    it builds Coot successfully. However, when I launch it I see a
    splash screen and the following messages, after which Coot exits
    with error.
    >
    > I'll try to move forward with Ubuntu 20.04, but if support for
    RHEL/CentOS 7 is restored it would be very helpful. Thanks!


    Try setting your path so that

    /data/local/Fiorin/build/autobuild/coot-Linux-x86_64-centos-7-gtk3/bin
    is the first element

    Paul.

    ########################################################################

    To unsubscribe from the COOT list, click the following link:
    https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
    <https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1>

    This message was issued to members of www.jiscmail.ac.uk/COOT
    <http://www.jiscmail.ac.uk/COOT>, a mailing list hosted by
    www.jiscmail.ac.uk <http://www.jiscmail.ac.uk>, terms &
    conditions are available at
    https://www.jiscmail.ac.uk/policyandsecurity/


------------------------------------------------------------------------

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1 <https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1>


########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to