nicos-angelopoulos / real

Integrative statistics with R and logic programming
http://stoics.org.uk/~nicos/sware/real
4 stars 1 forks source link

Problems installing #4

Closed JeanChristopheRohner closed 2 years ago

JeanChristopheRohner commented 2 years ago

Hi I am on MacOs 10.15.7 with SWI Prolog version 8.5.8. When i do pack_install(real) i get errors:

ERROR: clang: error: linker command failed with exit code 1 (use -v to see invocation)
% make: *** [lib/x86_64-darwin/real.so] Error 1
ERROR: Process "process(/usr/bin/make,[])": exit status: 2
ERROR: In:
ERROR:   [26] throw(error(process_error(...,...),_28622))
ERROR:   [22] build_tools:build_step(build,_28666{bin_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',env:[...|...],inquiry:true,pack:real,pack_version:1,src_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',url:'http://stoics.org.uk/~nicos/sware/packs/real/real-2.1.tgz'},_28666{bin_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',env:[...|...],inquiry:true,pack:real,pack_version:1,src_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',url:'http://stoics.org.uk/~nicos/sware/packs/real/real-2.1.tgz'}) at /Applications/SWI-Prolog.app/Contents/swipl/library/build/tools.pl:110
ERROR:   [21] apply:foldl_([build,...|...],build_tools:build_step,_28666{bin_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',env:[...|...],inquiry:true,pack:real,pack_version:1,src_dir:'/Users/JCRohner/.local/share/swi-prolog/pack/real',url:'http://stoics.org.uk/~nicos/sware/packs/real/real-2.1.tgz'},_28774) at /Applications/SWI-Prolog.app/Contents/swipl/library/apply.pl:316
ERROR:   [17] build_tools:build_steps('<garbage_collected>','/Users/JCRohner/.local/share/swi-prolog/pack/real','<garbage_collected>') at /Applications/SWI-Prolog.app/Contents/swipl/library/build/tools.pl:103
ERROR:   [16] prolog_pack:post_install_foreign(real,'/Users/JCRohner/.local/share/swi-prolog/pack/real','<garbage_collected>') at /Applications/SWI-Prolog.app/Contents/swipl/library/prolog_pack.pl:1164
ERROR:   [15] prolog_pack:pack_post_install(real,'/Users/JCRohner/.local/share/swi-prolog/pack/real',[inquiry(true),...|...]) at /Applications/SWI-Prolog.app/Contents/swipl/library/prolog_pack.pl:1102
ERROR:    [9] toplevel_call('<garbage_collected>') at /Applications/SWI-Prolog.app/Contents/swipl/boot/toplevel.pl:1162
ERROR: 
ERROR: Note: some frames are missing due to last-call optimization.
ERROR: Re-run your program in debug mode (:- debug.) to get more detail.

What can I do?

/JCR

nicos-angelopoulos commented 2 years ago

Not familiar with how support for MacOS has evolved in SWI-Prolog. Your best bet is to ask the question at the SWI discourse forum: https://swi-prolog.discourse.group/