Hi!

I tried to be DB Berkeley, but until now I don't obtain success ... only I got with other database, VBISAM 2.1, zip file it is to download in the sourceforge site... that VBISAM was via Cross Compile Debian and FreeDOS. Now, I'll use that to generate my GNU Cobol in the FreeDOS ambient. The FreeDOS is installed with DOSBOX Staging, last version for Debian, ok! If you too wish to try, below is the shell script used to compile VBISAM:


#/bin/sh

DJGPP=/home/everaldo/HDDs/C/devel2/djgpp.env

./configure --build=i686-pc-linux-gnu --host=i586-pc-msdosdjgpp --prefix=/home/everaldo/HDDs/C/devel2 CONFIG_SITE=NONE CC=/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc CPPFLAGS="-I/home/everaldo/HDDs/C/devel2/include" LDFLAGS="-L/home/everaldo/HDDs/C/devel2/lib" XML2_CFLAGS="-I/home/everaldo/HDDs/C/devel2/include/libxml2" XML2_LIBS="-lpdcurses -lxml2 -lgmp -lvbisam -lz -llzma -lm" PKG_CONFIG=false


----------------------------------------------------------------------------

Thank you!

Everaldo


Em 24/11/2024 06:37, the via Freedos-user escreveu:

Check DJGPP Setup: Ensure that DJGPP is correctly installed and configured. You need to set the DJGPP environment variable and update the PATH in your FDAUTO.BAT file:

set DJGPP=c:\djgpp\djgpp.env
set PATH=c:\djgpp\bin;%PATH%

Also have you tried Use the -g flag to include debugging information in your compiled program. This can help you identify where the errors are occurring:

gcc -g your_program.c -o your_program


On Sun, 24 Nov 2024, 01:43 Everaldo Bernardo Cunha via Freedos-user, <freedos-user@lists.sourceforge.net> wrote:

    Hello!

    Thank you for your answer! I found the sources files in the
    following link:

    https://github.com/berkeleydb/libdb/releases

    But, when I compiled within of the FreeDOS using DJGPP (GCC for
    MS-DOS)
    I obtained a lot errors ... I think some modifications it'll must
    to be
    made in the sources files! But I don't know how to do, because I know
    few on the  "C" ...

    Everaldo

    Em 23/11/2024 20:37, G.W. Haywood via Freedos-user escreveu:
    > My feeling is that this is unlikely to be a practical proposition.
    >
    > I use a kind of Btree/ISAM database.  It's proprietary, I bought the
    > source code from a Canadian company called SoftFocus about 40 years
    > ago but in the decades since then I've had to modify it to make it
    > build with more recent compilers.  There might be something similar
    > available open source but I haven't looked.  I don't think that the
    > Canadian company still exists.
    >
    > If you have seen evidence that Berkely DB can be supported by a DOS
    > system I should be very pleased to know where you found it.
    >
    > --
    >
    > 73,
    > Ged.



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



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



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

Reply via email to