Skip to content

Inconsistent default CIO file location #201

Description

@attipaci

make install installs the CIO data file as /usr/share/supernovas/CIO_RA.TXT by default, but the default location (in novas.h) uses /usr/share/novas/CIO_RA.TXT instead when CIO_LOCATOR_FILE is not set excplicitly before the build.

Will fix for 1.4.2 to use the install location (under /usr or else as defined by datapath or prefix) as the default location for CIO_RA.TXT consistently.

In the meantime, the workaround is to set CIO_LOCATOR_FILE to /usr/share/supernovas/CIO_RA.TXT (or equivalent for datadir or prefix) explicitly prior to building and installing the library to the default location. E.g.:

  export CIO_LOCATOR_FILE="/usr/share/supernovas/CIO_RA.TXT"
  make
  sudo make install

The bug does not affect the Linux (Fedora and Debian) packages since these already defined CIO_LOCATOR_FILE like above during the package build.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions