Hi,<div><br></div><div>look at /usr/include/regex.h line 68. What is/are the keyword before. I assume this is (re)defined in some of the GROMACS or system include files and thus breaks the regex.h. You can run the cc command line shown below with all the options from the shown folder and add -E to the command-line. This shows you were this is defined. If you can&#39;t find it send me the output of cc -E and the regex.h as PM attachment.</div>

<div><br></div><div>Roland<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 5:53 PM, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Hi,<br>
<br>
I&#39;m trying to install the newest beta on our university&#39;s supercomputer, but I&#39;m encountering an error during compilation.  It&#39;s an aging system, so this might be somewhat difficult to solve.  Here are the specs:<br>


<br>
Mac OSX 10.3<br>
2.3 GHz PowerPC 970FX processors<br>
gcc 3.3<br>
fftw 3.0.1<br>
<br>
Configuration went without a hitch, with config.log indicating all necessary headers, libraries, etc. were found.<br>
<br>
./configure --prefix=/home/rdiv1001/gromacs-4.5_beta1 CPPFLAGS=&quot;-I/home/rdiv1001/fftw-3.0.1/include&quot; LDFLAGS=&quot;-L/home/rdiv1001/fftw-3.0.1/lib&quot; --program-suffix=_4.5_beta1 --disable-threads<br>
<br>
Compilation fails with the following:<br>
<br>
Making all in selection<br>
...<br>
/bin/sh ../../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../../../src -I/usr/include/libxml2 -I../../../include -I/home/rdiv1001/fftw-3.0.1/include  -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -faltivec -funroll-all-loops -std=gnu99 -mcpu=7450 -mtune=970 -MT sm_keywords.lo -MD -MP -MF .deps/sm_keywords.Tpo -c -o sm_keywords.lo sm_keywords.c<br>


 cc -DHAVE_CONFIG_H -I. -I../../../src -I/usr/include/libxml2 -I../../../include -I/home/rdiv1001/fftw-3.0.1/include -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -faltivec -funroll-all-loops -std=gnu99 -mcpu=7450 -mtune=970 -MT sm_keywords.lo -MD -MP -MF .deps/sm_keywords.Tpo -c sm_keywords.c -o sm_keywords.o<br>


In file included from sm_keywords.c:41:<br>
/usr/include/regex.h:68: error: parse error before &quot;regoff_t&quot;<br>
/usr/include/regex.h:78: error: parse error before &quot;regoff_t&quot;<br>
/usr/include/regex.h:124: error: parse error before &quot;regmatch_t&quot;<br>
make[4]: *** [sm_keywords.lo] Error 1<br>
make[3]: *** [all-recursive] Error 1<br>
make[2]: *** [all-recursive] Error 1<br>
make[1]: *** [all] Error 2<br>
make: *** [all-recursive] Error 1<br>
<br>
Any ideas for a fix?<br>
<br>
-Justin<br>
<br>
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<br><font color="#888888">
-- <br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/search" target="_blank">http://www.gromacs.org/search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/mailing_lists/users.php" target="_blank">http://www.gromacs.org/mailing_lists/users.php</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>ORNL/UT Center for Molecular Biophysics <a href="http://cmb.ornl.gov">cmb.ornl.gov</a><br>865-241-1537, ORNL PO BOX 2008 MS6309<br>
</div>