* make quickinstall redhat9 problem
@ 2003-07-22 0:18 Stephen Reese
2003-07-22 1:07 ` Kerry Thompson
2003-07-22 2:07 ` pipes
0 siblings, 2 replies; 8+ messages in thread
From: Stephen Reese @ 2003-07-22 0:18 UTC (permalink / raw)
To: selinux
make[1]: Entering directory `/home/installs/selinux/tools'
make[2]: Entering directory `/home/installs/selinux/tools/setools'
cd apol; make install
make[3]: Entering directory `/home/installs/selinux/tools/setools/apol'
gcc -Wall -g -I/usr/include -DUSE_SORTING -c apol_gui.c
apol_gui.c:14:17: tcl.h: No such file or directory
apol_gui.c:15:16: tk.h: No such file or directory
In file included from apol_gui.c:16:
../libapol/apol_tcl.h:14:16: tcl.h: No such file or directory
../libapol/apol_tcl.h:15:15: tk.h: No such file or directory
In file included from apol_gui.c:16:
../libapol/apol_tcl.h:22: parse error before '*' token
../libapol/apol_tcl.h:28: parse error before "clientData"
../libapol/apol_tcl.h:29: parse error before "clientData"
../libapol/apol_tcl.h:30: parse error before "clientData"
../libapol/apol_tcl.h:31: parse error before "clientData"
../libapol/apol_tcl.h:32: parse error before "clientData"
../libapol/apol_tcl.h:33: parse error before "clientData"
../libapol/apol_tcl.h:34: parse error before "clientData"
../libapol/apol_tcl.h:35: parse error before "clientData"
../libapol/apol_tcl.h:36: parse error before "clientData"
../libapol/apol_tcl.h:37: parse error before "clientData"
../libapol/apol_tcl.h:38: parse error before "clientData"
../libapol/apol_tcl.h:39: parse error before "clientData"
../libapol/apol_tcl.h:40: parse error before "clientData"
../libapol/apol_tcl.h:41: parse error before "clientData"
../libapol/apol_tcl.h:42: parse error before "clientData"
../libapol/apol_tcl.h:43: parse error before "clientData"
apol_gui.c:22: parse error before '*' token
apol_gui.c: In function `Tcl_AppInit':
apol_gui.c:26: warning: implicit declaration of function `Tcl_Init'
apol_gui.c:26: `interp' undeclared (first use in this function)
apol_gui.c:26: (Each undeclared identifier is reported only once
apol_gui.c:26: for each function it appears in.)
apol_gui.c:26: `TCL_ERROR' undeclared (first use in this function)
apol_gui.c:29: warning: implicit declaration of function `Tk_Init'
apol_gui.c:40: `TCL_OK' undeclared (first use in this function)
apol_gui.c:42: warning: implicit declaration of function
`Tcl_DeleteInterp'
apol_gui.c:43: warning: implicit declaration of function `Tcl_Exit'
apol_gui.c:52: warning: implicit declaration of function `Tcl_EvalFile'
apol_gui.c: In function `main':
apol_gui.c:93: `Tcl_Interp' undeclared (first use in this function)
apol_gui.c:93: `interp' undeclared (first use in this function)
apol_gui.c:110: warning: implicit declaration of function
`Tcl_CreateInterp'
apol_gui.c:111: warning: implicit declaration of function `Tk_MainEx'
make[3]: *** [apol_gui.o] Error 1
make[3]: Leaving directory `/home/installs/selinux/tools/setools/apol'
make[2]: *** [install-apol] Error 2
make[2]: Leaving directory `/home/installs/selinux/tools/setools'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/installs/selinux/tools'
make: *** [quickinstall] Error 2
I really am not sure what caused it to error?
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make quickinstall redhat9 problem
2003-07-22 0:18 make quickinstall redhat9 problem Stephen Reese
@ 2003-07-22 1:07 ` Kerry Thompson
2003-07-22 3:03 ` Lamont R. Peterson
2003-07-22 2:07 ` pipes
1 sibling, 1 reply; 8+ messages in thread
From: Kerry Thompson @ 2003-07-22 1:07 UTC (permalink / raw)
To: selinux; +Cc: sreese
Stephen Reese said:
> make[1]: Entering directory `/home/installs/selinux/tools'
> make[2]: Entering directory `/home/installs/selinux/tools/setools' cd
> apol; make install
> make[3]: Entering directory `/home/installs/selinux/tools/setools/apol'
> gcc -Wall -g -I/usr/include -DUSE_SORTING -c apol_gui.c
> apol_gui.c:14:17: tcl.h: No such file or directory
> apol_gui.c:15:16: tk.h: No such file or directory
[snip]
SETools requires the TCL and TK libraries to be installed. You can either
install TCL & TK packages or just build without these tools. SELinux will
install just fine without the tools, just comment out the line which
builds and installs the tools from the top-level Makefile:
# @echo "Building and installing SELinux tools"
# cd tools && make install
Kerry
--
Kerry Thompson, CCNA CISSP
Information Systems Security Consultant
http://www.crypt.gen.nz kerry@crypt.gen.nz
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make quickinstall redhat9 problem
2003-07-22 0:18 make quickinstall redhat9 problem Stephen Reese
2003-07-22 1:07 ` Kerry Thompson
@ 2003-07-22 2:07 ` pipes
2003-07-22 2:09 ` Stephen Reese
1 sibling, 1 reply; 8+ messages in thread
From: pipes @ 2003-07-22 2:07 UTC (permalink / raw)
To: Stephen Reese; +Cc: selinux
I couldn't get this to compile either.
Using slackware 9 with tcl/* packages installed.
Haven't taken much time to look into it though.
P
Stephen Reese writes:
> make[1]: Entering directory `/home/installs/selinux/tools'
> make[2]: Entering directory `/home/installs/selinux/tools/setools'
> cd apol; make install
> make[3]: Entering directory `/home/installs/selinux/tools/setools/apol'
> gcc -Wall -g -I/usr/include -DUSE_SORTING -c apol_gui.c
> apol_gui.c:14:17: tcl.h: No such file or directory
> apol_gui.c:15:16: tk.h: No such file or directory
> In file included from apol_gui.c:16:
> ../libapol/apol_tcl.h:14:16: tcl.h: No such file or directory
> ../libapol/apol_tcl.h:15:15: tk.h: No such file or directory
> In file included from apol_gui.c:16:
> ../libapol/apol_tcl.h:22: parse error before '*' token
> ../libapol/apol_tcl.h:28: parse error before "clientData"
> ../libapol/apol_tcl.h:29: parse error before "clientData"
> ../libapol/apol_tcl.h:30: parse error before "clientData"
> ../libapol/apol_tcl.h:31: parse error before "clientData"
> ../libapol/apol_tcl.h:32: parse error before "clientData"
> ../libapol/apol_tcl.h:33: parse error before "clientData"
> ../libapol/apol_tcl.h:34: parse error before "clientData"
> ../libapol/apol_tcl.h:35: parse error before "clientData"
> ../libapol/apol_tcl.h:36: parse error before "clientData"
> ../libapol/apol_tcl.h:37: parse error before "clientData"
> ../libapol/apol_tcl.h:38: parse error before "clientData"
> ../libapol/apol_tcl.h:39: parse error before "clientData"
> ../libapol/apol_tcl.h:40: parse error before "clientData"
> ../libapol/apol_tcl.h:41: parse error before "clientData"
> ../libapol/apol_tcl.h:42: parse error before "clientData"
> ../libapol/apol_tcl.h:43: parse error before "clientData"
> apol_gui.c:22: parse error before '*' token
> apol_gui.c: In function `Tcl_AppInit':
> apol_gui.c:26: warning: implicit declaration of function `Tcl_Init'
> apol_gui.c:26: `interp' undeclared (first use in this function)
> apol_gui.c:26: (Each undeclared identifier is reported only once
> apol_gui.c:26: for each function it appears in.)
> apol_gui.c:26: `TCL_ERROR' undeclared (first use in this function)
> apol_gui.c:29: warning: implicit declaration of function `Tk_Init'
> apol_gui.c:40: `TCL_OK' undeclared (first use in this function)
> apol_gui.c:42: warning: implicit declaration of function
> `Tcl_DeleteInterp'
> apol_gui.c:43: warning: implicit declaration of function `Tcl_Exit'
> apol_gui.c:52: warning: implicit declaration of function `Tcl_EvalFile'
> apol_gui.c: In function `main':
> apol_gui.c:93: `Tcl_Interp' undeclared (first use in this function)
> apol_gui.c:93: `interp' undeclared (first use in this function)
> apol_gui.c:110: warning: implicit declaration of function
> `Tcl_CreateInterp'
> apol_gui.c:111: warning: implicit declaration of function `Tk_MainEx'
> make[3]: *** [apol_gui.o] Error 1
> make[3]: Leaving directory `/home/installs/selinux/tools/setools/apol'
> make[2]: *** [install-apol] Error 2
> make[2]: Leaving directory `/home/installs/selinux/tools/setools'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/installs/selinux/tools'
> make: *** [quickinstall] Error 2
>
> I really am not sure what caused it to error?
>
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
> the words "unsubscribe selinux" without quotes as the message.
Pipes
Rapturesecurity.com
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: make quickinstall redhat9 problem
2003-07-22 2:07 ` pipes
@ 2003-07-22 2:09 ` Stephen Reese
2003-07-22 2:59 ` Kerry Thompson
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Reese @ 2003-07-22 2:09 UTC (permalink / raw)
To: selinux; +Cc: 'pipes'
installing tk and tcl was the trick thanks for the help now I get to
figure out where I went wrong with the kernel complile =)
VFS: cannot open root device "Label=/"
but thanks for the other heads up everyone and getting me through the
install
-----Original Message-----
From: pipes [mailto:pipes@rapturesecurity.com]
Sent: Monday, July 21, 2003 10:07 PM
To: Stephen Reese
Cc: selinux@tycho.nsa.gov
Subject: Re: make quickinstall redhat9 problem
I couldn't get this to compile either.
Using slackware 9 with tcl/* packages installed.
Haven't taken much time to look into it though.
P
Stephen Reese writes:
> make[1]: Entering directory `/home/installs/selinux/tools'
> make[2]: Entering directory `/home/installs/selinux/tools/setools'
> cd apol; make install
> make[3]: Entering directory
> `/home/installs/selinux/tools/setools/apol'
> gcc -Wall -g -I/usr/include -DUSE_SORTING -c apol_gui.c
> apol_gui.c:14:17: tcl.h: No such file or directory
> apol_gui.c:15:16: tk.h: No such file or directory
> In file included from apol_gui.c:16:
> ../libapol/apol_tcl.h:14:16: tcl.h: No such file or directory
> ../libapol/apol_tcl.h:15:15: tk.h: No such file or directory
> In file included from apol_gui.c:16:
> ../libapol/apol_tcl.h:22: parse error before '*' token
> ../libapol/apol_tcl.h:28: parse error before "clientData"
> ../libapol/apol_tcl.h:29: parse error before "clientData"
> ../libapol/apol_tcl.h:30: parse error before "clientData"
> ../libapol/apol_tcl.h:31: parse error before "clientData"
> ../libapol/apol_tcl.h:32: parse error before "clientData"
> ../libapol/apol_tcl.h:33: parse error before "clientData"
> ../libapol/apol_tcl.h:34: parse error before "clientData"
> ../libapol/apol_tcl.h:35: parse error before "clientData"
> ../libapol/apol_tcl.h:36: parse error before "clientData"
> ../libapol/apol_tcl.h:37: parse error before "clientData"
> ../libapol/apol_tcl.h:38: parse error before "clientData"
> ../libapol/apol_tcl.h:39: parse error before "clientData"
> ../libapol/apol_tcl.h:40: parse error before "clientData"
> ../libapol/apol_tcl.h:41: parse error before "clientData"
> ../libapol/apol_tcl.h:42: parse error before "clientData"
> ../libapol/apol_tcl.h:43: parse error before "clientData"
> apol_gui.c:22: parse error before '*' token
> apol_gui.c: In function `Tcl_AppInit':
> apol_gui.c:26: warning: implicit declaration of function `Tcl_Init'
> apol_gui.c:26: `interp' undeclared (first use in this function)
> apol_gui.c:26: (Each undeclared identifier is reported only once
> apol_gui.c:26: for each function it appears in.)
> apol_gui.c:26: `TCL_ERROR' undeclared (first use in this function)
> apol_gui.c:29: warning: implicit declaration of function `Tk_Init'
> apol_gui.c:40: `TCL_OK' undeclared (first use in this function)
> apol_gui.c:42: warning: implicit declaration of function
> `Tcl_DeleteInterp'
> apol_gui.c:43: warning: implicit declaration of function `Tcl_Exit'
> apol_gui.c:52: warning: implicit declaration of function
`Tcl_EvalFile'
> apol_gui.c: In function `main':
> apol_gui.c:93: `Tcl_Interp' undeclared (first use in this function)
> apol_gui.c:93: `interp' undeclared (first use in this function)
> apol_gui.c:110: warning: implicit declaration of function
> `Tcl_CreateInterp'
> apol_gui.c:111: warning: implicit declaration of function `Tk_MainEx'
> make[3]: *** [apol_gui.o] Error 1
> make[3]: Leaving directory `/home/installs/selinux/tools/setools/apol'
> make[2]: *** [install-apol] Error 2
> make[2]: Leaving directory `/home/installs/selinux/tools/setools'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/installs/selinux/tools'
> make: *** [quickinstall] Error 2
>
> I really am not sure what caused it to error?
>
>
> --
> This message was distributed to subscribers of the selinux mailing
> list. If you no longer wish to subscribe, send mail to
> majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without
> quotes as the message.
Pipes
Rapturesecurity.com
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: make quickinstall redhat9 problem
2003-07-22 2:09 ` Stephen Reese
@ 2003-07-22 2:59 ` Kerry Thompson
2003-07-22 23:25 ` grub/boot " Stephen Reese
0 siblings, 1 reply; 8+ messages in thread
From: Kerry Thompson @ 2003-07-22 2:59 UTC (permalink / raw)
To: sreese; +Cc: selinux
Stephen Reese said:
> installing tk and tcl was the trick thanks for the help now I get to
> figure out where I went wrong with the kernel complile =)
>
> VFS: cannot open root device "Label=/"
Change your bootloader ( /boot/grub/grub.conf for GRUB ) to use
root=/dev/hda1 or wherever your root is rather than using Label=/
Kerry
--
Kerry Thompson, CCNA CISSP
Information Systems Security Consultant
http://www.crypt.gen.nz kerry@crypt.gen.nz
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: make quickinstall redhat9 problem
2003-07-22 1:07 ` Kerry Thompson
@ 2003-07-22 3:03 ` Lamont R. Peterson
0 siblings, 0 replies; 8+ messages in thread
From: Lamont R. Peterson @ 2003-07-22 3:03 UTC (permalink / raw)
To: Kerry Thompson, selinux; +Cc: sreese
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 21 July 2003 07:07 pm, Kerry Thompson wrote:
> Stephen Reese said:
> > make[1]: Entering directory `/home/installs/selinux/tools'
> > make[2]: Entering directory `/home/installs/selinux/tools/setools' cd
> > apol; make install
> > make[3]: Entering directory `/home/installs/selinux/tools/setools/apol'
> > gcc -Wall -g -I/usr/include -DUSE_SORTING -c apol_gui.c
> > apol_gui.c:14:17: tcl.h: No such file or directory
> > apol_gui.c:15:16: tk.h: No such file or directory
>
> [snip]
>
> SETools requires the TCL and TK libraries to be installed. You can either
> install TCL & TK packages or just build without these tools. SELinux will
Oops, I decided to read the message from the bottom up, and stopped reading
before I go to here. Just shows how trying to debug in a hurry is not a good
idea :-).
> install just fine without the tools, just comment out the line which
> builds and installs the tools from the top-level Makefile:
>
> # @echo "Building and installing SELinux tools"
> # cd tools && make install
Good advice.
- --
Sincerely,
Lamont R. Peterson <lrp@xmission.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/HKlsg5LkF3+ZgzARAnfUAJ0Yv6cwXBGAkk8VDzJf/YeFppr9JQCfY7Qa
JsKDAoYrm/H0vzqRKYdHXrI=
=xWYK
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* grub/boot redhat9 problem
2003-07-22 2:59 ` Kerry Thompson
@ 2003-07-22 23:25 ` Stephen Reese
2003-07-23 3:15 ` Russell Coker
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Reese @ 2003-07-22 23:25 UTC (permalink / raw)
To: selinux
kmod: failed to exec /sbinmodprobe -s -k ide-disk, errno2
VFS: Cannot open root device "hda2" or 03:02
Please apend a correct "root" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 25G 1.8G 22G 8% /
/dev/hda1 99M 39M 56M 41% /boot
none 504M 0 504M 0% /dev/shm
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.21-selinux)
root (hd0,0)
kernel /vmlinuz-2.4.21-selinux ro root=/dev/hda2
initrd /initrd-2.4.21-selinux.img
title Red Hat Linux (2.4.20-19.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/
initrd /initrd-2.4.20-19.9.img
title Red Hat Linux (2.4.20-19.9smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-19.9smp ro root=LABEL=/
initrd /initrd-2.4.20-19.9smp.img
title Red Hat Linux (2.4.20-18.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/
initrd /initrd-2.4.20-18.9.img
title Red Hat Linux (2.4.20-18.9smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9smp ro root=LABEL=/
initrd /initrd-2.4.20-18.9smp.img
title Red Hat Linux (2.4.20-8smp)
root (hd0,0)
kernel /vmlinuz-2.4.20-8smp ro root=LABEL=/
initrd /initrd-2.4.20-8smp.img
title Red Hat Linux-up (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
-----Original Message-----
From: owner-selinux@tycho.nsa.gov [mailto:owner-selinux@tycho.nsa.gov]
On Behalf Of Kerry Thompson
Sent: Monday, July 21, 2003 10:59 PM
To: sreese@prcdigital.com
Cc: selinux@tycho.nsa.gov
Subject: RE: make quickinstall redhat9 problem
Stephen Reese said:
> installing tk and tcl was the trick thanks for the help now I get to
> figure out where I went wrong with the kernel complile =)
>
> VFS: cannot open root device "Label=/"
Change your bootloader ( /boot/grub/grub.conf for GRUB ) to use
root=/dev/hda1 or wherever your root is rather than using Label=/
Kerry
--
Kerry Thompson, CCNA CISSP
Information Systems Security Consultant
http://www.crypt.gen.nz kerry@crypt.gen.nz
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: grub/boot redhat9 problem
2003-07-22 23:25 ` grub/boot " Stephen Reese
@ 2003-07-23 3:15 ` Russell Coker
0 siblings, 0 replies; 8+ messages in thread
From: Russell Coker @ 2003-07-23 3:15 UTC (permalink / raw)
To: Stephen Reese, selinux
On Tue, 22 Jul 2003 19:25, Stephen Reese wrote:
> kmod: failed to exec /sbinmodprobe -s -k ide-disk, errno2
> VFS: Cannot open root device "hda2" or 03:02
> Please apend a correct "root" boot option
> Kernel panic: VFS: Unable to mount root fs on 03:02
That's an issue of configuring the modules for a 2.4.21 kernel in a way that
doesn't work (kernel is buggy). Compile the IDE drivers into the kernel to
solve this.
Also I strongly recommend that you compile and boot a non-SE kernel first
before you try to get SE Linux running.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2003-07-23 14:25 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 0:18 make quickinstall redhat9 problem Stephen Reese
2003-07-22 1:07 ` Kerry Thompson
2003-07-22 3:03 ` Lamont R. Peterson
2003-07-22 2:07 ` pipes
2003-07-22 2:09 ` Stephen Reese
2003-07-22 2:59 ` Kerry Thompson
2003-07-22 23:25 ` grub/boot " Stephen Reese
2003-07-23 3:15 ` Russell Coker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.