I have extracted version 5.2.0 on my computer and am running Ubuntu 20.04.1. I have also followed the instructions on the BUILD_LINUX file that comes with the distribution. I believe I have installed the dependencies. When I navigate into the "release_5-2-0" directory and run "make all," I see the following:
(base) nathan@NathanLaptop:~/release_5-2-0$ make all
cd /home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014; make
make[1]: Entering directory '/home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014'
g++ -O3 -Wall -Wextra -static -Wno-char-subscripts -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__LINUX__ -IMSToolkit/include -IComet
Search Comet.cpp -c
In file included from CometSearch/Common.h:40,
from Comet.cpp:18:
MSToolkit/include/MSReader.h:96:80: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
96 | void writeFile(const char* c, MSFileFormat ff, MSObject& m, char* sha1Report='\0');
| ^~~~
| |
| char
Comet.cpp: In function ‘void LoadParameters(char*, CometInterfaces::ICometSearchManager*)’:
Comet.cpp:235:24: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
235 | sprintf(szVersion, "%s %s %s", szVersion, szRev1, szRev2);
| ^~~~~~~~~ ~~~~~~~~~
Comet.cpp:1037:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wu
nused-result]
1037 | fgets(szParamBuf, SIZE_BUF, fp);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Comet.cpp:1077:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-W
unused-result]
1077 | fgets(szParamBuf, SIZE_BUF, fp);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:20: Comet.o] Error 1
make[1]: Leaving directory '/home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014'
make: *** [extern/Makefile:353: /home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014/comet] Error 2
(base) nathan@NathanLaptop:~/release_5-2-0$ sudo make all
cd /home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014; make
make[1]: Entering directory '/home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014'
g++ -O3 -Wall -Wextra -static -Wno-char-subscripts -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__LINUX__ -IMSToolkit/include -IComet
Search Comet.cpp -c
In file included from CometSearch/Common.h:40,
from Comet.cpp:18:
MSToolkit/include/MSReader.h:96:80: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive]
96 | void writeFile(const char* c, MSFileFormat ff, MSObject& m, char* sha1Report='\0');
| ^~~~
| |
| char
Comet.cpp: In function ‘void LoadParameters(char*, CometInterfaces::ICometSearchManager*)’:
Comet.cpp:235:24: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
235 | sprintf(szVersion, "%s %s %s", szVersion, szRev1, szRev2);
| ^~~~~~~~~ ~~~~~~~~~
Comet.cpp:1037:9: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wu
nused-result]
1037 | fgets(szParamBuf, SIZE_BUF, fp);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Comet.cpp:1077:12: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-W
unused-result]
1077 | fgets(szParamBuf, SIZE_BUF, fp);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:20: Comet.o] Error 1
make[1]: Leaving directory '/home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014'
make: *** [extern/Makefile:353: /home/nathan/release_5-2-0/build/gnu-x86_64/artifacts/comet_source_2018014/comet] Error 2
Does anyone know what could be happening here?