Hello Listers!
A question about building libzdb - against latest betas of PostgreSQL and MySQL... FWIW, PostgreSQL is by far our focus at the moment. We have been specifying the pg_config location with the --with-postgresql option.
configure does find pg_config
# ./configure \
LDFLAGS='-L/usr/local/postgres/9b4/lib/' \
--enable-optimized \
--enable-protected \
--enable-openssl=/usr/local/ssl \
--enable-sqliteunlock \
--with-mysql=/usr/local/mysql/bin/mysql_config \
--with-postgresql=/usr/local/postgres/9b4/bin/pg_config \
--with-sqlite=/usr/local
(note:
# /usr/local/postgres/9b4/bin/pg_config --version PostgreSQL 9.0beta4
# /usr/local/mysql/bin/mysql_config --version 5.0.51
# nm /usr/local/mysql/lib/mysql/libmysqlclient.so | grep mysql_init 000300f0 T mysql_init
)
Some pertinent output from configure:
...
checking for /usr/local/mysql/bin/mysql_config... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for mysql_init in -lmysqlclient... yes
fail, >= 4.1 required
checking for postgresql... yes
checking for /usr/local/postgres/9b4/bin/pg_config... yes
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
...
+------------------------------------------------------------+
| License: |
| This is Open Source Software and use is subject to the GNU |
| GENERAL PUBLIC LICENSE, available in this distribution in |
| the file COPYING. |
| |
| By continuing this installation process, you are bound by |
| the terms of this license agreement. If you do not agree |
| with the terms of this license, you must abort the |
| installation process at this point. |
+------------------------------------------------------------+
| The Zild Database Library is configured as follows: |
| |
| Optimized: ENABLED |
| Protected: ENABLED |
| Profiling: DISABLED |
| Zild: DISABLED |
| Sqlite3 unlock notification API: ENABLED |
| Unit Tests Build: DISABLED |
| Openssl: ENABLED |
|------------------------------------------------------------|
| SQLite3: ENABLED |
| MySQL: DISABLED |
| PostgreSQL: ENABLED |
+------------------------------------------------------------+
Platform is sun4u - Solaris SPARC E450 Any Ideas? We're off to try fiddling with the configure script... thanks! Lou