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

mpb 1.5 installation on osx 10.10.4 #7

Closed
ehchen opened this issue Jul 16, 2015 · 5 comments
Closed

mpb 1.5 installation on osx 10.10.4 #7

ehchen opened this issue Jul 16, 2015 · 5 comments

Comments

@ehchen
Copy link

ehchen commented Jul 16, 2015

It seems when I try to configure MPB, I get the following error, even though I had done "brew install fftw" ran without errors:

configure: error: The FFTW libraries could not be found. Make sure FFTW is installed, and that LDFLAGS and CPPFLAGS are set appropriately if necessary.

I did in fact set my LDFLAGS and CPPFLAGs before running ./configure:
export LDFLAGS=-L/usr/local/opt/fftw/lib
export CPPFLAGS=-I/usr/local/opt/fftw/include

@stevengj
Copy link
Collaborator

Look in the config.log file for "-lfftw3" and see what error is occurring when it tries to link the libfftw3 library.

@JohnWeiner
Copy link

I have the same problem two years later, and here is the what one finds:
configure:16663: checking for fftw_execute in -lfftw3
configure:16696: gcc -o conftest -g -O2 -Wall -W -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -pedantic -I/usr/local/include-I/usr/local/Cellar/hdf5/1.10.1/include-I/usr/local/opt/fftw/include-I/usr/local/Cellar/fftw/3.3.6-pl2/include -L/usr/local/lib-L/usr/local/Cellar/hdf5/1.10.1/lib-L/usr/local/opt/fftw/lib-L/usr/local/Cellar/fftw/3.3.6-pl2/lib conftest.c -lfftw3 -lm >&5
ld: library not found for -lfftw3
ac_cv_lib_fftw3_fftw_execute=no

@stevengj
Copy link
Collaborator

stevengj commented Jul 6, 2017

-I/usr/local/include-I/usr/local/Cellar/hdf5/1.10.1/include-I/usr/local/opt/fftw/include-I/usr/local/Cellar/fftw/3.3.6-pl2/include is clearly wrong because the -I options aren't separated by spaces. See also #20.

Please don't file multiple github issues for the same problem. Just add additional comments to the original issue as needed.

@stevengj stevengj closed this as completed Jul 6, 2017
@JohnWeiner
Copy link

JohnWeiner commented Jul 6, 2017 via email

@stevengj
Copy link
Collaborator

stevengj commented Jul 6, 2017

No problem.

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

3 participants