using --prefix=/usr/local should install fftw3 so the headers go into /usr/local/include and the libs go into /usr/local/lib
Also please reply to the list next time On 2012-03-10 05:23:46PM -0800, Wholly Peach wrote: > Dear Peter, > > When I install fftw3, I use the following: > ----- > Unpack the FFTW distribution, cd to that directory and issue > ./configure --enable-sse --enable-float > then > make > and > make install > ---- > Will you please tell me how to have the fftw3 properly installed in > /usr/local/lib? > > I am looking forward to getting a reply from you. > > Cheers, > Wholley > > > ________________________________ > From: Peter C. Lai <p...@uab.edu> > To: Wholly Peach <whollype...@yahoo.com>; Discussion list for GROMACS users > <gmx-users@gromacs.org> > Sent: Sunday, 11 March 2012 11:20 AM > Subject: Re: [gmx-users] gromacs 4.5.5 cygwin installation error message > > Is fftw3 properly installed in /usr/local/lib? > > On 2012-03-10 03:51:12PM -0800, Wholly Peach wrote: > > Dear All, > > > > For Gromacs installation, my configure command is: > > > > ./configure --enable-shared LDFLAGS='-L/usr/local/lib' --disable-threads. > > After make, the error message is as following. > > I am looking forward to getting a reply from you on how to avoid the error > > message. > > Wholly > > > > > > ..... > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2bb5): undefined reference > > to `_fftwf_destroy_plan' > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2bcb): undefined reference > > to `_fftwf_destroy_plan' > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2be1): undefined reference > > to `_fftwf_destroy_plan' > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2bf7): more undefined > > references to `_fftwf_destroy_plan' follow > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2c37): undefined reference > > to `_fftwf_free' > > .libs/gmx_fft_fftw3.o:gmx_fft_fftw3.c:(.text+0x2d17): undefined reference > > to `_fftwf_free' > > collect2: ld returned 1 exit status > > Makefile:387: recipe for target `libmd.la' failed > > make[3]: *** [libmd.la] Error 1 > > make[3]: Leaving directory > > `/cygdrive/d/GROMACSNEW/GROMACS455/gromacs-4.5.5/src/mdlib' > > Makefile:302: recipe for target `all-recursive' failed > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory > > `/cygdrive/d/GROMACSNEW/GROMACS455/gromacs-4.5.5/src' > > Makefile:238: recipe for target `all' failed > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > > `/cygdrive/d/GROMACSNEW/GROMACS455/gromacs-4.5.5/src' > > Makefile:347: recipe for target `all-recursive' failed > > make: *** [all-recursive] Error 1 > > > -- > > gmx-users mailing list gmx-users@gromacs.org > > http://lists.gromacs.org/mailman/listinfo/gmx-users > > Please search the archive at > > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > > Please don't post (un)subscribe requests to the list. Use the > > www interface or send it to gmx-users-requ...@gromacs.org. > > Can't post? Read http://www.gromacs.org/Support/Mailing_Lists > > > -- > ================================================================== > Peter C. Lai | University of Alabama-Birmingham > Programmer/Analyst | KAUL 752A > Genetics, Div. of Research | 705 South 20th Street > p...@uab.edu | Birmingham AL 35294-4461 > (205) 690-0808 | > ================================================================== -- ================================================================== Peter C. Lai | University of Alabama-Birmingham Programmer/Analyst | KAUL 752A Genetics, Div. of Research | 705 South 20th Street p...@uab.edu | Birmingham AL 35294-4461 (205) 690-0808 | ================================================================== -- gmx-users mailing list gmx-users@gromacs.org http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org. Can't post? Read http://www.gromacs.org/Support/Mailing_Lists