Skip to content
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

Open
pbroadbery opened this issue Feb 26, 2023 · 4 comments
Open

Compilation fails on Ubuntu 22.04.2 #24

pbroadbery opened this issue Feb 26, 2023 · 4 comments

Comments

@pbroadbery
Copy link

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


@daly
Copy link
Owner

daly commented Feb 26, 2023 via email

@pbroadbery
Copy link
Author

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.

@daly
Copy link
Owner

daly commented Feb 26, 2023 via email

@gl-yziquel
Copy link

gl-yziquel commented Jul 26, 2024

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 libtirpc-dev and building with `make CFLAGS=-I/usr/include/tirpc' indeed make the build progress to the linking errors mentionned above in #14 and #6. I confirm.

@pbroadbery did you get any further ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants