No, I did not install any dependency manually.
I lost my console output. Where can I find a log file so I can check and see If there was any other error somewhere in the middle?
I installed libarchive
(Also set LDFLAGS and CFLAGS)
Now doc generation seems to be fine but I get a new error
[ 76%] Built target http.doc.html
Scanning dependencies of target nlp.doc.html
[ 76%] Generating nlp.tex
[ 76%] Generating snowball.tex
[ 76%] Generating isub.tex
[ 76%] Generating nlp.html
[ 76%] Built target nlp.doc.html
[ 76%] Built target paxos
[ 77%] Built target paxos.doc.html
[ 77%] Linking C shared module archive4pl.so
Undefined symbols for architecture x86_64:
"_archive_entry_perm", referenced from:
_archive_header_prop in archive4pl.c.o
"_archive_read_support_filter_all", referenced from:
_archive_open_stream in archive4pl.c.o
"_archive_write_set_format_gnutar", referenced from:
_archive_open_stream in archive4pl.c.o
"_archive_write_set_format_iso9660", referenced from:
_archive_open_stream in archive4pl.c.o
"_archive_write_set_format_xar", referenced from:
_archive_open_stream in archive4pl.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [packages/archive/archive4pl.so] Error 1
make[1]: *** [packages/archive/CMakeFiles/plugin_archive4pl.dir/all] Error 2
make: *** [all] Error 2
I also find these in the log
-- Could NOT find LibUUID (missing: LIBUUID_INCLUDE_DIR UUID_LIBRARY)
-- Could NOT find ODBC (missing: ODBC_INCLUDE_DIR)
-- Optional package Berkeley DB was not found
-- No junit.jar. Dropping JPL tests.
-- Could NOT find Qt5Widgets (missing: Qt5Widgets_DIR)
None of these missing pieces is vital. Dunno about libarchive. Possibly a wrong version or a mixup from the old cmake run. You can run cmake -U '*' option ... to make it forget about what it found the previous run. Also watch the output and/or search in CMakeCache.txt to see it picked up the right versions. On MacOS you often have to deal with MacOS providing old and/or incompatible libraries with the same name. CMake looks for the Macports and Homebrew installations to find libraries if these are installed in the default location.
Since I started with swivm it seems to be working fine (Donāt know how to verify fully).
?- check_installation. is always a good starting point.
Maybe you could also try to re-install this version with swivm again (just temporarily move ~/.swivm/versions/8.1.5 somewhere else), just to be sure that there is no error with swivm in general.
This is probably a temporary issue. libarchive is for normal operation only required by the package manager (and of course you may use it in your application). It is also an indirect dependency for building the documentation which is mostly done using Prolog programs. Ideally the module structure needs to be improved a bit to avoid this dependency.
You need the OpenSSL dependency. I donāt think we have an up-to-date list for the dependencies on OpenSUSE. The Redhat version is probably a good starting point https://www.swi-prolog.org/build/Redhat.html
Wow, thank you Jan for pointing me to the right direction.I had installed the package āopensslā but after installing the ālibopenssl-3-develā package the error is resolved.
I have installed all other dependencies it was complaining about,but even after building with these "libuuid-devel ","libuuid-devel-static " and āuuid-develā installed, it is not able to find the ālibUUIDā dependency:
Could NOT find LibUUID (missing: LIBUUID_INCLUDE_DIR)