-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation fails on Ubuntu 22.04.2 #24
Comments
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:
***@***.***>
|
Hitting the same issue... It's not axiom that uses rpc. But gcl. I've already got gcl up and running. If I knew how to tell axiom to use the system's gcl... well, I'd like to know. EDIT: RedHat requires a login to see the "fix" that @daly points to. EDIT: Worse and worse... Created an account, just for that discussion, and... "SUBSCRIBER EXCLUSIVE CONTENT. An active Red Hat Subscription is required to post and respond to discussions." Installing the ubuntu package @pbroadbery did you get any further ? |
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
The text was updated successfully, but these errors were encountered: