agamemnon icon indicating copy to clipboard operation
agamemnon copied to clipboard

Installation fails

Open SSmith-NUIG opened this issue 2 years ago • 0 comments

Hi, unable to install the program on a linux HPC I'm using. Some of the errors:

[ 12%] No skip-update step for 'libseqlib'
[ 13%] Performing configure step for 'libseqlib'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/data3/ssmith/agame/agamemnon/pufferfish/external/seqlib/missing: Unknown `--is-lightweight' option
Try `/data3/ssmith/agame/agamemnon/pufferfish/external/seqlib/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
[ 22%] Performing build step for 'libSetCover'
Generating dependencies...
Main.cpp: In function ‘set_data create_random_set_data(int, int)’:
Main.cpp:77:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(ret_struct.max_weight < element_counter){
            ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Main.cpp: In function ‘set_data read_in_set_data(char*)’:
Main.cpp:165:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(ret_struct.max_weight < element_counter){
            ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Main.cpp: In function ‘int main()’:
Main.cpp:205:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0; i < set_data.set_count; i++){
                    ~~^~~~~~~~~~~~~~~~~~~~
[ 23%] Performing install step for 'libSetCover'
[ 24%] Completed 'libSetCover'
[ 24%] Built target libSetCover
Scanning dependencies of target graphdump
[ 29%] Building CXX object external/twopaco/graphdump/CMakeFiles/graphdump.dir/graphdump.cpp.o
In file included from /data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/../common/streamfastaparser.h:8:0,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:18:
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/mutex.h:21:140: note: #pragma message: TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.
 #pragma message("TBB Warning: tbb/mutex.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
                                                                                                                                            ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp: In function ‘int dumpGraphMain(std::vector<std::basic_string<char> >&)’:
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:922:48: error: ‘make_unique’ is not a member of ‘std’
             std::unique_ptr<Gfa1Generator> g = std::make_unique<Gfa1Generator>();
                                                ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:922:48: note: suggested alternatives:
In file included from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/task.h:23:0,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/parallel_for.h:24,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/parallel_sort.h:23,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:15:
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
     std::unique_ptr<T> make_unique(Args&&... args) {
                        ^
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:922:78: error: expected primary-expression before ‘>’ token
             std::unique_ptr<Gfa1Generator> g = std::make_unique<Gfa1Generator>();
                                                                              ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:922:80: error: expected primary-expression before ‘)’ token
             std::unique_ptr<Gfa1Generator> g = std::make_unique<Gfa1Generator>();
                                                                                ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:932:54: error: ‘make_unique’ is not a member of ‘std’
             std::unique_ptr<Gfa1BinaryGenerator> g = std::make_unique<Gfa1BinaryGenerator>();
                                                      ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:932:54: note: suggested alternatives:
In file included from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/task.h:23:0,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/parallel_for.h:24,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/parallel_sort.h:23,
                 from /data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:15:
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
     std::unique_ptr<T> make_unique(Args&&... args) {
                        ^
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
/data3/ssmith/agame/agamemnon/pufferfish/external/install/include/tbb/tbb_stddef.h:464:24: note:   ‘tbb::internal::make_unique’
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:932:90: error: expected primary-expression before ‘>’ token
             std::unique_ptr<Gfa1BinaryGenerator> g = std::make_unique<Gfa1BinaryGenerator>();
                                                                                          ^
/data3/ssmith/agame/agamemnon/pufferfish/external/twopaco/graphdump/graphdump.cpp:932:92: error: expected primary-expression before ‘)’ token
             std::unique_ptr<Gfa1BinaryGenerator> g = std::make_unique<Gfa1BinaryGenerator>();
                                                                                            ^
make[2]: *** [external/twopaco/graphdump/CMakeFiles/graphdump.dir/graphdump.cpp.o] Error 1
make[1]: *** [external/twopaco/graphdump/CMakeFiles/graphdump.dir/all] Error 2
make: *** [all] Error 2
  inflating: hisat2-2.1.0/example/reads/reads_1.fa  
  inflating: hisat2-2.1.0/example/reads/reads_2.fa  
  inflating: hisat2-2.1.0/hisat2_extract_snps_haplotypes_UCSC.py  
mkdir: cannot create directory ‘binaries’: File exists
mv: cannot move ‘pufferfish’ to ‘binaries/pufferfish’: File exists
mkdir: cannot create directory ‘cedar’: File exists
cp: cannot stat ‘pufferfish’: No such file or directory
mv: cannot stat ‘cedar’: No such file or directory
mv: cannot move ‘hisat2’ to ‘binaries/hisat2’: File exists
chmod: cannot access ‘pufferfish/pufferfish’: No such file or directory
chmod: cannot access ‘cedar/cedar’: No such file or directory

SSmith-NUIG avatar Jul 08 '22 10:07 SSmith-NUIG