[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] NetBSD support.
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] NetBSD support. |
Date: |
Thu, 1 Dec 2011 22:53:06 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
torsdag den 1 december 2011 klockan 13:19 skrev Mats Erik Andersson detta:
> Dear all,
>
> the patch text below is all that is needed to support NetBSD 5.1.
> The resulting binaries pass every test, except "ftp-localhost"
> due to the usual lack of a user "ftp".
This is not accurate, unfortunately. The problem is that "ftp" is
disabled by the configuration script! This slipped me.
The issue lies in their implementation of readline support.
Consider a standard test snippet:
#include <stdio.h>
#include <readline/readline.h>
int main() {
readline(NULL);
return 0;
}
Successful compilation boils down to:
Glibc, Solaris, FreeBSD:
gcc test.c -lreadline
OpenBSD:
gcc test.c -lreadline -lcurses (or -lncurses)
NetBSD:
gcc test.c -ledit
Observe the different linking library. Presently, our "configure.ac"
is not able to implement this, since it only tests with "-lreadline",
which does not even exist in NetBSD 5.1. Therefore I get
ftp_BUILD =
thus disabling the build of a FTP client.
The good thing is, that when I do the steps manually, finishing off with
gcc ... -o ftp *.o "libraries" -ledit
then I do get a functional FTP client also in NetBSD 5.1.
Simon, could you refine the testing in "configure.ac" so far as to be
inserting "-ledit" on NetBSD?
Regards,
Mats
- [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/01
- Re: [bug-inetutils] NetBSD support.,
Mats Erik Andersson <=
- Re: [bug-inetutils] NetBSD support., Simon Josefsson, 2011/12/02
- Re: [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/02
- Re: [bug-inetutils] NetBSD support., Simon Josefsson, 2011/12/02
- Re: [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/03
- Re: [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/05
- Re: [bug-inetutils] NetBSD support., Simon Josefsson, 2011/12/06
- Re: [bug-inetutils] NetBSD support., Alfred M. Szmidt, 2011/12/06
- Re: [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/07
- Re: [bug-inetutils] NetBSD support., Simon Josefsson, 2011/12/08
- Re: [bug-inetutils] NetBSD support., Mats Erik Andersson, 2011/12/08