Buildproblems
Hi,
So you are saying that if libtermcap is not installed, then configure uses libcurses. This doesn't seem to have been my (or Magnus') case -- if so, it would have worked, right?
As best I can recall, I had neither libtermcap or libcurses installed on my machine, so I assume that configure guessed libtermcap. At some point before building 'more', I installed libcurses (hence the motivation for the change).
configure looks like it will complain if libcurses is not there, so maybe I missed it... Other than complaining louder (brighter), not much can be done.
Regards,
Trent.
----------------------------------
Trent Jaeger
IBM T.J. Watson Research Center
19 Skyline Drive
Hawthorne, NY 10532
[email protected]
(914) 784-7225, FAX (914) 784-7595
Stephen Smalley <[email protected]>@tycho.nsa.gov on 09/04/2002 10:24:51 AM
Sent by: [email protected]
To: Magnus Johansson <[email protected]>
cc: <[email protected]>
Subject: Re: Buildproblems
Quoted 3 lines · Magnus Johansson
I just tried to build the latest tarball, but ran into problems compiling 'more'. However, I found both the problem and the solution in the mailinglist archive from January. I just want to point out that the
problem
Quoted 1 line
still exists in the current tar-ball (lsm-2.4-selinux-2002082308.tgz).
This is only an issue if you don't have libtermcap installed on your system (in which case the configure script will fall back to using libcurses). In any event, this is an issue with the base util-linux package, not in the SELinux patch to it. Builds fine for us on RH7.1 and RH7.2.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 3 lines · Trent Jaeger
So you are saying that if libtermcap is not installed, then configure uses libcurses. This doesn't seem to have been my (or Magnus') case -- if so, it would have worked, right?
That's the intended behavior, as documented in the comments in the configure script ("When termcap does not exist, we can try to compile more with curses instead."). I agree that the text-utils Makefile is broken when termcap is not present, and we could apply a fix in our tree, but the problem lies in the base package, not in the SELinux patch. Hence, the right thing to do is to report the problem to the upstream maintainer of util-linux (or see if it has already been fixed in a newer base version).
--
Stephen D. Smalley, NAI Labs
[email protected]
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.