LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiler for RH9 (https://www.linuxquestions.org/questions/linux-software-2/compiler-for-rh9-100210/)

flastylez 10-04-2003 02:25 PM

Compiler for RH9
 
Hello,

Im trying to install a yahoo chat program called gyach and when i tried to run the configure command i got this error:

configure: error: no acceptable C compiler found in $PATH

does anyone know what this means......Im very New to RH9 and Im really trying to learn ....been reading books etc .....getting very frustrated......

How do i knw what compiler i am using? I know that i am using gnome 2.2.0 ......
anyhelp would be greatly appreciated.......thanks

jailbait 10-04-2003 02:47 PM

"does anyone know what this means."

It means that when you installed Red Hat 9 you did not choose to install the C compiler which is called gcc. I think that in Red Hat gcc is one of the programs installed when you choose "Development Package" or some similar name.

One way to solve this problem is to use the Red Hat install program, which name escapes me, to install gcc from the install disks. Another way is to boot the Red Hat install CD and do a partial install of the development package.



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

flastylez 10-04-2003 03:07 PM

Compiler
 
I tried to install the development tools and i keep getting a error msg it reads like this:


krb5-libs 1.2.7.8
openssl = o.9.7a.02

does anyone know how i can install these two??

Thanks

jailbait 10-04-2003 04:19 PM

"krb5-libs 1.2.7.8
openssl = o.9.7a.02

does anyone know how i can install these two??"

They should also be someplace on your Red Hat install disk. I don't know the exact Red Hat commands to install them but you should be able to do a partial install where Red Hat lists every package on the install CDs and you select those two packages for installation. Also if Red Hat gives you a choice, select that you want Red Hat to automatically install any dependencies.

Could somebody who runs Red Hat jump in here and give more detailed instructions?


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

icemncmth 10-04-2003 06:30 PM

I would put the RH disc 1 back in and do an update....the when you get to the page where you can pick what you want have RH install everything. This seems to be the best way to run RH if you are new..IMHO

BajaNick 10-04-2003 09:46 PM

I have had the same exact problem for 2 weeks now. I found out that its a RH bug. its on thier website under the bugs section, bug #83485. Ive tried everything even the work around they posted and it still does not work. If you have RH9 then youve got the newer versions of krb5 1.2.7-8 and openssl 0.9.7a-2 like i do and RH9 does not see the newer versions, it wants the older versions to allow the installation of the devel packages. This sux,ive been working on this for hours just now. :(

flastylez 10-05-2003 12:27 AM

WOW
 
Im so damn frustrated im about to take RH( off my machine.....I have been working on this issue for about 6hours and its real frustrating....lemme know if u find any resolution....

Thanks

BajaNick 10-05-2003 12:51 AM

As soon as i figure something out i will post it but im working on getting a compiler installed so i can install tar files that way you dont really need to install the devel packages from the RH cd. Since the RH installer program only sees the older versions I dont think there will be a way to install the devel packages unless there is a way to take them from the cd without using the RH install program which there probably is but I dont know how. I have tried to force an install of the older klibs and openssl but that did not work, I figured i could install the older ones then get the devel packages from the cd then reinstall the newer versions but no luck with that.:eek: :eek: :eek: yup this is insane, LOL.:cry:

Fugazi 10-05-2003 03:50 AM

Total Linux newbie here, but since I had a very similar problem so I thought I'd share what little knowledge I have.

I was trying to load nvidia drivers, but couldn't because I didn't load kernel-source when I first installed. When I tried to install it, the exact same 2 files came up as missing. After reading around these forums, it looked like my only option was to reinstall from scratch.

When I booted up with with Disk 1, I eventually came to an option to install the whole thing or to install packages that I didn't install before. Packages that weren't installed was the default.

I just selected the packages I wanted and it worked great. It will also tell you if there are any packages you need to make the ones you chose work.

Hope this helps.

ehawk 10-05-2003 09:08 AM

try the binaries
 
There are binaries available for download at the gyach site. Pre-compiled using RH 6.2, so I would think you would be okay.

BajaNick 10-05-2003 11:52 AM

I just tried the binaries and nothing is happening, I run gcc and nothing happens. Before i installed the binaries i would get file not found at least now its running but immediatly shuts down.

BajaNick 10-05-2003 12:57 PM

flastylez, here the fix. goto redhat.com and download the install program then copy it to a floppy then boot with floppy seek enables in the bios then choose only the devel packages from the cd, make sure you choose upgrade packages not reinstall. that will install the c compiler and all the devel. packages.

or you can just set your bios to boot from the cd and reboot with the cd in the drive and that should start the install program i think.

flastylez 10-05-2003 01:02 PM

kool
 
Hey thanks alot baja ......I went on ahead and did a clean install .........and then i got everything to work fine ......the only mistake i did was i installed every damn option with the CD......LMAO.....that took about 45min and then put stuff on here i wont ever use ......i also installed the kde desktop along with the gnome ......and once your in gnome u can switch to kde.......man i love the kde alot better ........very user friendly .........things are running smooth now......im starting to like RH again......LOL.......thanks for all your help.

ehawk 10-05-2003 07:07 PM

don't gcc binaries
 
Glad it worked out for you. You don't need to gcc binary files. They are pre-compiled. Simply enter

./ filename

at a prompt in the same directory as the executable file. You must have execution permission. Alter permissions with chmod if necessary.


All times are GMT -5. The time now is 09:11 AM.