Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to compile php but I receive an error saying that error: no acceptable cc found in $PATH
and the same goes for gcc. I thought that there was a default compiler when I installed RedHat? If not, how do I install a compiler if I can't compile the source from gnu's gcc. Also, the other problem is that I do not have access to the cd's as I am across the country from my server. So my question is how do I install either cc or gcc and where can I download the files needed to do this.
I thought that there was a default compiler when I installed RedHat?
You either haven't installed the compiler when you installed RH or you're running an old version RedHat (9 or older) and the C compiler that comes with it is not up-to-date enough.
And I guess that it's the latter but I might be wrong.
Its a new version of RH, I just forgot to install the compiler. Is there a way I can install a compiler without the cds etc. I tried using yum but got a no module named yum error.
Thanks
Last edited by sbabcock23; 01-10-2007 at 01:28 PM.
Looks like I haven't installed yum correctly because 'rpm -qa |grep -i yum' doesn't return anything to the screen. Do I not just download the source and enter the command make, then make install?
Thanks
Last edited by sbabcock23; 01-11-2007 at 09:35 AM.
Have you tried using the Package Manager? Look under Servers -> Web Server and click on the optional packages button and you'll find PHP. You can also add the C compiler under development tools. It's so easy a caveman can do it. No offense, just always wanted to say that.
I am at a remote location so I do not have access to the terminal itself except via ssh otherwise I would but I can't and I don't have the cds with the rpms to even copy them to the server, oh and I can't run up2date because we are waiting for a license for it. so back to yum...
Last edited by sbabcock23; 01-11-2007 at 12:03 PM.
Ahh, making it a little more difficult. Unfortunately pirut does not have a command line interface that I know of. I don't have RHEL 4 so I can't tell you what http address to get packages from. However, I've run RHL in the past and I do have a few suggestions. Do you have this server registered on the Red Hat Network? If so, you can login to https://rhn.redhat.com and perform your maintenance remotely. It's kind of neat how they set this up. There is a daemon that runs on the server that checks in with RHN periodically to see if there is anything to do. As an admin you can schedule tasks such as adding/removing packages or updating the system using the website. When the server checks in it will do everything you've scheduled. Only drawback is that it doesn't happen immediately. I believe the daemon name is rhnsd. I'm not sure if that is still the same or not.
The main problem is figuring out where the RHEL 4 repositories are so you can get yum. I don't have access to that.
Sorry about my last. Read the part about being at a remote location and having to use ssh and just started typing. Just thought of another option, but I'm not sure if you want to go this direction. RHEL4 was based on FC3. If you are under pressure to get this done then you could try using the PHP rpm from there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.