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
This is an Ubuntu problem. See
https://access.redhat.com/discussions/4780341
for a fix.
Let me know if it works.
I don't recall any use of rpc in Axiom but who knows
what evil lies beyond the C.
…On Sun, Feb 26, 2023 at 7:17 AM pbroadbery ***@***.***> wrote:
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
—
Reply to this email directly, view it on GitHub
<#24>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAKLNKPDWOP3AIQBPX4C3WZNCV3ANCNFSM6AAAAAAVINZQEA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Perhaps it is the version of the C compiler you're using?
I usually use C99.
…On Sun, Feb 26, 2023 at 4:06 PM pbroadbery ***@***.***> wrote:
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
<#14> and #6
<#6>.
I'll see if I can get round those in a few days.
—
Reply to this email directly, view it on GitHub
<#24 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAKLMJ6DNQEVVDDUB6C4LWZPAWVANCNFSM6AAAAAAVINZQEA>
.
You are receiving this because you commented.Message ID:
***@***.***>