Problems to compile the src.rpm packages on Red Hat Linux 9.0
Dear friends,
I have problems when trying compile the packages coreutils,
openssh, pam, vixie-cron, shadow-utils. Only this packages. This message error is present:
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
erro: Csdigo de samda invalido do /var/tmp/rpm-tmp.66122 (%build)
Erros de criagco do RPM:
Csdigo de samda invalido do /var/tmp/rpm-tmp.66122 (%build)
Help please!!
Thanks!
Leonardo Cardozo Vargas
Nova Friburgo - Rio de janeiro - Brasil
--
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 9 lines · On Tue, 30 Mar 2004 19:20:49 -0300, "[email protected]" <[email protected]> said:
Dear friends,
I have problems when trying compile the packages coreutils,
openssh, pam, vixie-cron, shadow-utils. Only this packages. This message error is present:checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
And what does the config.log say? (Most likely, the directory isn't writable by you, or you have an odd $CFLAGS setting)....
Quoted 4 lines · On Tue, 2004-03-30 at 17:20, [email protected] wrote:
Dear friends,
I have problems when trying compile the packages coreutils,
openssh, pam, vixie-cron, shadow-utils. Only this packages. This message error is present:
The SRPMS on the NSA web site are for Fedora Core 1, not RH9. In any event, at this point, you are better off installing Fedora Core 2 test2 if you want to experiment with Fedora and SELinux. It already includes a SELinux-enabled kernel and applications.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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 · Stephen Smalley
The SRPMS on the NSA web site are for Fedora Core 1, not RH9. In any event, at this point, you are better off installing Fedora Core 2 test2 if you want to experiment with Fedora and SELinux. It already includes a SELinux-enabled kernel and applications.
Either I'm missing something, or the FC2 test2 RPMS still only speak the policy.15 format, no sign of .16/.17 yet. Can somebody enlighten me as to whether
a) I'm dense and forgot to do <FOO>?
b) it's already in the Fedora pipe and should arrive shortly?
c) Punt and roll my own while I wait for the RPM to show up?
Quoted 7 lines · On Wed, 2004-03-31 at 11:25, [email protected] wrote:
Either I'm missing something, or the FC2 test2 RPMS still only speak the policy.15 format, no sign of .16/.17 yet. Can somebody enlighten me as to whether
a) I'm dense and forgot to do <FOO>?
b) it's already in the Fedora pipe and should arrive shortly?
c) Punt and roll my own while I wait for the RPM to show up?
The userland support was included in FC2 test2 for policy.16, but disabled by default since the kernel did not include the support yet. However, the latest kernel package from FC2 devel does include policy.16 support (since it is now in 2.6.5-rcX). So if you install FC2 test2 and update your kernel, then you should be able to comment out the POLICYCOMPAT definition in the policy Makefile and build and use policy.16.
For policy.17, you still need to build a patched kernel and checkpolicy at present, but you should otherwise be able to use FC2 test2 as your base. I expect that SysVinit will get updated to search for any of the supported policy versions, but that is to provide compatibility for people using older policies.
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- 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 1 line · Stephen Smalley
update your kernel, then you should be able to comment out the
Already at 2.6.5-rc2-mm5, and 2.6.5-rc3-mm2 is building in another window, hopefully recent enough. ;)
Quoted 2 lines
POLICYCOMPAT definition in the policy
Makefileand build and use policy.16.
POLICYCOMPAT. Damn, how come I didn't see that? :) Thanks...