Skip to content

Unable to install PETsc #3273

Nov 28, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

That's OK. The installation log you shared is sufficient. It states

Cannot build Bison. It requires either "flex" or "lex" in PATH. Please install flex and retry.

flex is listed as one of our system requirements here. I think a simple apt install flex bison will fix things for you though it may be good to also install the other dependencies.

Since you're on Ubuntu and we claim to install these dependencies for you this might be a bug. But regardless this should hopefully fix things for you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@CarsonKipp
Comment options

@connorjward
Comment options

Answer selected by connorjward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants