tin-2.2.1 does not compile
Compile error with tin-2.2.1 from ftp://ftp.tin.org/pub/news/clients/tin/stable/tin-current.tar.gz root@fex:/opt/src/tin-2.2.1# ./configure --prefix=/opt/tin-2.2.1 --enable-nntp-only (...) root@fex:/opt/src/tin-2.2.1# perl -p -i -e 's/(CFLAGS\s+=.*)/$1 -DNO_LOCKING/' src/Makefile (...) cc -DHAVE_CONFIG_H -I. -I../include -I../pcre -I../pcre -DLOCALEDIR=\"/opt/tin-2.2.1/share/locale\" -I../include -D_GNU_SOURCE -DNO_LOCKING -c ./page.c expect 6 shift/reduce conflicts ... ./parsdate.y make[1]: execvp: ./parsdate.y: Permission denied make[1]: *** [parsdate.o] Error 127 make[1]: Leaving directory `/opt/src/tin-2.2.1/src' make: [build] Error 2 (ignored) root@fex:/opt/src/tin-2.2.1# uname -a Linux fex 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@fex:/opt/src/tin-2.2.1# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum IZUS/TIK E-Mail: horlacher@tik.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-68565868 Allmandring 30a Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20150425203318.GR3078@rus.uni-stuttgart.de>
On Sat, Apr 25, 2015 at 10:33:18PM +0200, Ulli Horlacher wrote:
root@fex:/opt/src/tin-2.2.1# ./configure --prefix=/opt/tin-2.2.1 --enable-nntp-only (...)
there should have been a warning about missing yacc or byacc or bison. install any of the mention programms and rerun configure again after make distclean. urs -- "Only whimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it ;)" - Linus
On Sun 2015-04-26 (00:40), Urs Janßen wrote:
On Sat, Apr 25, 2015 at 10:33:18PM +0200, Ulli Horlacher wrote:
root@fex:/opt/src/tin-2.2.1# ./configure --prefix=/opt/tin-2.2.1 --enable-nntp-only (...)
there should have been a warning about missing yacc or byacc or bison.
I have not seen such a warning. Shouln't configure then terminate with an error?
install any of the mention programms and rerun configure again after make distclean.
Ok, I have installed bison now, but after rerunning configure I see: configure: warning: no term-lib found, you might run into trouble later. What does this mean? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum IZUS/TIK E-Mail: horlacher@tik.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-68565868 Allmandring 30a Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20150425224057.GA8908@akk.org>
On Sun, Apr 26, 2015 at 01:35:54AM +0200, Ulli Horlacher wrote:
there should have been a warning about missing yacc or byacc or bison. I have not seen such a warning. Shouln't configure then terminate with an error?
I don't think so, if configure terminates it doesn't write essential files (i.e. the src/Makefile), a missing external programm might just not be in the search path (or in the yacc case not required at all if on has a preparsed version of parsdate.c).
install any of the mention programms and rerun configure again after make distclean. Ok, I have installed bison now, but after rerunning configure I see:
configure: warning: no term-lib found, you might run into trouble later. What does this mean?
no lib[n]curses[w], libtermcap or termlib (and related headers) found, linking will very likely fail. -> install libncursesw5-dev (or whatever if lib is named in yourn distro).
On Sun 2015-04-26 (10:11), Urs Janßen wrote:
On Sun, Apr 26, 2015 at 01:35:54AM +0200, Ulli Horlacher wrote:
there should have been a warning about missing yacc or byacc or bison. I have not seen such a warning. Shouln't configure then terminate with an error?
I don't think so, if configure terminates it doesn't write essential files
I meant: terminate at the regular end with an error message.
configure: warning: no term-lib found, you might run into trouble later. What does this mean?
no lib[n]curses[w], libtermcap or termlib (and related headers) found, linking will very likely fail. -> install libncursesw5-dev (or whatever if lib is named in yourn distro).
configure should be more verbose in its error message, naming these libs. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum IZUS/TIK E-Mail: horlacher@tik.uni-stuttgart.de Universitaet Stuttgart Tel: ++49-711-68565868 Allmandring 30a Fax: ++49-711-682357 70550 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<20150426081116.GA24090@akk.org>
participants (2)
-
Ulli Horlacher -
Urs Janßen