Page 1 of 1

make menuconfig problem

PostPosted: Fri Sep 07, 2007 2:52 am
by superbobbes
always when i try to execture this command i get this message

/root/grsecurity/linux-2.6.19.2/scripts/gcc-version.sh: line 11: gcc: command not found
/root/grsecurity/linux-2.6.19.2/scripts/gcc-version.sh: line 12: gcc: command not found
HOSTCC scripts/basic/fixdep
/bin/sh: gcc: command not found
make[1]: *** [scripts/basic/fixdep] Error 127
make: *** [scripts_basic] Error 2


I am using openSuse 10.2.

Any more information?

PostPosted: Sun Sep 09, 2007 2:47 am
by specs
Sorry for asking the obvious, but have you succeeded in compiling grsecurity before?
Did you try compiling a vanilla kernel?
Does it have the same problems or do the problems start after applying the grsecurity patches?

Generally when I install a fresh system I usually install the kernelsources supplied by the distribution if only to install all the necessary tools like gcc and ncurses. I only apply the patches on kernels downloaded from http://www.kernel.org because one can't predict what patches have been applied by the distribution already.

After the proper tools are installed the kernelsources themselfes are off course superfluous. Advantage of using the provided tools in the package is obviously the advatage of them being included in the (security-) updates.

PostPosted: Mon Sep 10, 2007 2:59 am
by superbobbes
i used the quickstart guide! so i did everythink like it explained in this guide :)

i have the problems already without patching the kernel

PostPosted: Mon Sep 10, 2007 6:29 am
by amdfanatyk
No compiler, no compilation.

PostPosted: Mon Sep 10, 2007 1:46 pm
by specs
You might try reading the Kernel-HOWTO before the Quick-Start of Grsecurity.

I'd suggest learning to compile the kernel from your OS first using the sources and the config supplied by your distribution first, then a vanilla kernel, then perhaps GrSecurity.