pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45495

The following reply was made to PR pkg/45495; it has been noted by GNATS.

From: Aleksey Cheusov <>
Subject: Re: pkg/45495
Date: Tue, 25 Oct 2011 21:14:25 +0300

 The problem here is that
 1) You have libedit library installed on your system.
 2) Locally installed libedit exports strvis and strunviz symbols
 3) tnftp's checks for libedit existance and if
    it exists it modifies LIBS variable which is used LATER at
    the moment AC_REPLACE_FUNCS(strvis strunvis) are run.
 4) Finally tnftp forcebly uses local libedit implementation that
    doesn't provide strvis and strunvis functions.
 Please confirm that the following patch solves the problem.
 It does so on my system.
 Take a note that after applying the patch you MUST
 regenerate "configure" script under files/ directory.
     cd files; autoconf
 for this.
 RCS file: /cvsroot/pkgsrc/net/tnftp/files/,v
 retrieving revision
 diff -u -r1.1.1.1
 ---        6 Aug 2007 04:42:53 -0000
 +++        25 Oct 2011 18:02:41 -0000
 @@ -84,10 +84,7 @@
                        [termcap termlib curses ncurses tinfo],
 -                           [no relevant library found containing tgetent])])
 -       AC_SEARCH_LIBS([el_init],
 -                      [edit],
 -                      [have_libedit=yes], [have_libedit=no])])
 +                           [no relevant library found containing tgetent])])])
  AC_SEARCH_LIBS([gethostbyname], [nsl])

Home | Main Index | Thread Index | Old Index