[GRASS-dev] [grass-code I][290] Postgres and mysql tests don't test enough combinations

code I item #290, was opened at 2007-02-13 13:01
Status: Open
Priority: 3
Submitted By: William Kyngesburye (kyngchaos)
Assigned to: Nobody (None)
Summary: Postgres and mysql tests don't test enough combinations
Issue type: None
Issue status: None
GRASS version: None
GRASS component: build
Operating system: MacOS X
Operating system version: 10.4
GRASS CVS checkout date, if applies (YYMMDD): 070213

Initial Comment:
I have Postgres build with SSL, crypto, PAM and Kerberos, and MySQL built with SSL (and zlib).

Configure tests for Postgres with only up to SSL and crypto. MySQL only tests with zlib (and socket, which I don't need).

If the Postgres lib is shared, the PG test succeeds, and the PG driver builds. But if the PG lib is static, the test fails, because it's missing pam and krb. On other platforms, if the lib paths are not embedded, even the shared test and build may fail.

MySQL builds by default static (at least on OSX), so this test normally fails because it's missing SSL and crypto.

Either more combinations of dependent libs need to be tested, or configure should use the *_config programs included with each.

For postgres:

pg_config --libs

For mysql:

mysql_config --libs

----------------------------------------------------------------------

You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=204&aid=290&group_id=21