LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 15
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
 
Old 01-09-2004, 03:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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

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


Cheers,
Tink
 
Old 01-09-2004, 03:49 PM   #3
jpbarto
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
Zaius
Member
 
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
redhat-config-securitylevel
redhat-config-printer-gui

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

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

Rep: Reputation: 37
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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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