[gmx-users] errors during installation

Florian Haberl Florian.Haberl at chemie.uni-erlangen.de
Fri Jan 21 07:51:45 CET 2005


> I am a novice to both Linux and Gromacs. I am trying to install Gromacs on
> my Linux PC and for that, I have installed FFTW-2.1.5. However, when I
> give the last command "make install", I get the following error message:
> [guest at localhost fftw-2.1.5]$ make install
> Making install in fftw
> make[1]: Entering directory
> `/home/guest/Jaimin/gromacs-3.0.1/fftw-2.1.5/fftw'
> make[2]: Entering directory
> `/home/guest/Jaimin/gromacs-3.0.1/fftw-2.1.5/fftw'
> /bin/sh ../mkinstalldirs /usr/local/lib
>  /bin/sh ../libtool --mode=install /usr/bin/install -c  libfftw.la
> /usr/local/lib/libfftw.la
> /usr/bin/install -c .libs/libfftw.lai /usr/local/lib/libfftw.la
> /usr/bin/install: cannot create regular file `/usr/local/lib/libfftw.la':
> Permission denied
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory
> `/home/guest/Jaimin/gromacs-3.0.1/fftw-2.1.5/fftw' make[1]: ***
> [install-am] Error 2
> make[1]: Leaving directory
> `/home/guest/Jaimin/gromacs-3.0.1/fftw-2.1.5/fftw' make: ***
> [install-recursive] Error 1

seems you your not root on this machine.
Ask your local sysadmin to install it, if you want to have this 
in /usr/

else do ./configure --help
Than you set --prefix=/your/home/dir/fftw  << all installation will go into 

> Now, when I give the follwoing command:
> [guest at localhost gromacs-3.0.1]$ ./configure --enable-float
> I get the following message:
> checking for fftw.h... no
> checking for sfftw.h... no
> configure: error: Cannot find any single precision fftw.h or sfftw.h
> Do you have single precision FFTW installed? If you are using packages,
> note that you also need fftw-devel to compile GROMACS. You can find the
> software at www.fftw.org, and detailed instructions at www.gromacs.org.

See upside, you haven^t installed fftw correctly.
With gromacs you do the same ./configure with --prefix 



 Florian Haberl                            Universitaet Erlangen/
 Computer-Chemie-Centrum    Nuernberg
                                                      Naegelsbachstr. 25
                                                      D-91052 Erlangen
  Mailto: florian.haberl AT chemie.uni-erlangen.de

More information about the gromacs.org_gmx-users mailing list