Git Product home page Git Product logo

Comments (12)

omershlo avatar omershlo commented on August 25, 2024

Can you check what is the path of your pari.h file please?

from class.

kigawas avatar kigawas commented on August 25, 2024

in which folder? I only see it in pari-2.11.2/src/headers/

from class.

omershlo avatar omershlo commented on August 25, 2024

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 ?

from class.

kigawas avatar kigawas commented on August 25, 2024

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

from class.

kigawas avatar kigawas commented on August 25, 2024

And didn't find clues in makefiles. Do you know where it's installed by default?

from class.

omershlo avatar omershlo commented on August 25, 2024

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)

from class.

kigawas avatar kigawas commented on August 25, 2024

libpari is in ./depend/pari-2.11.2/Olinux-x86_64/
gp is in ./depend/pari-2.11.2/

from class.

kigawas avatar kigawas commented on August 25, 2024

didn't see pari.h

from class.

omershlo avatar omershlo commented on August 25, 2024

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

from class.

kigawas avatar kigawas commented on August 25, 2024

need to sudo make install first

it's related with permission, can there be an option to install to ~/.local/?

from class.

omershlo avatar omershlo commented on August 25, 2024

ok, so sudo is the issue, make sense.
Any idea how to solve it without asking to put your password?

from class.

kigawas avatar kigawas commented on August 25, 2024

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

from class.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.