[odb-users] Failed: when building and running examples

Albert (Jinku) Gu albert.gu at ringcentral.com
Sat Jan 9 20:57:42 EST 2016


Hi Jeroen,

Great, it works now!  Thank you!

By the way, the command in web page seems easy to cause misunderstanding. There is no equal sign.

http://www.codesynthesis.com/products/odb/doc/install-unix.xhtml
Building and Running the Examples

If you would like to build and run the ODB examples, download the odb-examples package and use the standard autotools build system to compile it on your machine. Normally, the following commands are sufficient:

./configure --with-database <database>
make

Could we update it?

Regards,
Albert

On Jan 10, 2016, at 12:15 AM, Jeroen N. Witmond <jnw at xs4all.nl<mailto:jnw at xs4all.nl>> wrote:

My guess is that your problem is a missing equal sign; that is, your command should be

./configure --with-database=sqlite

On 2016-01-08 17:41, Albert (Jinku) Gu wrote:
Dear engineers,
I am trying to use the ODB. And tried to build and run the examples but failed.
The failure info is as following:
LMXMN006:odb-examples-2.4.0 albert.gu$ ./configure --with-database sqlite
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... none
checking for style of include used by make... GNU
checking for sqlite-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for sqlite-ar... no
checking for sqlite-lib... no
checking for sqlite-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... Invalid configuration `sqlite': machine
`sqlite' not recognized
configure: error: /bin/sh config/config.sub sqlite failed
I am using a MacBook Pro.  And installed the odb complier, libodb,
odb-sqlite.  Even the sqlite tool.
Could you help do me a favour?  Any help would be appreciated!
Thanks in advance!
Regards,
Albert




More information about the odb-users mailing list