IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#342 closed defect (fixed)

how do you use psDB?

Reported by: jhoblitt Owned by: robert.desonia@…
Priority: high Milestone:
Component: astro Version: 0.5.0
Severity: normal Keywords:
Cc:

Description

psDB.h is not included by pslib.h. Is the intent for users to include it
directly? Even if they did, this preproccesor directive is in psDB.h:

#ifdef BUILD_PSDB

but "pslib-config --cflags" does not set -DBUILD_PSDB

Is this a bug or has some code not yet been merged?

Change History (4)

comment:1 by jhoblitt, 21 years ago

"pslib-config" should also pass through the appropriate "mysql_config" flags.

comment:2 by robert.desonia@…, 21 years ago

Resolution: fixed
Status: newclosed
  1. psDB.h is in pslib.h now; you must have caught the code while it was being

integrated and debugged.

  1. I modified the configure file to include -DBUILD_PSDB for 'pslib-config

--cflags'.

  1. Given that none of the pslib headers includes any mysql headers now, I don't

think any CFLAGS options from mysql_config needs to be passed through. The
linker options are passed through already, of course, as the library needs to be
linked in to any executable.

-rdd

comment:3 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:4 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.