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

Error while installing on Mac #10

Open
vsumaria opened this issue Feb 27, 2019 · 3 comments
Open

Error while installing on Mac #10

vsumaria opened this issue Feb 27, 2019 · 3 comments

Comments

@vsumaria
Copy link

I followed the steps mentioned in the README.Macos for installing P4vasp on Macbook Pro (MacOS Mohave, v.10.14..3), but am having some issue.

I get the following error:

g++-7 -fpic -g -DPY_DOMEXC_MODULE=""xml.dom."" -Ipython -c "import sys;import os.path;print os.path.join(sys.prefix,\"include\",\"python\"+sys.version[:3])" -Iinclude -c string.cpp -o string.o
/bin/sh: g++-7: command not found
make[1]: *** [string.o] Error 127
make: *** [p4vasp] Error 2

I am unable to find a way to fix this error.

@Chengcheng-Xiao
Copy link
Contributor

Chengcheng-Xiao commented Apr 8, 2019

Sorry for the delayed response.

Since the homebrew developers updated the gcc version to 8, you need to brew install gcc@7 for this to work.

Please see #12 for an updated MacOS compilation process.

jrbp pushed a commit to jrbp/p4vasp that referenced this issue Mar 1, 2023
Resolve "Selection refactoring"

Closes orest-d#10

See merge request schlipf/py4vasp!10
jrbp pushed a commit to jrbp/p4vasp that referenced this issue Mar 1, 2023
Establish a sphinx compatible documentation of the API of all modules. The goal is to document all functions a user might use not the inner workings of the classes.
@jlabs06
Copy link

jlabs06 commented Jun 7, 2023

brew install gcc@7 doesn't work on newer MacOS versions. I get following warning.

Warning: gcc@7 has been deprecated because it is deprecated upstream!
gcc@7: This formula either does not compile or function as expected on macOS
versions newer than Monterey due to an upstream incompatibility.
gcc@7: The x86_64 architecture is required for this software.
Error: gcc@7: Unsatisfied requirements failed this build.

@nluck003
Copy link

nluck003 commented Feb 3, 2024

@jlabs06 I am running into the same issue when trying to install GCC 7

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

4 participants