LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-17-2006, 03:50 PM   #1
Voetsjoeba
LQ Newbie
 
Registered: Sep 2006
Distribution: SuSE 9.2 Personal?
Posts: 9

Rep: Reputation: 0
SuSE 9.2 - No decent compiler found in $PATH


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.
 
Old 09-17-2006, 03:58 PM   #2
Voetsjoeba
LQ Newbie
 
Registered: Sep 2006
Distribution: SuSE 9.2 Personal?
Posts: 9

Original Poster
Rep: Reputation: 0
Bah, I'm an idiot. I searched before posting this, but nothing came up. Now the exact threads I was looking for appear under Similar Threads. GG.

I'd still need some pointers on getting gcc on my system though.
rpm -qa | grep gcc returned libgcc-3.3.4-11, so I guess it's installed ... but ..uhm .. not really :/ So does that mean I have the RPM, but I still need to install it ? If so, where in the filesystem can I find this RPM ?

libgcc-3.3.4-11 also seems to be the gcc rpm I found when browsing a SuSE FTP mirror for 9.2 RPMS.

Last edited by Voetsjoeba; 09-17-2006 at 04:11 PM.
 
Old 09-17-2006, 04:20 PM   #3
Voetsjoeba
LQ Newbie
 
Registered: Sep 2006
Distribution: SuSE 9.2 Personal?
Posts: 9

Original Poster
Rep: Reputation: 0
I'm liking what yast -i gcc is doing so far

Huzzah!

# gcc --version
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Last edited by Voetsjoeba; 09-17-2006 at 04:21 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
no acceptable C compiler found in $PATH sinXposed Linux - Software 4 08-10-2006 02:14 PM
no acceptable C compiler found in $PATH rhraz Mandriva 9 08-01-2006 07:03 PM
No C Compiler found in $PATH fueldistributa Linux - Newbie 2 05-16-2006 06:59 PM
Suse 9.1 Personal - No acceptable C compiler found in $PATH Baddox SUSE / openSUSE 5 12-01-2004 02:14 AM
No C compiler found in $path dstjames Linux - Newbie 1 11-17-2004 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration