Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th November 2006, 00:01
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 8 Times in 7 Posts
Default CentOS 4.4 ~ cc: Command not found

Sorry if this has already been posted. It wasn't corrected on the How-To page.

On page 6 it states to install the newer zlib and I came to a brick wall with error message: cc: Command not found. It turns out that C+ compiler wasn't install by default and I wasn't instructed to install it before reaching this stage. To solve the problem, just run the following command.

Code:
yum install gcc-c++
Edit/Added:

Once you have C+ compiler installed clean the zlib directory and re-run configure.

Code:
make clean
./configure --shared
make
make install
The second thing I wanted to point out is that you do not need to download all 4 disks anymore if you only need LAMP installed. There is a much smaller single Server Disk (~594mb) that will do the job.
__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4

Last edited by domino; 18th November 2006 at 00:12.
Reply With Quote
Sponsored Links
  #2  
Old 18th November 2006, 15:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by domino
Sorry if this has already been posted. It wasn't corrected on the How-To page.

On page 6 it states to install the newer zlib and I came to a brick wall with error message: cc: Command not found. It turns out that C+ compiler wasn't install by default and I wasn't instructed to install it before reaching this stage.
It is installed by default if you select Development Tools as shown on page two of the "Perfect Setup": http://www.howtoforge.com/perfect_setup_centos_4.4_p2
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th November 2006, 16:07
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 8 Times in 7 Posts
 
Default

Quote:
Originally Posted by falko
It is installed by default if you select Development Tools as shown on page two of the "Perfect Setup": http://www.howtoforge.com/perfect_setup_centos_4.4_p2
Yes, but on the Server CD, C+ compiler isn't installed. I think most would rather download ~20mb from yum than downloading all 4 ISOs.

Code:
CentOS-4.4.ServerCD-i386.iso	2006-Sep-15 21:32:51	579.8M	application/octet-stream
Also using the methed I used, you will need to manually install "flex".

__________________
Shuttle XPC | Intel 865g | P4 3.2Ghz | ATI 9800 Pro
Hosts: Ubuntu 6.10 ~ XGL-Beryl SVN-Gnome | OS X 10.4.8 | WindowsXP
Virtual Appliances: Ubuntu Server 6.10 | WindowsXP | CentOS 4.4
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 4.4 mysql5 php5 upgrade hoihtah Installation/Configuration 6 7th November 2006 16:46
Updating to CentOS 4.4 fjalke Installation/Configuration 5 23rd September 2006 14:19
Error with CentOS 4.4 i386 schwan Installation/Configuration 7 4th September 2006 02:15
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06
Having Problems with KWiFiManager sbovisjb1 Installation/Configuration 7 17th April 2006 22:53


All times are GMT +2. The time now is 20:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.