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

Jeroen N. Witmond jnw at xs4all.nl
Sat Jan 9 11:15:56 EST 2016


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