LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command problems with compiling/everything (https://www.linuxquestions.org/questions/linux-newbie-8/command-problems-with-compiling-everything-133170/)

Zaius 01-09-2004 03:27 PM

command problems with compiling/everything
 
hi.. i have RedHat 9, kernel 2.4.20.28-9 and i've been trying to update it to 2.6.0 so i can use the latest IPtables-1.2.9, which requires at least 2.4.4.

i've been following the linuxquestions.org/questions/showthread.php?s=&threadid=91503 mini-howto guide on compiling lthe kernel and this error comes up:

HOSTCC scripts/fixdep
/bin/sh: line 1: gcc: command not found
make[1]: *** [scripts/fixdep] Error 127
make: *** [scripts/fixdep] Error 2


a similar error occurs with pretty much everything.. even when applying the IPtables-1.2.9 to the kernel..

Extensions found: IPv4:recent IPv6:ah IPv6:esp IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/kernel/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.9\" -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
make: cc: Command not found
make: *** [extensions/libipt_ah_sh.o] Error 127


Commands just can't be found.. what's happened? as it doesn't even allow me to play with the currently installed IPtables when using this linuxathome.net/iptables.php howto guide

provide me with links if need be.. i am rather entertained by all of this :)

Tinkster 01-09-2004 03:45 PM

That just means that you haven't installed
any development packages :}

Install the gcc compiler suite, the bin-utils,
...


Cheers,
Tink

jpbarto 01-09-2004 03:49 PM

not sure what system you're using but are you sure that gcc exists on your system and is in the path?

Zaius 01-09-2004 04:43 PM

ok i've tried adding in those packages Developement Tools and Kernel Developement.. and i also removed my server stuff., just because i'm not using it yet..

but 4 files are now missing/unable to find and i can't continue without them..

krb5-libs = 1.2.7-10
openssl = 0.9.7a-2
redhat-config-securitylevel
redhat-config-printer-gui

the last 2 are from removing the server stuff.. doesn't make sence.. but ok..

Zaius 01-09-2004 08:42 PM

fixed it.. all good

alar 01-09-2004 08:46 PM

OpenSSL ia part of System/Environment Libraries
I took a look in http://shrike.freshrpms.net/list.html
but didn't find it. If you were to use a tool like Synaptic to find them
you would just have to type OpenSSL and it would 'go get it' for you....

Synaptic is a graphical frontend for apt. Synaptic is used very much
like apt-get.

http://shrike.freshrpms.net/rpm.html?id=1492

I like it so much better than rpm :)
You can read a bit about the history here.

http://linuxtoday.com/infrastructure...00100226OSDBSW

OK. Glad you fixed it. But, Synaptic may be worth checking out for next time :)


All times are GMT -5. The time now is 03:06 AM.