[gmx-developers] template.c does not compile due to types/trx.h
David van der Spoel
spoel at xray.bmc.uu.se
Fri Aug 27 13:38:57 CEST 2010
On 2010-08-27 11.53, Teemu Murtola wrote:
> David van der Spoel<spoel at xray.bmc.uu.se> wrote:
>> This is on both mac and linux.
>> The problem is I guess that this works only once you have installed the
>> header files previously, and I am compiling to empty destination. So if you
>> run configure --prefix=/tmp/test I suspect that you would get this problem
>> as well. If this is the case then you are always compiling with header files
>> that possibly could be old.
> It still works fine for me on my Linux, even if I set --prefix to a
> non-existent directory (--prefix should have no effect on the build,
> only on the installation phase). And I don't have any Gromacs headers
> installed in any location where the compiler could find them without
> explicitly setting the include path. But perhaps the problem is that
> you have, and they somehow get messed up?
If I install from scratch, I remove all sorc and build dirs:
(cd ..; ./bootstrap)
rm -rf man src share include libtool admin config.* Makefile Doxyfile
$HOME/GG/gromacs/configure --prefix=$DEST --enable-threads --with-x
make CFLAGS+=-g install
Then I get the error. Now interestingly, if I type make install once
more, it compiles and installs fine.
It also works if I do
without install first.
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205.
spoel at xray.bmc.uu.se http://folding.bmc.uu.se
More information about the gromacs.org_gmx-developers