Subject problems compiling Firebird 1.5.1 Classing under Suse 9.1
Author Niki Ivanchev
I am having some problems with Firebird CS 1.5.1, so I have decided to
compile it from sources. My distro is Suse 9.1 with all patches. Kernel
is 2.6.5-7.108-default.
After decompressing tar.bz2 file I simply run autogen.sh and then type make.
Build process is running and giving this error
--------------------------------------------------------------
g++ ../temp/static.isql/isql/extract.o ../temp/static.isql/isql/isql.o
../temp/static.isql/isql/show.o -o ../gen/firebird/bin/isql_static
-L../gen/firebird/lib -lfbstatic -lfbcommon -lstdc++ -lcrypt -lm -lc
-ldl -leditline
../temp/static.isql/isql/isql.o(.text+0x54cd): In function `add_row(char*)':
../src/isql/isql.cpp:2538: warning: the use of `tmpnam' is dangerous,
better use `mkstemp'
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x3be3): In function
`.L1059':
../src/jrd/gds.cpp:969: warning: `sys_errlist' is deprecated; use
`strerror' or `strerror_r' instead
../gen/firebird/lib/libfbstatic.a(gds.o)(.text+0x3bd6):../src/jrd/gds.cpp:969:
warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7c8b): In
function `term_move_to_line':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:551:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7c94):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:551:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7d16):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:564:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7d1f):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:564:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7d4e):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:569:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7ea4): In
function `term_move_to_char':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:640:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x7ead):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:640:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x801b): In
function `term_deletechars':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:732:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8024):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:732:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x804c):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:737:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x807b):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:741:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x80a7):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:744:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8124): In
function `term_insertwrite':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:773:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x812d):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:773:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x816e):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:780:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x81aa):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:788:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x81c2):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:790:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x81e7):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:795:
undefined reference to `tputs'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8220):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:803:
more undefined references to `tputs' follow
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8431): In
function `term_set':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:915:
undefined reference to `tgetent'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x84fb):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:933:
undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x850f):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:934:
undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8524):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:936:
undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8539):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:937:
undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x854e):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:939:
undefined reference to `tgetflag'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8563):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:940:
more undefined references to `tgetflag' follow
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x8578): In
function `term_set':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:942:
undefined reference to `tgetnum'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x858d):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:943:
undefined reference to `tgetnum'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x85c9):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:946:
undefined reference to `tgetstr'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x92b5): In
function `term_echotc':
/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:1451:
undefined reference to `tgetstr'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x95a1):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:1587:
undefined reference to `tgoto'
../gen/firebird/lib/libeditline.a(editline.o_a)(.text+0x95aa):/usr/local/src/firebird-1.5.1.4481/src/extern/editline/term.c:1587:
undefined reference to `tputs'
collect2: ld returned 1 exit status
make[3]: *** [../gen/firebird/bin/isql_static] Error 1
make[3]: Leaving directory `/usr/local/src/firebird-1.5.1.4481/src'
make[2]: *** [isql_static] Error 2
make[2]: Leaving directory `/usr/local/src/firebird-1.5.1.4481/src'
make[1]: *** [../gen/firebird/security.fdb] Error 2
make[1]: Leaving directory `/usr/local/src/firebird-1.5.1.4481/src'
make: *** [firebird] Error 2
----------------------------------------
firebird 1.5.0 is compiling fine.
What I am doing wrong?