Compile and run Firebird 1.0.3 - unusual I know, but it's for educational purposes.

30 views
Skip to first unread message

Ellen Allhatatlan

unread,
Sep 10, 2025, 2:38:51 AM (13 days ago) Sep 10
to firebird-devel



Hi all,

I'm starting a College course and doing a C course and one of the requirements is that we use GDB to debug a " serious" C programme. And the lecturer was very clear - it has to be C and C alone - no C++ for example (he's ancient! :-)  ) - he's probably right though - getting "close to the iron", as he puts it, means that we'll be able to understand new languages and we won't end up like Shlemiel the painter (https://www.joelonsoftware.com/2001/12/11/back-to-basics/).

I have compiled and run many versions of PostgreSQL and a couple of MySQL and MariaDB and also Ingress (a while ago ) and Cubrid. I would be happy to download older OS-s and/or versions of gcc - plus any other necessary tools!

So, I downloaded 1.0.3, unpacked it and then ran

$ ./Configure.sh PROD

all apparently went well and then I ran:

$ source Configure_SetupEnv.sh

received back the prompt no problem. Then:

$ make firebird

This produced:

[oracle@fedora interbase]$ make firebird
sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/iberror.h; fi'
cmp: source/interbase/include/iberror.h: No such file or directory    <<<<<<===== !!!!!  Problem?
Building GDS.H...
sh -c 'cd source/jrd; make CFLAGS="-O3 -march=i486 -fpic -DFLINTSTONE -DLINUX -Wall -fwritable-strings -I/home/oracle/sware/db/fb_1/interbase/interbase/include " SYSTEM="builds" gds.h'
...
... Some other stuff
... and then
...
make[1]: source/interbase/bin/gpre: No such file or directory   <<<<==== again Problem?
make[1]: *** [makefile:25: security.c] Error 127 
make[1]: Leaving directory '/home/oracle/sware/db/fb_1/interbase/utilities'
make: *** [Makefile:462: security_c] Error 2
[oracle@fedora interbase]$

Is there anybody out there who can help me compile this version?

I'm running Fedora 34, gcc 11.3.1, on an Asus with 2 SSDs.

As I said, I'm reasonably tech-savvy and yesterday, I tried to compile every version of Firebird from 1.0.3 up. Sometimes they compiled but wouldn't make.

The first one I got working was 3.0.13.

Should you require any further information, please get back to me on-list.

TIA and rgs,


El.


Frank Schlottmann-Gödde

unread,
Sep 12, 2025, 7:49:19 AM (10 days ago) Sep 12
to firebir...@googlegroups.com
Am 10.09.25 um 08:32 schrieb Ellen Allhatatlan:
>
>
> This was originally posted to support but I was advised to repost here.
>
> Hi all,
>


> So, I downloaded 1.0.3, unpacked it and then ran
>
> $ ./Configure.sh PROD


on a fresh checkout, you will probably need

./Configure.sh BOOT

to build a minimal gpre.




>
> all apparently went well and then I ran:
>
> $ source Configure_SetupEnv.sh
>
> received back the prompt no problem. Then:
>
> $ make firebird
>
> This produced:
>
> [oracle@fedora interbase]$ make firebird
> sh -c 'cmp source/jrd/iberror.h source/interbase/include/iberror.h; if
> [ $? != 0 ]; then cp source/jrd/iberror.h source/interbase/include/
> iberror.h; fi'
> cmp: source/interbase/include/iberror.h: No such file or directory
> <<<<<<===== !!!!!  Problem?

seems to be normal


> Building GDS.H...
> sh -c 'cd source/jrd; make CFLAGS="-O3 -march=i486 -fpic -DFLINTSTONE -
> DLINUX -Wall -fwritable-strings -I/home/oracle/sware/db/fb_1/interbase/
> interbase/include " SYSTEM="builds" gds.h'
> ...
> ... Some other stuff
> ... and then
> ...
> make[1]: source/interbase/bin/gpre: No such file or directory   <<<<====
> again Problem?

See above.


> Is there anybody out there who can help me compile this version?
>
> I'm running Fedora 34, gcc 11.3.1, on an Asus with 2 SSDs.
>
> As I said, I'm reasonably tech-savvy and yesterday, I tried to compile
> every version of Firebird from 1.0.3 up. Sometimes they compiled but
> wouldn't make.
>
> The first one I got working was 3.0.13.
>
> Should you require any further information, please get back to me on-list.
>
> TIA and rgs,

Tried one of my antique source trees and it seems you will need a gcc <
4.0 because of:
cc: error: unrecognized command-line option ‘-fwritable-strings’;

hth
fsg






Reply all
Reply to author
Forward
0 new messages