qmarcou / IGoR

IGoR is a C++ software designed to infer V(D)J recombination related processes from sequencing data. Find full documentation at:
https://qmarcou.github.io/IGoR/
GNU General Public License v3.0
47 stars 25 forks source link

installation from source #70

Open gszep opened 1 year ago

gszep commented 1 year ago

Describe the bug I performed the following operations on my machine to install IGoR from source

git clone git@github.com:qmarcou/IGoR.git
cd IGoR
./autogen.sh
./configure
make

which fails with the following error

g++ -DHAVE_CONFIG_H -I. -I..    -I./../libs/jemalloc/include/jemalloc -I./../libs/gsl_sub -fopenmp -DIGOR_DATA_DIR=\"/usr/local/share/igor\" -g -O2 -MT igor-ExtractFeatures.o -MD -MP -MF .deps/igor-ExtractFeatures.Tpo -c -o igor-ExtractFeatures.o `test -f 'ExtractFeatures.cpp' || echo './'`ExtractFeatures.cpp
In file included from ExtractFeatures.h:30,
                 from ExtractFeatures.cpp:26:
CDR3SeqData.h:20:10: error: ‘string’ in namespace ‘std’ does not name a type
   20 |     std::string CDR3nt;
      |          ^~~~~~
CDR3SeqData.h:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
  +++ |+#include <string>
    1 | 
CDR3SeqData.h:21:10: error: ‘string’ in namespace ‘std’ does not name a type
   21 |     std::string CDR3aa;
      |          ^~~~~~
CDR3SeqData.h:21:5: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
   21 |     std::string CDR3aa;
      |     ^~~
CDR3SeqData.h:22:10: error: ‘string’ in namespace ‘std’ does not name a type
   22 |     std::string strData();
      |          ^~~~~~
CDR3SeqData.h:22:5: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
   22 |     std::string strData();
      |     ^~~
make[2]: *** [Makefile:632: igor-ExtractFeatures.o] Error 1
make[2]: Leaving directory '/home/grishaszep/Documents/repos/IGoR/igor_src'
make[1]: *** [Makefile:554: all-recursive] Error 1
make[1]: Leaving directory '/home/grishaszep/Documents/repos/IGoR'
make: *** [Makefile:387: all] Error 2

System information:

Configure Details

===============================================================================
jemalloc version   : 0.0.0-0-g0000000000000000000000000000000000000000
library revision   : 2

CONFIG             : --disable-option-checking --prefix=/usr/local --cache-file=/dev/null --srcdir=.
CC                 : gcc
CONFIGURE_CFLAGS   : -std=gnu11 -Wall -Wsign-compare -Wundef -pipe -g3 -fvisibility=hidden -O3 -funroll-loops
SPECIFIED_CFLAGS   : 
EXTRA_CFLAGS       : 
CPPFLAGS           : -D_GNU_SOURCE -D_REENTRANT
CXX                : g++
CONFIGURE_CXXFLAGS : -Wall -g3 -fvisibility=hidden -O3
SPECIFIED_CXXFLAGS : 
EXTRA_CXXFLAGS     : 
LDFLAGS            : 
EXTRA_LDFLAGS      : 
DSO_LDFLAGS        : -shared -Wl,-soname,$(@F)
LIBS               : -lm -lstdc++ -lpthread
RPATH_EXTRA        : 

XSLTPROC           : false
XSLROOT            : 

PREFIX             : /usr/local
BINDIR             : /usr/local/bin
DATADIR            : /usr/local/share
INCLUDEDIR         : /usr/local/include
LIBDIR             : /usr/local/lib
MANDIR             : /usr/local/share/man

srcroot            : 
abs_srcroot        : /home/grishaszep/Documents/repos/IGoR/libs/jemalloc/
objroot            : 
abs_objroot        : /home/grishaszep/Documents/repos/IGoR/libs/jemalloc/

JEMALLOC_PREFIX    : 
JEMALLOC_PRIVATE_NAMESPACE
                   : je_
install_suffix     : 
malloc_conf        : 
autogen            : 0
debug              : 0
stats              : 1
prof               : 0
prof-libunwind     : 0
prof-libgcc        : 0
prof-gcc           : 0
fill               : 1
utrace             : 0
xmalloc            : 0
lazy_lock          : 0
cache-oblivious    : 1
cxx                : 1
===============================================================================
=== configuring in igor_src (/home/gszep/Documents/repos/IGoR/igor_src)
configure: WARNING: no configuration information is in igor_src