Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-09-2004, 03:27 PM   #1
Registered: Jan 2004
Location: Canada
Posts: 68

Rep: Reputation: 15
command problems with compiling/everything

hi.. i have RedHat 9, kernel 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 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 howto guide

provide me with links if need be.. i am rather entertained by all of this
Old 01-09-2004, 03:45 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

Install the gcc compiler suite, the bin-utils,

Old 01-09-2004, 03:49 PM   #3
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
not sure what system you're using but are you sure that gcc exists on your system and is in the path?
Old 01-09-2004, 04:43 PM   #4
Registered: Jan 2004
Location: Canada
Posts: 68

Original Poster
Rep: Reputation: 15
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

the last 2 are from removing the server stuff.. doesn't make sence.. but ok..
Old 01-09-2004, 08:42 PM   #5
Registered: Jan 2004
Location: Canada
Posts: 68

Original Poster
Rep: Reputation: 15
fixed it.. all good
Old 01-09-2004, 08:46 PM   #6
Registered: Sep 2003
Location: Canada
Distribution: Fedora 25
Posts: 340

Rep: Reputation: 36
OpenSSL ia part of System/Environment Libraries
I took a look in
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.

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

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

Last edited by alar; 01-09-2004 at 08:47 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems compiling in g++ tsubasa Red Hat 2 03-11-2005 05:53 PM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Compiling problems garf12 Linux - Software 4 03-06-2004 09:37 PM
Compiling Problems garf12 Linux - Newbie 6 03-06-2004 05:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration