Closed kigawas closed 4 years ago
Can you check what is the path of your pari.h file please?
in which folder? I only see it in pari-2.11.2/src/headers/
the code suppose to first install Pari library on your machine, this results among other things with the pari.h file in one of the OS path for include files.
for example on my mac, The OS knows to look in /usr/local/include
. There it will find a folder name pari
and inside of it there's pari.h
.
Can you make sure that in your "include" path there's pari/pari.h
and if not - find where it was installed and add it to your global variables ?
Bindgen is searching
clang_args: ["-isystem", "/usr/local/include", "-isystem", "/usr/lib/clang/8.0.1/include", "-isystem", "/usr/include/x86_64-linux-gnu", "-isystem", "/usr/include"], input_header: Some("wrapper.h"),
But none of them has a pari
folder
And didn't find clues in makefiles. Do you know where it's installed by default?
can you run a find
command to see where pari.h
is located ?
also: please check you have libpari
file.
(make sure Pari is installed: check that Pari was installed. https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.11.1/users.pdf appendix A: I think running gp should verify it)
libpari is in ./depend/pari-2.11.2/Olinux-x86_64/
gp is in ./depend/pari-2.11.2/
didn't see pari.h
so it means it was never installed on your machine. That's weird. Can you maybe try to install it manually - see if there's any errors in the process?
inside depend/pari-2.11.2
run ./Configure
then make all
then make install-lib-sta
need to sudo make install
first
it's related with permission, can there be an option to install to ~/.local/
?
ok, so sudo
is the issue, make sense.
Any idea how to solve it without asking to put your password?
It depends on the user, if it's set without password, it won't ask, otherwise you'll need to input password
About how to configure it, see https://askubuntu.com/questions/147241/execute-sudo-without-password
ubuntu 18.04, llvm 8