Hi,

I've downloaded soci-3.0.0 from sourceforge.net today and unzipped it.
ls
build  CHANGES  configure  contrib  doc  LICENSE_1_0.txt  Makefile  README  src

Then I startet a ./configure, which worked fine:
./configure --postgresql-include=/opt/PostgresPlus/8.4SS/include --postgresql-lib=/opt/PostgresPlus/8.4SS/lib
Trying to find the Tcl interpreter... /usr/bin/tclsh

setting include directory for PostgreSQL to /opt/PostgresPlus/8.4SS/include
setting lib directory for PostgreSQL to /opt/PostgresPlus/8.4SS/lib

Configure done.
Yes, it was short.

You can now run make.

But then >make< came up with a couple of errors:
make
cd build/unix; `cat local/tcl` build.tcl core core-so mysql mysql-so postgresql postgresql-so oracle oracle-so
building static core
g++ -c blob.cpp -Wall -pedantic -Wno-long-long -O2
g++ -c transaction.cpp -Wall -pedantic -Wno-long-long -O2
g++ -c ref-counted-statement.cpp -Wall -pedantic -Wno-long-long -O2
g++ -c ref-counted-prepare-info.cpp -Wall -pedantic -Wno-long-long -O2
g++ -c soci-simple.cpp -Wall -pedantic -Wno-long-long -O2
The last command did not execute properly:
soci-simple.cpp: In function ‘const char*<unnamed>::format_date(<unnamed>::statement_wrapper&, const tm&)’:
soci-simple.cpp:476: error: ‘sprintf’ was not declared in this scope
soci-simple.cpp: In function ‘bool<unnamed>::string_to_date(const char*, tm&, <unnamed>::statement_wrapper&)’:
soci-simple.cpp:492: error: ‘sscanf’ was not declared in this scope
soci-simple.cpp: In function ‘const char* soci_get_use_date(void*, const char*)’:
soci-simple.cpp:1514: error: ‘sprintf’ was not declared in this scope
child process exited abnormally

Please contact the SOCI team.

uname -a
Linux linux-9frm 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 x86_64 x86_64 x86_64 GNU/Linux

gcc --version
gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

date
Do 18. Mär 15:05:57 CET 2010
_____________________________

I knew that there was a former discussion about that kind of error on 2010-01-27, between Mayank Jain & Maciej Sobczak.
At the end M. Sobczak mentioned in his last post: "..., and that (the problem as mentioned above), was already fixed in our Git repository."

So I had a closer look on a couple of snapshots there.
But unfortunately that did not work for me and I couldn't find a solution for the install problem.

Please, tell me, what can I do next to get this outstanding library to work ?

Best Regards,
Axel Harder
  

WEB.DE DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!   
http://produkte.web.de/go/02/
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to