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

Installation issues (and solutions) #35

Open
dpmerrell opened this issue Apr 10, 2023 · 0 comments
Open

Installation issues (and solutions) #35

dpmerrell opened this issue Apr 10, 2023 · 0 comments

Comments

@dpmerrell
Copy link

dpmerrell commented Apr 10, 2023

Hello,

I would guess these installation issues are environment-specific. But I'll mention them here anyways:

  • Installing NTL. I found that I needed to add an -fPIC flag during the ./configure step of installing NTL. Specifically, I called
    $ ./configure PREFIX=$HOME/latte CXX="g++ -std=c++11 -fPIC" NTL_GMP_LIP=on

  • Installing LattE. I found that I needed to add a -pthread flag during the ./configure step. That is, I called
    $ ./configure PREFIX=$HOME/latte GXX="g++ -std=c++11" LDFLAGS="-pthread" --with-default=$HOME/latte

Hopefully someone finds this helpful!

EDIT: For reference: this was on a PC running Ubuntu 20.

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

1 participant