PDB-REDO / dssp

Application to assign secondary structure to proteins
BSD 2-Clause "Simplified" License
162 stars 18 forks source link

"configure: error: libcif++ not found" #17

Closed Jvdjvdjvd closed 3 years ago

Jvdjvdjvd commented 3 years ago

System: "Ubuntu 20.04.1 LTS" Thank you for sharing this program. Unfortunately I am having problems installing it. Could you help me? I installed mrc and libcif++ but my the dssp configuration has trouble finding this libcif++ install.

(base) jarek@jrk:~/Documents/dssp$ sudo ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for mrc... /usr/local/bin/mrc
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for boostlib >= 1.65.1 (106501)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking need to link zlib... no
checking need to link bzip2... no
checking cif++/Cif++.hpp usability... yes
checking cif++/Cif++.hpp presence... yes
checking for cif++/Cif++.hpp... yes
checking for cif++/Cif++.hpp... (cached) yes
checking for main in -lcifpp... no
configure: error: libcif++ not found

The installation of libcif++ seemed successful:

./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ld used by g++ -std=c++17... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -std=c++17 option to produce PIC... -fPIC -DPIC
checking if g++ -std=c++17 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=c++17 static flag -static works... yes
checking if g++ -std=c++17 supports -c -o file.o... yes
checking if g++ -std=c++17 supports -c -o file.o... (cached) yes
checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mrc... /usr/local/bin/mrc
checking for filesystem... (cached) yes
checking for floor... yes
checking for pow... yes
checking for rint... yes
checking for sqrt... yes
checking for strchr... yes
checking for strerror... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for ptrdiff_t... yes
checking whether make sets $(MAKE)... yes
checking for boostlib >= 1.71 (107100)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking need to link zlib... no
checking need to link bzip2... no
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating libcifpp.pc
config.status: creating tools/update-dictionary-script
config.status: creating src/Config.hpp
config.status: executing libtool commands
(base) jarek@jrk:~/Documents/libcifpp$ make
mkdir -p obj
>> src/AtomType.cpp
>> src/BondMap.cpp
>> src/Cif2PDB.cpp
>> src/Cif++.cpp
>> src/CifParser.cpp
rm -f version-info-*.txt
>> src/CifUtils.cpp
>> src/CifValidator.cpp
>> src/Compound.cpp
>> src/PDB2Cif.cpp
>> src/PDB2CifRemark3.cpp
>> src/Point.cpp
>> src/Secondary.cpp
>> src/Structure.cpp
>> src/Symmetry.cpp
>> src/TlsParser.cpp
/bin/sh /home/jarek/Documents/libcifpp/libtool --silent --tag=CXX --mode=link g++ -std=c++17 -I/usr/include -g -O2 -pthread -Wall -Wno-multichar -I include -O2 -DCACHE_DIR='"/var/cache/libcifpp"' -DDATA_DIR='"/usr/local/share/libcifpp"' -DUSE_RSRC=1 -DNDEBUG -L/usr/lib/x86_64-linux-gnu -lz -lbz2 -version-info 1:1:1 -o libcifpp.la -rpath /usr/local/lib obj/AtomType.lo obj/BondMap.lo obj/Cif2PDB.lo obj/Cif++.lo obj/CifParser.lo obj/CifUtils.lo obj/CifValidator.lo obj/Compound.lo obj/PDB2Cif.lo obj/PDB2CifRemark3.lo obj/Point.lo obj/Secondary.lo obj/Structure.lo obj/Symmetry.lo obj/TlsParser.lo -lboost_iostreams -lboost_date_time -lboost_regex -lz -lbz2
(base) jarek@jrk:~/Documents/libcifpp$ sudo make install
mkdir -p data
wget -O data/components.cif.gz ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
--2021-05-21 15:04:31--  ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
           => ‘data/components.cif.gz’
Resolving ftp.wwpdb.org (ftp.wwpdb.org)... 128.6.158.66
Connecting to ftp.wwpdb.org (ftp.wwpdb.org)|128.6.158.66|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/pdb/data/monomers ... done.
==> SIZE components.cif.gz ... 78506636
==> PASV ... done.    ==> RETR components.cif.gz ... done.
Length: 78506636 (75M) (unauthoritative)

components.cif.gz                         100%[====================================================================================>]  74,87M  1,30MB/s    in 59s     

2021-05-21 15:05:32 (1,27 MB/s) - ‘data/components.cif.gz’ saved [78506636]

install -d /usr/local/share/libcifpp
install -m644 data/components.cif.gz /usr/local/share/libcifpp/
install -d /usr/local/lib
/bin/sh /home/jarek/Documents/libcifpp/libtool --mode=install install libcifpp.la /usr/local/lib
libtool: install: install .libs/libcifpp.lai /usr/local/lib/libcifpp.la
libtool: install: install .libs/libcifpp.a /usr/local/lib/libcifpp.a
libtool: install: chmod 644 /usr/local/lib/libcifpp.a
libtool: install: ranlib /usr/local/lib/libcifpp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
install -d /usr/local/share/libcifpp
for d in mmcif_ddl.dic mmcif_pdbx_v50.dic; do \
        install -m644 rsrc/$d /usr/local/share/libcifpp; \
        gzip -f /usr/local/share/libcifpp/$d; \
done
install -d /var/cache/libcifpp
install -d /etc/cron.weekly
if [ ! -f /etc/libcifpp.conf ] ; then \
        echo "# Uncomment the next line to enable automatic updates" > /etc/libcifpp.conf; \
        echo "# update=true" >> /etc/libcifpp.conf; \
        echo ""; \
        echo "Update the /etc/libcifpp.conf file to enable automatic updates"; \
        echo ""; \
fi
install -m755 tools/update-dictionary-script /etc/cron.weekly/libcifpp
install -d /usr/local/include/cif++
for f in AtomType.hpp BondMap.hpp CifParser.hpp Compound.hpp PDB2CifRemark3.hpp Structure.hpp Cif2PDB.hpp CifUtils.hpp Point.hpp Symmetry.hpp Cif++.hpp CifValidator.hpp PDB2Cif.hpp Secondary.hpp TlsParser.hpp; do install include/cif++/$f /usr/local/include/cif++/$f; done
install -d /usr/local/lib/pkgconfig
install -m 644 libcifpp.pc /usr/local/lib/pkgconfig/libcifpp.pc

Do you have a suggestion on how to install the dssp? Kind regards, Jarek

mhekkel commented 3 years ago

Hi Jarek,

So you're using Ubuntu 20, right. Curious.

Could you please send the config.log file in the directory where you tried to configure dssp? Perhaps that file can tell me what is going on.

regards, -maarten

Op 21-5-2021 om 15:32 schreef Jvdjvdjvd:

System: "Ubuntu 20.04.1 LTS" Thank you for sharing this program. Unfortunately I am having problems installing it. Could you help me? I installed mrc and libcif++ but my the dssp configuration has trouble finding this libcif++ install.

|(base) @.***:~/Documents/dssp$ sudo ./configure checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++17 features with -std=c++17... yes checking whether C++ compiler accepts -fstandalone-debug... no checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for mrc... /usr/local/bin/mrc checking how to run the C++ preprocessor... g++ -std=c++17 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking filesystem usability... yes checking filesystem presence... yes checking for filesystem... yes checking for boostlib >= 1.65.1 (106501)... yes checking whether the Boost::IOStreams library is available... yes checking for exit in -lboost_iostreams... yes checking whether the Boost::Program_Options library is available... yes checking for exit in -lboost_program_options... yes checking whether the Boost::Date_Time library is available... yes checking for exit in -lboost_date_time... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex... yes checking need to link zlib... no checking need to link bzip2... no checking cif++/Cif++.hpp usability... yes checking cif++/Cif++.hpp presence... yes checking for cif++/Cif++.hpp... yes checking for cif++/Cif++.hpp... (cached) yes checking for main in -lcifpp... no configure: error: libcif++ not found |

The installation of libcif++ seemed successful:

./configure checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++17 features with -std=c++17... yes checking whether C++ compiler accepts -fstandalone-debug... no checking how to run the C++ preprocessor... g++ -std=c++17 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking filesystem usability... yes checking filesystem presence... yes checking for filesystem... yes checking for a BSD-compatible install... /usr/bin/install -c checking for pkg-config... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... gcc -E checking whether gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -std=c++17 -E checking for ld used by g++ -std=c++17... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ -std=c++17 option to produce PIC... -fPIC -DPIC checking if g++ -std=c++17 PIC flag -fPIC -DPIC works... yes checking if g++ -std=c++17 static flag -static works... yes checking if g++ -std=c++17 supports -c -o file.o... yes checking if g++ -std=c++17 supports -c -o file.o... (cached) yes checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for mrc... /usr/local/bin/mrc checking for filesystem... (cached) yes checking for floor... yes checking for pow... yes checking for rint... yes checking for sqrt... yes checking for strchr... yes checking for strerror... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for ptrdiff_t... yes checking whether make sets $(MAKE)... yes checking for boostlib >= 1.71 (107100)... yes checking whether the Boost::IOStreams library is available... yes checking for exit in -lboost_iostreams... yes checking whether the Boost::Date_Time library is available... yes checking for exit in -lboost_date_time... yes checking whether the Boost::Regex library is available... yes checking for exit in -lboost_regex... yes checking need to link zlib... no checking need to link bzip2... no configure: creating ./config.status config.status: creating GNUmakefile config.status: creating libcifpp.pc config.status: creating tools/update-dictionary-script config.status: creating src/Config.hpp config.status: executing libtool commands (base) @.:~/Documents/libcifpp$ make mkdir -p obj >> src/AtomType.cpp >> src/BondMap.cpp >> src/Cif2PDB.cpp >> src/Cif++.cpp >> src/CifParser.cpp rm -f version-info-.txt >> src/CifUtils.cpp >> src/CifValidator.cpp >> src/Compound.cpp >> src/PDB2Cif.cpp >> src/PDB2CifRemark3.cpp >> src/Point.cpp >> src/Secondary.cpp >> src/Structure.cpp >> src/Symmetry.cpp >> src/TlsParser.cpp /bin/sh /home/jarek/Documents/libcifpp/libtool --silent --tag=CXX --mode=link g++ -std=c++17 -I/usr/include -g -O2 -pthread -Wall -Wno-multichar -I include -O2 -DCACHE_DIR='"/var/cache/libcifpp"' -DDATA_DIR='"/usr/local/share/libcifpp"' -DUSE_RSRC=1 -DNDEBUG -L/usr/lib/x86_64-linux-gnu -lz -lbz2 -version-info 1:1:1 -o libcifpp.la -rpath /usr/local/lib obj/AtomType.lo obj/BondMap.lo obj/Cif2PDB.lo obj/Cif++.lo obj/CifParser.lo obj/CifUtils.lo obj/CifValidator.lo obj/Compound.lo obj/PDB2Cif.lo obj/PDB2CifRemark3.lo obj/Point.lo obj/Secondary.lo obj/Structure.lo obj/Symmetry.lo obj/TlsParser.lo -lboost_iostreams -lboost_date_time -lboost_regex -lz -lbz2 (base) **@.***:~/Documents/libcifpp$ sudo make install mkdir -p data wget -O data/components.cif.gz ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz --2021-05-21 15:04:31-- ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz => ‘data/components.cif.gz’ Resolving ftp.wwpdb.org (ftp.wwpdb.org)... 128.6.158.66 Connecting to ftp.wwpdb.org (ftp.wwpdb.org) 128.6.158.66 :21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /pub/pdb/data/monomers ... done. ==> SIZE components.cif.gz ... 78506636 ==> PASV ... done. ==> RETR components.cif.gz ... done. Length: 78506636 (75M) (unauthoritative) components.cif.gz 100%[====================================================================================>] 74,87M 1,30MB/s in 59s 2021-05-21 15:05:32 (1,27 MB/s) - ‘data/components.cif.gz’ saved [78506636] install -d /usr/local/share/libcifpp install -m644 data/components.cif.gz /usr/local/share/libcifpp/ install -d /usr/local/lib /bin/sh /home/jarek/Documents/libcifpp/libtool --mode=install install libcifpp.la /usr/local/lib libtool: install: install .libs/libcifpp.lai /usr/local/lib/libcifpp.la libtool: install: install .libs/libcifpp.a /usr/local/lib/libcifpp.a libtool: install: chmod 644 /usr/local/lib/libcifpp.a libtool: install: ranlib /usr/local/lib/libcifpp.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.


install -d /usr/local/share/libcifpp for d in mmcif_ddl.dic mmcif_pdbx_v50.dic; do \ install -m644 rsrc/$d /usr/local/share/libcifpp; \ gzip -f /usr/local/share/libcifpp/$d; \ done install -d /var/cache/libcifpp install -d /etc/cron.weekly if [ ! -f /etc/libcifpp.conf ] ; then \ echo "# Uncomment the next line to enable automatic updates" > /etc/libcifpp.conf; \ echo "# update=true"

/etc/libcifpp.conf; \ echo ""; \ echo "Update the /etc/libcifpp.conf file to enable automatic updates"; \ echo ""; \ fi install -m755 tools/update-dictionary-script /etc/cron.weekly/libcifpp install -d /usr/local/include/cif++ for f in AtomType.hpp BondMap.hpp CifParser.hpp Compound.hpp PDB2CifRemark3.hpp Structure.hpp Cif2PDB.hpp CifUtils.hpp Point.hpp Symmetry.hpp Cif++.hpp CifValidator.hpp PDB2Cif.hpp Secondary.hpp TlsParser.hpp; do install include/cif++/$f /usr/local/include/cif++/$f; done install -d /usr/local/lib/pkgconfig install -m 644 libcifpp.pc /usr/local/lib/pkgconfig/libcifpp.pc |

Do you have a suggestion on how to install the dssp? Kind regards, Jarek

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47DXA7ULHX3CBFNWNIDTOZOILANCNFSM45JFGYOQ.

Jvdjvdjvd commented 3 years ago

Hi Maarten,

Of course, here is the log. Just in case it should matter, I do use Kubuntu rather than ubuntu. config.log

Thank you for the help, Jarek

mhekkel commented 3 years ago

Thanks, I see I should fine-tune the configure script a bit more.

And you should install libbz2-dev and everything should work.

regards, -maarten

Op 21-5-2021 om 21:05 schreef Jvdjvdjvd:

Hi Maarten,

Of course, here is the log. Just in case it should matter, I do use Kubuntu rather than ubuntu. config.log https://github.com/PDB-REDO/dssp/files/6524575/config.log

Thank you for the help, Jarek

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17#issuecomment-846184388, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47GT2W2MQTOAQ5YCFTDTO2VH7ANCNFSM45JFGYOQ.

Jvdjvdjvd commented 3 years ago

Thank you for the help so far Maarten, installing libbz2-dev did get us further :)

However, there is still a problem. This time with the make make command..

(base) jarek@jrk:~/Documents/dssp$ sudo make
>> src/mkdssp.cpp
gunzip -c /usr/local/share/libcifpp/mmcif_pdbx_v50.dic.gz > mmcif_pdbx_v50.dic
/usr/local/bin/mrc -o obj/mkdssp_rsrc.o mmcif_pdbx_v50.dic
-> mkdssp
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifParser.o): in function `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::assign(char const*, char const*, unsigned int)':
/usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*, unsigned int)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::perl_matcher(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)':
/usr/include/boost/regex/v4/perl_matcher.hpp:391: undefined reference to `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool)':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1371: undefined reference to `boost::re_detail_107100::put_mem_block(void*)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `void boost::re_detail_107100::raise_error<boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > >(boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::error_type)':
/usr/include/boost/regex/pattern_except.hpp:75: undefined reference to `boost::re_detail_107100::raise_runtime_error(std::runtime_error const&)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::cpp_regex_traits_implementation<char>::error_string[abi:cxx11](boost::regex_constants::error_type) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:449: undefined reference to `boost::re_detail_107100::get_default_error_string(boost::regex_constants::error_type)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::extend_stack()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:236: undefined reference to `boost::re_detail_107100::get_mem_block()'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::cpp_regex_traits<char>::transform_primary[abi:cxx11](char const*, char const*) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:966: undefined reference to `boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::cpp_regex_traits<char>::transform[abi:cxx11](char const*, char const*) const':
/usr/include/boost/regex/v4/cpp_regex_traits.hpp:962: undefined reference to `boost::re_detail_107100::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_match()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1108: undefined reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > const&)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::save_state_init::save_state_init(boost::re_detail_107100::saved_state**, boost::re_detail_107100::saved_state**)':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:110: undefined reference to `boost::re_detail_107100::get_mem_block()'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_imp()':
/usr/include/boost/regex/v4/perl_matcher_common.hpp:221: undefined reference to `boost::re_detail_107100::verify_options(unsigned int, boost::regex_constants::_match_flags)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::save_state_init::~save_state_init()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined reference to `boost::re_detail_107100::put_mem_block(void*)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_prefix()':
/usr/include/boost/regex/v4/perl_matcher_common.hpp:346: undefined reference to `boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > > const&)'
/usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::save_state_init::~save_state_init()':
/usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined reference to `boost::re_detail_107100::put_mem_block(void*)'
collect2: error: ld returned 1 exit status
make: *** [GNUmakefile:147: mkdssp] Error 1

I hope you can help me as this error is above is above my abilities. I was also wondering if there is perhaps a dockerfile I could use for the time being?

kind regards, Jarek

mhekkel commented 3 years ago

Hi Jarek,

Could it be you have multiple versions of boost installed on your computer? The errors you see are often the result of a mismatch between boost headers and boost libraries.

Perhaps there are some older boost libraries lying around in you /usr/local/lib directory?

regards, -maarten

Op 24-05-2021 om 11:17 schreef Jvdjvdjvd:

Thank you for the help so far Maarten, installing libbz2-dev did get us further :)

However, there is still a problem. This time with the make |make| command..

|(base) @.**:~/Documents/dssp$ sudo make >> src/mkdssp.cpp gunzip -c /usr/local/share/libcifpp/mmcif_pdbx_v50.dic.gz > mmcif_pdbx_v50.dic /usr/local/bin/mrc -o obj/mkdssp_rsrc.o mmcif_pdbx_v50.dic -> mkdssp /usr/bin/ld: /usr/local/lib/libcifpp.a(CifParser.o): in function `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > >::assign(char const, char const*, unsigned int)': /usr/include/boost/regex/v4/basic_regex.hpp:387: undefined reference to `boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits >

::do_assign(char const, char const, unsigned int)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > ::perl_matcher(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)': /usr/include/boost/regex/v4/perl_matcher.hpp:391: undefined reference to boost::re_detail_107100::perl_matcher<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > ::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::unwind_extra_block(bool)': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1371: undefined reference toboost::re_detail_107100::put_mem_block(void)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function void boost::re_detail_107100::raise_error<boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > (boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::error_type)': /usr/include/boost/regex/pattern_except.hpp:75: undefined reference to boost::re_detail_107100::raise_runtime_error(std::runtime_error const&)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::cpp_regex_traits_implementation<char>::error_string[abi:cxx11](boost::regex_constants::error_type) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:449: undefined reference to boost::re_detail_107100::get_default_error_string(boost::regex_constants::error_type)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::normal_iterator<char const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::extend_stack()': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:236: undefined reference to boost::re_detail_107100::get_mem_block()' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::cpp_regex_traits::transform_primary[abi:cxx11](char const, char const) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:966: undefined reference to `boost::re_detail_107100::cpp_regex_traits_implementation::transform_primary[abi:cxx11](char const, char const) const' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::cpp_regex_traits::transform[abi:cxx11](char const, char const) const': /usr/include/boost/regex/v4/cpp_regex_traits.hpp:962: undefined reference to `boost::re_detail_107100::cpp_regex_traits_implementation::transform[abi:cxx11](char const, char const) const' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_match()': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:1108: undefined reference to `boost::match_results<gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > ::maybe_assign(boost::match_results<gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > > const&)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::save_state_init::save_state_init(boost::re_detail_107100::saved_state**, boost::re_detail_107100::saved_state**)': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:110: undefined reference toboost::re_detail_107100::get_mem_block()' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function `boost::re_detail_107100::perl_matcher<gnu_cxx::__normal_iterator<char const, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::normal_iterator<char const, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match_imp()': /usr/include/boost/regex/v4/perl_matcher_common.hpp:221: undefined reference to boost::re_detail_107100::verify_options(unsigned int, boost::regex_constants::_match_flags)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::save_state_init::~save_state_init()': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined reference to `boost::re_detail_107100::put_mem_block(void)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_prefix()': /usr/include/boost/regex/v4/perl_matcher_common.hpp:346: undefined reference toboost::match_results<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > ::maybe_assign(boost::match_results<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<gnu_cxx::__normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > > > > > const&)' /usr/bin/ld: /usr/local/lib/libcifpp.a(CifValidator.o): in function boost::re_detail_107100::save_state_init::~save_state_init()': /usr/include/boost/regex/v4/perl_matcher_non_recursive.hpp:118: undefined reference toboost::re_detail_107100::put_mem_block(void*)' collect2: error: ld returned 1 exit status make: *** [GNUmakefile:147: mkdssp] Error 1 |

I hope you can help me as this error is above is above my abilities

kind regards, Jarek

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17#issuecomment-846906769, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47GI7EYFNXBGH6DOBPLTPIKUFANCNFSM45JFGYOQ.

-- Maarten L. Hekkelman http://www.hekkelman.com/

Jvdjvdjvd commented 3 years ago

Hi Maarten,

That could very well be, I did have some problems installing the boost library as well tbh. I will have a look and get back to you!

kind regards, Jarek

Jvdjvdjvd commented 3 years ago

Hi Maarten,

I've removed the old boost, checked the /usr/local/lib and installed them anew with sudo apt-get install libboost-dev libboost-doc. Unfortunately the make was still not succesfull :(

Could I have some files misplaced?

Kind regards, Jarek

mhekkel commented 3 years ago

Hi Jarek,

Did you do a make clean before rebuilding libcifpp and dssp? Just checking.

regards, -maarten

Op 24-5-2021 om 18:32 schreef Jvdjvdjvd:

Hi Maarten,

I've removed the old boost, checked the /usr/local/lib and installed them anew with |sudo apt-get install libboost-dev libboost-doc|. Unfortunately the make was still not succesfull :(

Could I have some files misplaced?

Kind regards, Jarek

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17#issuecomment-847178256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47GZEU5UYSG43G5CGILTPJ5TBANCNFSM45JFGYOQ.

Jvdjvdjvd commented 3 years ago

Hi Maarten, I think I did but my knowledge on packages is quite limited. I had partially installed the source and then switched over to apt-get install libboost-dev libboost-doc. I this removed both and reinstalled by apt-get.

I ran the apt-get purge libboost-dev libboost-doc(and/or remove). Then I cleared all files related to the boost as described in the thread https://stackoverflow.com/questions/50987027/how-to-uninstall-boost-without-knowing-the-installation-path

And

https://askubuntu.com/questions/325504/ubuntu-12-04-uninstall-boost-installed-from-source

I finally ran `apt-get autoremove' to clean dependencies. Did I miss a step in cleaning? Reinstalling was done by the apt-get again

Kind regards and many thanks for the help, Jarek

mhekkel commented 3 years ago

Hi Jarek,

That sounds all okay, but then after removing boost you should rebuild libcifpp and dssp by first running 'make clean' in both directories and then 'make'.

regards, -maarten

Op 24-05-2021 om 22:32 schreef Jvdjvdjvd:

Hi Maarten, I think I did but my knowledge on packages is quite limited. I had partially installed the source and then switched over to |apt-get install libtools-dev libtools-doc|. I this removed both and reinstalled by apt-get.

I ran the |apt-get purge libtools-dev libtools-dev doc|(and/or remove). Then I cleared all files related to the boost as described in the thread https://stackoverflow.com/questions/50987027/how-to-uninstall-boost-without-knowing-the-installation-path https://stackoverflow.com/questions/50987027/how-to-uninstall-boost-without-knowing-the-installation-path

And

https://askubuntu.com/questions/325504/ubuntu-12-04-uninstall-boost-installed-from-source https://askubuntu.com/questions/325504/ubuntu-12-04-uninstall-boost-installed-from-source

I finally ran `apt-get autoremove' to clean dependencies. Did I miss a step in cleaning? Reinstalling was done by the apt-get again

Kind regards and many thanks for the help, Jarek

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17#issuecomment-847315550, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47HCY5RUPTGN7YACJ5DTPKZW3ANCNFSM45JFGYOQ.

-- Maarten L. Hekkelman http://www.hekkelman.com/

Jvdjvdjvd commented 3 years ago

Hi Maarten, Thanks for the instruction, I did not make clean in those ibstalled dirs. I'll get back to you today whether that worked.

Kind regards, Jarek

Jvdjvdjvd commented 3 years ago

Thank you for the response. I r an over the steps and made sure to run make clean. Since the problem could very well be some mistake on my part dring isntallations I will summarize what I did this morning to try get it to work.

To be sure of no conflicting versions I took the steps:

sudo apt-get purge libboost-dev 
sudo apt-get purge libboost-doc
sudo apt-get purge libboost-all-dev
sudo apt-get autoremove
rm /usr/local/lib/libboost*
rm /usr/local/include/libboost*
rm /**/*/libboost*
cd ~/programs/libcifpp
make clean
cd ~/programs/mrc
sudo apt remove mrc
sudo apt purge libcifpp 
& dpkg: warning: while removing libcifpp, directory '/usr/local/share' not empty so not removed
cd ~/programs/dssp
make clean

I then reinstalled using

sudo apt install libboost-dev
sudo apt install libboost-all-dev
sudo apt install libboost-doc
dpkg -s libboost-dev | grep Version
dpkg -s libboost-all-dev | grep Version
>> Version: 1.71.0.0ubuntu2

I cleaned any leftovers for the clean repo

cd ~/programs/mrc
sudo ./configure
sudo make clean
cd ~programs
sudo rm -r dssp mrc libcifpp
git clone https://github.com/mhekkel/mrc
git clone https://github.com/PDB-REDO/libcifpp
git clone https://github.com/PDB-REDO/dssp

And then retried installation

cd ~/programs/mrc
sudo ./configure
sudo make
sudo checkinstall
>> Done. The new package has been installed and saved to

 /home/jarek/programs/mrc/mrc_1.2.3-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r mrc
cd ~/programs/libcifpp/
sudo ./configure
sudo make

>> /bin/sh /home/jarek/programs/libcifpp/libtool --silent --tag=CXX --mode=link g++ -std=c++17 -I/usr/include -g -O2 -pthread -Wall -Wno-multichar -I include -O2 -DCACHE_DIR='"/var/cache/libcifpp"' -DDATA_DIR='"/usr/local/share/libcifpp"' -DUSE_RSRC=1 -DNDEBUG -L/usr/lib/x86_64-linux-gnu -lz -lbz2 -version-info 1:1:1 -o libcifpp.la -rpath /usr/local/lib obj/AtomType.lo obj/BondMap.lo obj/Cif2PDB.lo obj/Cif++.lo obj/CifParser.lo obj/CifUtils.lo obj/CifValidator.lo obj/Compound.lo obj/PDB2Cif.lo obj/PDB2CifRemark3.lo obj/Point.lo obj/Secondary.lo obj/Structure.lo obj/Symmetry.lo obj/TlsParser.lo -lboost_iostreams -lboost_date_time -lboost_regex -lz -lbz2

sudo checkinstall

Here it warns that some files are installed in my home dir. (programs/libcifpp/data/components*). I chose to include these packages anyway.

>>  Done. The new package has been installed and saved to

 /home/jarek/programs/libcifpp/libcifpp_1.0.0-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r libcifpp

and then for the DSSP part:

cd ~/programs/dssp
sudo ./configure
sudo make

and then we are back to the familiar error. Any thought on what could be going on?

Kind regards, Jarek

mhekkel commented 3 years ago

Thanks for sharing this info. I see you're using checkinstall. I had never heard of that before. And I don't know if it works correctly. The Ubuntu help page warns that "your mileage may vary".

I'd like to see your new config.log in the dssp directory, to see if the internal error of configure is still about finding libboost.

regards, -maarten

Op 25-05-2021 om 10:14 schreef Jvdjvdjvd:

Thank you for the response. I r an over the steps and made sure to run |make clean|. Since the problem could very well be some mistake on my part dring isntallations I will summarize what I did this morning to try get it to work.

To be sure of no conflicting versions I took the steps:

|sudo apt-get purge libboost-dev sudo apt-get purge libboost-doc sudo apt-get purge libboost-all-dev sudo apt-get autoremove rm /usr/local/lib/libboost rm /usr/local/include/libboost rm /*//libboost* cd ~/programs/libcifpp make clean cd ~/programs/mrc sudo apt remove mrc sudo apt purge libcifpp & dpkg: warning: while removing libcifpp, directory '/usr/local/share' not empty so not removed cd ~/programs/dssp make clean |

I then reinstalled using

|sudo apt install libboost-dev sudo apt install libboost-all-dev sudo apt install libboost-doc dpkg -s libboost-dev | grep Version dpkg -s libboost-all-dev | grep Version >> Version: 1.71.0.0ubuntu2 |

I cleaned any leftovers for the clean repo

|cd ~/programs/mrc sudo ./configure sudo make clean cd ~programs sudo rm -r dssp mrc libcifpp git clone https://github.com/mhekkel/mrc git clone https://github.com/PDB-REDO/libcifpp git clone https://github.com/PDB-REDO/dssp |

And then retried installation

|cd ~/programs/mrc sudo ./configure sudo make sudo checkinstall >> Done. The new package has been installed and saved to /home/jarek/programs/mrc/mrc_1.2.3-1_amd64.deb You can remove it from your system anytime using: dpkg -r mrc | |cd ~/programs/libcifpp/ sudo ./configure sudo make >> /bin/sh /home/jarek/programs/libcifpp/libtool --silent --tag=CXX --mode=link g++ -std=c++17 -I/usr/include -g -O2 -pthread -Wall -Wno-multichar -I include -O2 -DCACHE_DIR='"/var/cache/libcifpp"' -DDATA_DIR='"/usr/local/share/libcifpp"' -DUSE_RSRC=1 -DNDEBUG -L/usr/lib/x86_64-linux-gnu -lz -lbz2 -version-info 1:1:1 -o libcifpp.la -rpath /usr/local/lib obj/AtomType.lo obj/BondMap.lo obj/Cif2PDB.lo obj/Cif++.lo obj/CifParser.lo obj/CifUtils.lo obj/CifValidator.lo obj/Compound.lo obj/PDB2Cif.lo obj/PDB2CifRemark3.lo obj/Point.lo obj/Secondary.lo obj/Structure.lo obj/Symmetry.lo obj/TlsParser.lo -lboost_iostreams -lboost_date_time -lboost_regex -lz -lbz2 sudo checkinstall |

Here it warns that some files are installed in my home dir. (programs/libcifpp/data/components*). I chose to include these packages anyway.

|>> Done. The new package has been installed and saved to /home/jarek/programs/libcifpp/libcifpp_1.0.0-1_amd64.deb You can remove it from your system anytime using: dpkg -r libcifpp |

and then for the DSSP part:

|cd ~/programs/dssp sudo ./configure sudo make |

and then we are back to the familiar error. Any thought on what could be going on?

Kind regards, Jarek

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PDB-REDO/dssp/issues/17#issuecomment-847655410, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNA47CL5BEPPCBSUWBCTTTTPNL4RANCNFSM45JFGYOQ.

-- Maarten L. Hekkelman http://www.hekkelman.com/

Jvdjvdjvd commented 3 years ago

for the first installation is simply used make install but used check install from then on to have a bit more overview on the packages I could have to delete. If you want I could check again using make install?

I attached the log files, hopefully they help :) config.log

Kind regards, Jarek

mhekkel commented 3 years ago

That's the one from libcifpp, could you also send me the one from the dssp directory?

Jvdjvdjvd commented 3 years ago

I have replaced the file in the original comment. It should be correct now

mhekkel commented 3 years ago

Do you have CCP4 installed?

Jvdjvdjvd commented 3 years ago

I dont.

mhekkel commented 3 years ago

The complete logic of configuring of both libcif++ and dssp has changed, this issue should be fixed now.