Buildproblems
Hi!
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 still exists in the current tar-ball (lsm-2.4-selinux-2002082308.tgz).
Regards,
Magnus Johansson
Here is the original message:
Quoted 5 lines
Hi,
I came across this problem as well. A library is missing in the
Makefile(utils/util-linux-2.11f/text-utils) for building 'more'.
Quoted 8 lines
more: more.o $(LIB)/xstrncpy.o
$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBTERMCAP)I added $(LIBCURSES) at the end of this line and 'more' built properly.
Trent.
--
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 4 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 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.