<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>First, since this is an FFTW-related issue you will probably get better help by asking the FFTW authors.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Looking in config.log, the script is trying to preprocess the test program</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/* confdefs.h.  */</DIV><DIV>#define PACKAGE_NAME "fftw"</DIV><DIV>#define PACKAGE_TARNAME "fftw"</DIV><DIV>#define PACKAGE_VERSION "3.1.2"</DIV><DIV>#define PACKAGE_STRING "fftw 3.1.2"</DIV><DIV>#define PACKAGE_BUGREPORT "<A href="mailto:fftw@fftw.org">fftw@fftw.org</A>"</DIV><DIV>#define PACKAGE "fftw"</DIV><DIV>#define VERSION "3.1.2"</DIV><DIV>#define FFTW_SINGLE 1</DIV><DIV>#define BENCHFFT_SINGLE 1</DIV><DIV>/* end confdefs.h.  */</DIV><DIV>#ifdef __STDC__</DIV><DIV># include &lt;limits.h&gt;</DIV><DIV>#else</DIV><DIV># include &lt;assert.h&gt;</DIV><DIV>#endif</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>using the command gcc -std=gnu99 -E  conftest.c</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but gets the error message</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In file included from /usr/include/bits/posix1_lim.h:130,</DIV><DIV>                 from /usr/include/limits.h:144,</DIV><DIV>                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:132,</DIV><DIV>                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/syslimits.h:7,</DIV><DIV>                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:11,</DIV><DIV>                 from conftest.c:13:</DIV><DIV>/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>&lt;limits.h&gt; is mandatory for ANSI C99, so there is something wrong with your operating system/compiler installation.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Erik</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Oct 17, 2006, at 1:43 PM, sharada wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><FONT face="Arial" size="2"> <TABLE style="border-color: blue; border-left: 1px solid blue; padding-left: 5px;">    <TBODY><TR><TD><STRONG><EM></EM></STRONG><EM><BR>             <BR>Hi gromacs users,<BR><BR>I am trying to install gromacs on Linux.  While installing the fftw module , I am getting the following error<BR>at the ./configure stage:<BR><BR><SPAN style="font-style: italic;">[root@Sharada fftw-3.1.2]# ./configure --enable-float --enable-threads --enable-sse</SPAN><BR style="font-style: italic;"><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for a BSD-compatible install... /usr/bin/install -c</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether build environment is sane... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for gawk... gawk</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether make sets $(MAKE)... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether to enable maintainer-specific portions of Makefiles... no</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking build system type... i686-pc-linux-gnu</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking host system type... i686-pc-linux-gnu</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for gcc... gcc</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for C compiler default output file name... a.out</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether the C compiler works... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether we are cross compiling... no</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for suffix of executables...</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for suffix of object files... o</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether we are using the GNU C compiler... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether gcc accepts -g... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for gcc option to accept ISO C89... none needed</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for style of include used by make... GNU</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking dependency style of gcc... gcc3</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for C compiler vendor... gnu</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for gcc option to accept ISO C99... -std=gnu99</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for a BSD-compatible install... /usr/bin/install -c</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether ln -s works... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking whether make sets $(MAKE)... (cached) yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for a sed that does not truncate output... /bin/sed</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for grep that handles long lines and -e... /bin/grep</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for egrep... /bin/grep -E</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for ld used by gcc -std=gnu99... /usr/bin/ld</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking if the linker (/usr/bin/ld) is GNU ld... yes</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for /usr/bin/ld option to reload object files... -r</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking for BSD-compatible nm... /usr/bin/nm -B</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking how to recognise dependent libraries... pass_all</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">checking how to run the C preprocessor... /lib/cpp</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">configure: error: C preprocessor "/lib/cpp" fails sanity check</SPAN><BR style="font-style: italic;"><SPAN style="font-style: italic;">See `config.log' for more details.<BR><BR></SPAN>what  does the error trying to tell me ?  cpp  is linked to    /usr/bin/cpp.  I am installing from the root account. can any body help ?  I am attaching the config.log file alongwith.  Thanks in advance.<BR><BR>regards,<BR>sharada<BR>_______________________________________________<BR>gmx-users mailing list    <A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A><BR><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A><BR>Please don't post (un)subscribe requests to the list. Use the <BR>www interface or send it to gmx-users-request@gromacs.org.<BR>Can't post? Read http://www.gromacs.org/mailing_lists/users.php</EM></TD></TR></TBODY> </TABLE> </FONT><SPAN><DIV>&lt;config.log&gt;</DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">gmx-users mailing list<SPAN class="Apple-converted-space">    </SPAN><A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please don't post (un)subscribe requests to the list. Use the<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">www interface or send it to <A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can't post? Read <A href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>