domino
18th November 2006, 01:01
Sorry if this has already been posted. It wasn't corrected on the How-To page.
On page 6 (http://www.howtoforge.com/perfect_setup_centos_4.4_p6) 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.
yum install gcc-c++
Edit/Added:
Once you have C+ compiler installed clean the zlib directory and re-run configure.
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.
On page 6 (http://www.howtoforge.com/perfect_setup_centos_4.4_p6) 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.
yum install gcc-c++
Edit/Added:
Once you have C+ compiler installed clean the zlib directory and re-run configure.
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.