Subject Installing Firebird 2.5 on Debian 9 Stretch
Author Ertan Küçükoğlu
Hello,

There was an old server running Debian 7. That server crashed and had to be
installed. Service provide did not have Debian 7 in install OS list and now
it runs Debian 9. Seemingly, Debian removed 2.5 packages from apt-get type
of install.

I went down the road to compile my own firebird 2.5 on AMD64 from sources.
Downloaded 2.5 sources from web site provided link. I did not know how to
fetch latest sources from git hub.

All was good until I receive below compile error:
make[4]: Entering directory
'/root/Firebird-2.5.8.27089-0/extern/icu/source/layout'
g++ -D_REENTRANT -I. -I../common -I../common -I./unicode -I./.. -D_REENTRANT
-DHAVE_CONFIG_H -DU_LAYOUT_IMPLEMENTATION -O -c -DPIC -fPIC -o
IndicClassTables.o IndicClassTables.cpp
IndicClassTables.cpp:229:117: error: narrowing conversion of '2147483651u'
from 'unsigned int' to 'icu_3_0::IndicClassTable::ScriptFlags {aka int}'
inside { } [-Wnarrowing]
luClassTable = {0x0C00, 0x0C6F, 3, TELU_SCRIPT_FLAGS, teluCharClasses,
teluSplitTable};

^
IndicClassTables.cpp:231:117: error: narrowing conversion of '2147483651u'
from 'unsigned int' to 'icu_3_0::IndicClassTable::ScriptFlags {aka int}'
inside { } [-Wnarrowing]
daClassTable = {0x0C80, 0x0CEF, 4, KNDA_SCRIPT_FLAGS, kndaCharClasses,
kndaSplitTable};

^
../config/mh-linux:43: recipe for target 'IndicClassTables.o' failed
make[4]: *** [IndicClassTables.o] Error 1
make[4]: Leaving directory
'/root/Firebird-2.5.8.27089-0/extern/icu/source/layout'
Makefile:98: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 2
make[3]: Leaving directory '/root/Firebird-2.5.8.27089-0/extern/icu/source'
../gen/Makefile.extern.icu:39: recipe for target 'libicu' failed
make[2]: *** [libicu] Error 2
make[2]: Leaving directory '/root/Firebird-2.5.8.27089-0/gen'
Makefile:193: recipe for target 'external_libraries' failed
make[1]: *** [external_libraries] Error 2
make[1]: Leaving directory '/root/Firebird-2.5.8.27089-0/gen'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2


My questions are:
1- Is there easier way to install firebird 2.5 on this Debian 9 Stretch
server?
2- Is there a way to quick fix that compile error? (I have little to no
knowledge of C++)

Any help is appreciated.

Thanks & regards,
Ertan Küçükoğlu