Hi
I'm currently working with a SuSE 9.2 dedicated box, which I have root access to. I'm working on making it a webserver, and have succeeded in installing and running Apache2 (prefork), MySQL 4.0.21 and PHP 4.3.8. However, I'd like to upgrade MySQL and PHP to the latest available versions, because an application that will eventually have to run on this server uses MySQL's query caching (which afaik is only fully available since v5.x) and PHP5's extended OOP functionality.
However, when attempting to upgrade PHP5, it seemed that there were no RPM's readily available. I'm not sure if RPM's would fit anyway, because the current installation seems pretty custom. I found a nice guide on how to install PHP5 on SuSE 9.2 here: ht.tp://ww.w.aditus.nu/jpgraph/apache2suse.php (remove the dots - a bit silly that you can't link to other sites until you have made at least 3 posts :/ )
I'm up to step three: compiling PHP5, because PHP4 is working fine. Of the 6 devel rpm's listed there, I managed to find 2: apache2-devel and mysql-devel, which I have both installed successfully from RPM. The others I can't find, except maybe if they're called libpng-devel[versionblabla].rpm instead of png-devel.rpm.
Though those are currently not my problem: when giving configuring PHP5 a shot, I get the following error:
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
My $PATH looks like this:
/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin
And indeed, no gcc or cc to be found in any of those directories. However, an executable called 'cpp' does exist in /usr/bin. I'm not sure if that is a valid compiler, but I guess not because it doesn't seem to find it as a valid compiler.
After searching around for a while, it seems that SuSE Personal? does not come with gcc pre-installed. It is often suggested to either copy it over from the SuSE DVD, or install it using YaST. Copying it from DVD is out of question here, since I'm SSH'ing in using PuTTY (right?). However-, is using YaST possible through the shell ? I think YaST is a GUI application if I'm not mistaken, but I've never worked with SuSE before so I really don't know what it's like.
Seeing that gcc is not installed, and knowing that gcc also requires a lot of other packages it relies on, I'm not sure what I'm best off doing at this point. Any pointers ?
Thanks.