Bug #1452
trxio.h cannot be linked by external packages anymore
Description
In VOTCA csg:
In file included from /usr/include/gromacs/fileio/gmxfio.h:43:0,
from /usr/include/gromacs/fileio/trxio.h:46,
from /home/junghans/votca/src/csg/src/libcsg/modules/io/gmxtrajectorywriter.h:30,
from /home/junghans/votca/src/csg/src/libcsg/trajectorywriter.cc:29:
/usr/include/gromacs/fileio/futil.h:80:2: error: #error "Configuration error. fseeko or fseeki64 or 64bit long should be available."
#error "Configuration error. fseeko or fseeki64 or 64bit long should be available."
^
In file included from /home/junghans/votca/src/csg/src/libcsg/modules/io/gmxtrajectorywriter.h:30:0,
from /home/junghans/votca/src/csg/src/libcsg/trajectorywriter.cc:29:
/usr/include/gromacs/fileio/trxio.h:47:54: fatal error: ../../external/tng_io/include/tng_io_fwd.h: No such file or directory
#include "../../external/tng_io/include/tng_io_fwd.h"
^
compilation terminated.
There are two errors:
1.)/usr/include/gromacs/fileio/trxio.h:47:54: fatal error: ../../external/tng_io/include/tng_io_fwd.h: No such file or directory
missing header, not installed
2.) /usr/include/gromacs/fileio/futil.h:80:2: error: #error "Configuration error. fseeko or fseeki64 or 64bit long should be available."
HAVE_FSEEKO nor HAVE__FSEEKI64 nor GMX_INT64_MAX are stored inside pkgconfig's cflags.
Related issues
Associated revisions
Use gmx_int64_t for gmx_off_t
We anyhow require 64-bit file support and 64-bit integer
support. Thus the defintion of gmx_off_t can be dont
trivially.
Partial fix for #1452
Change-Id: I6ae70454cfa8ace3ca84a047149b6f4648e84b00
History
#1 Updated by Christoph Junghans almost 7 years ago
Also GMX_LIB_INSTALL_DIR is ignored for libtng*.so.
#2 Updated by Teemu Murtola almost 7 years ago
- Related to Bug #1453: tng_io installation issues added
#3 Updated by Gerrit Code Review Bot almost 7 years ago
Gerrit received a related patchset '1' for Issue #1452.
Uploader: Roland Schulz (roland@rschulz.eu)
Change-Id: I6ae70454cfa8ace3ca84a047149b6f4648e84b00
Gerrit URL: https://gerrit.gromacs.org/3227
#4 Updated by Gerrit Code Review Bot almost 7 years ago
Gerrit received a related patchset '1' for Issue #1452.
Uploader: Roland Schulz (roland@rschulz.eu)
Change-Id: I59474ea08d40362fa9d10745a5fb1d4e12254b68
Gerrit URL: https://gerrit.gromacs.org/3228
#5 Updated by Christoph Junghans almost 7 years ago
Now it looks a bit better:
In file included from /usr/include/gromacs/legacyheaders/typedefs.h:56:0,
from /usr/include/gromacs/fileio/trxio.h:41,
from /home/junghans/votca/src/csg/src/libcsg/modules/io/gmxtrajectorywriter.h:30,
from /home/junghans/votca/src/csg/src/libcsg/trajectorywriter.cc:29:
/usr/include/gromacs/legacyheaders/types/inputrec.h:44:32: fatal error: gromacs/swap/enums.h: No such file or directory
#include "gromacs/swap/enums.h"
^
compilation terminated.
#6 Updated by Gerrit Code Review Bot almost 7 years ago
Gerrit received a related patchset '1' for Issue #1452.
Uploader: Christoph Junghans (junghans@votca.org)
Change-Id: I94db8d0f9661b7398e5924f4adefbfdcc82da483
Gerrit URL: https://gerrit.gromacs.org/3257
#7 Updated by Teemu Murtola almost 7 years ago
- Status changed from New to Closed
- Target version changed from 5.x to 5.0
Remove dependency on TNG in trxio.h
Partial fix for #1452
Change-Id: I59474ea08d40362fa9d10745a5fb1d4e12254b68