daly / axiom

Axiom is a free, open source computer algebra system

Home Page:http://axiom.axiom-developer.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation fails on Ubuntu 22.04.2

pbroadbery opened this issue · comments

Hi,

I tried to build axiom from github as per the instructions - any idea how to fix?
My guess is that I'm missing an rpc related package, but a quick google didn't reveal a good candidate.
Alternatively, can one disable the requirement for the library?

End of build log below..

Thanks,

Peter

in file included from funlink.c:607:
xdrfuns.c:30:10: fatal error: rpc/rpc.h: No such file or directory
   30 | #include <rpc/rpc.h>
      |          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [makefile:40: funlink.o] Error 1
rm read.c
make[3]: Leaving directory '/home/pab/Work/axiom/axiom/lsp/gcl-2.6.12/o'
make[2]: *** [makefile:74: unixport/saved_pre_gcl] Error 2
make[2]: Leaving directory '/home/pab/Work/axiom/axiom/lsp/gcl-2.6.12'
/bin/sh: 6: unixport/saved_gcl: not found
make[1]: *** [Makefile:23: gcldir] Error 127
make[1]: Leaving directory '/home/pab/Work/axiom/axiom/lsp'
make: *** [Makefile:201: lspdir] Error 2


As an update, installing tirpc (sudo apt-get install libtrpc-dev) and adding 'CFLAGS=-I/usr/include/tirpc' to the build helped, but only as far as to reproduce the problems in #14 and #6.
I'll see if I can get round those in a few days.