For me I get to:
configure: error: C compiler cannot create executables

This is kind of expected, because my gcc is a cross-compiler from Linux to 
DJGPP:
https://github.com/andrewwutw/build-djgpp  (not sure... but I think)

So before trying to compile berkeley db I did:
/usr/local/cross/bin/i386-pc-msdosdjgpp-setenv
to set an environment where gcc is the cross-compiler until exit.

As Berkeley DB seems to only support Unix environment compilation...
cd build_unix

[paul@betakard build_unix]$ ../dist/configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if building in the top-level or dist directories... no
../dist/configure: line 3060: AM_OPTIONS_SET: command not found
../dist/configure: line 3095: AM_PROGRAMS_SET: command not found
checking for a BSD-compatible install... /usr/bin/install -c
checking for cc... cc
checking whether the C compiler works... no
configure: error: in '/home/paul/Téléchargements/libdb-5.3.28/build_unix':
configure: error: C compiler cannot create executables
See 'config.log' for more details
[paul@betakard build_unix]$

I checked a bit... configure seems to try to compile LINENO ... did not found 
in configure.ac what is the test giving the error.

There seems to be a lot of optional features not present on DJGPP...

Basically... DJGPP is not an expected target. I have tried some TARGET= without 
success.

And you would have to decide how much trouble you want to work over... to use 
Berkeley DB rather than GDBM.


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to