FYI: libzdb svn repository is available here http://code.google.com/p/libzdb/source/checkout
Jan-Henrik,
Some feedback building from svn:
directory 'tools/bin' is missing. This kills the configure run.
While compiling src/util/Mem.h is not included it seems:
gcc -DHAVE_CONFIG_H -I. -I./src -Isrc -Isrc/util -Isrc/net -Isrc/db -Isrc/exceptions -I/usr/include/postgresql -I/usr/include/mysql -I/usr/include/mysql -I/usr/include/postgresql -I/usr/include/postgresql -I/usr/include/mysql -I/usr/include/mysql -g -O2 -Wall -Wunused -Wno-unused-label -funsigned-char -Wno-pointer-sign -c src/db/postgresql/PostgresqlConnection.c -fPIC -DPIC -o .libs/PostgresqlConnection.o src/db/postgresql/PostgresqlConnection.c: In function 'PostgresqlConnection_new': src/db/postgresql/PostgresqlConnection.c:103: warning: implicit declaration of function 'NEW' src/db/postgresql/PostgresqlConnection.c: In function 'PostgresqlConnection_free': src/db/postgresql/PostgresqlConnection.c:117: warning: implicit declaration of function 'FREE'
Jan-Henrik Haukeland wrote:
FYI: libzdb svn repository is available here http://code.google.com/p/libzdb/source/checkout
-- To unsubscribe: http://www.tildeslash.com/mailman/listinfo/libzdb-general
On 21. mars. 2008, at 14.07, Paul J Stevens wrote:
Jan-Henrik,
Some feedback building from svn:
directory 'tools/bin' is missing. This kills the configure run.
Eh, it should be there. When I check out anonymously I do get tools/ bin. Its empty though, maybe its a client problem? Must I use the old trick and add an empty file there? hope not.
While compiling src/util/Mem.h is not included it seems:
src/db/postgresql/PostgresqlConnection.c:103: warning: implicit declaration of function 'NEW' src/db/postgresql/PostgresqlConnection.c:117: warning: implicit declaration of function 'FREE'
Don't have postgres so can't verify, but should be fixed.
Jan-Henrik Haukeland wrote:
On 21. mars. 2008, at 14.07, Paul J Stevens wrote:
Jan-Henrik,
Some feedback building from svn:
directory 'tools/bin' is missing. This kills the configure run.
Eh, it should be there. When I check out anonymously I do get tools/ bin. Its empty though, maybe its a client problem? Must I use the old trick and add an empty file there? hope not.
It's there in the repo alright. I'm sending you a patch for configure.ac to make it if it's missing.
In this case it was probably removed during my git-svn bridging. Empty directories are always a bitch with vc systems.
While compiling src/util/Mem.h is not included it seems:
src/db/postgresql/PostgresqlConnection.c:103: warning: implicit declaration of function 'NEW' src/db/postgresql/PostgresqlConnection.c:117: warning: implicit declaration of function 'FREE'
Don't have postgres so can't verify, but should be fixed.
I've fixed it already here. Looks like includes for Mem.h and Str.h were moved from Config.h to the individual c files, but you forgot to add them to the postgresql files.
Looks like the signature on Str_parseInt and friends has also changed. This breaks postgres also.
I'm on it.
Jan-Henrik,
attached patch fixes the postgresql build.