Project

General

Profile

Bug #1452

trxio.h cannot be linked by external packages anymore

Added by Christoph Junghans about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
core library
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

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

Related to GROMACS - Bug #1453: tng_io installation issues Closed 03/05/2014

Associated revisions

Revision 2d8bcd50 (diff)
Added by Roland Schulz about 3 years ago

Remove dependency on TNG in trxio.h

Partial fix for #1452

Change-Id: I59474ea08d40362fa9d10745a5fb1d4e12254b68

Revision 3b2d1c95 (diff)
Added by Roland Schulz about 3 years ago

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

Revision 23d79229 (diff)
Added by Christoph Junghans about 3 years ago

Install enums.h

Related to #1452

Change-Id: I94db8d0f9661b7398e5924f4adefbfdcc82da483

History

#1 Updated by Christoph Junghans about 3 years ago

Also GMX_LIB_INSTALL_DIR is ignored for libtng*.so.

#2 Updated by Teemu Murtola about 3 years ago

  • Related to Bug #1453: tng_io installation issues added

#3 Updated by Gerrit Code Review Bot about 3 years ago

Gerrit received a related patchset '1' for Issue #1452.
Uploader: Roland Schulz ()
Change-Id: I6ae70454cfa8ace3ca84a047149b6f4648e84b00
Gerrit URL: https://gerrit.gromacs.org/3227

#4 Updated by Gerrit Code Review Bot about 3 years ago

Gerrit received a related patchset '1' for Issue #1452.
Uploader: Roland Schulz ()
Change-Id: I59474ea08d40362fa9d10745a5fb1d4e12254b68
Gerrit URL: https://gerrit.gromacs.org/3228

#5 Updated by Christoph Junghans about 3 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 about 3 years ago

Gerrit received a related patchset '1' for Issue #1452.
Uploader: Christoph Junghans ()
Change-Id: I94db8d0f9661b7398e5924f4adefbfdcc82da483
Gerrit URL: https://gerrit.gromacs.org/3257

#7 Updated by Teemu Murtola about 3 years ago

  • Status changed from New to Closed
  • Target version changed from 5.x to 5.0

Also available in: Atom PDF