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

make error on 3.5.0-42-generic #65~precise1-Ubuntu x86_64 #9

Closed
ghost opened this issue Nov 11, 2013 · 5 comments
Closed

make error on 3.5.0-42-generic #65~precise1-Ubuntu x86_64 #9

ghost opened this issue Nov 11, 2013 · 5 comments

Comments

@ghost
Copy link

ghost commented Nov 11, 2013

make[4]: Entering directory /home/xxx/src/fftw3/dft/scalar/codelets' make[4]: *** No rule to make targetn1_3.c', needed by `all'. Stop.

I am using the git repository.

@matteo-frigo
Copy link
Member

Phil-Wong notifications@github.com writes:

make[4]: Entering directory /home/philwong/src/fftw3/dft/scalar/codelets'
make[4]: *** No rule to make targetn1_3.c', needed by `all'. Stop.

Please state the exact actions that you performed that resulted in this
bug.

(E.g.: zcat fftw-.tar.gz | tar xf -; cd fftw; ./configure
--SOMETHING; make -FLAGS)

@ghost
Copy link
Author

ghost commented Nov 13, 2013

thanks,

What I have done

sudo apt-get install ocaml autoconf automake libtool
git clone https://github.com/FFTW/fftw3.git
cd fftw3
./bootstrap.sh
./configre
make

result

Making all in dft
make[2]: Entering directory /home/xxx/src/fftw3/dft' Making all in scalar make[3]: Entering directory/home/xxx/src/fftw3/dft/scalar'
Making all in codelets
make[4]: Entering directory /home/xxx/src/fftw3/dft/scalar/codelets' make[4]: *** No rule to make targetn1_3.c', needed by all'. Stop. make[4]: Leaving directory/home/xxx/src/fftw3/dft/scalar/codelets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory /home/xxx/src/fftw3/dft/scalar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/xxx/src/fftw3/dft'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xxx/src/fftw3'
make: *** [all] Error 2

@stevengj
Copy link
Contributor

You need to ./configure --enable-maintainer-mode. (The bootstrap.sh script already does this for you.)

@brucellino
Copy link

I am experiencing the same bug with this code on the master branch. I'm switching to tag 3.3.3

@stevengj
Copy link
Contributor

This is not a bug. To build from git, you need to use bootstrap.sh the first time you run make as explained above, not configure with no arguments, in order to generate the FFTW sources.

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