Forum OpenACS Q&A: Re: Installing Postgresql

Collapse
4: Re: Installing Postgresql (response to 1)
Posted by Iuri Sampaio on
And now
i'm trying to compile and install postgres and got this error when i executed ./configure

checking for gcc: no
checking for cc: no
configure: error: no acceptable C compiler found in $PATH

How do i install gcc on SUSE 9.0?
I was browsing the gcc website and it says:

Source code for GCC releases may be downloaded from our mirror sites.

Important: because these are source releases, they will be of little use to you if you do not already have a C compiler on your machine. If you don't already have a compiler, you need pre-compiled binaries. Our binaries page has references to pre-compiled binaries for various platforms.

http://gcc.gnu.org/releases.html

Can anyone guide me on that??

best,
iuri

Collapse
Posted by Steve Manning on
You need gcc to compile postgresql, aolserver, tcl etc. all of which is supplied as source. Check out the Prerequisite Software page here https://openacs.org/doc/current/individual-programs.html to ensure you have the required bits before you start.

In Mandrake I would type 'urpmi gcc' to install it and any dependencies. You need to use the equivalent Suse package manager to install gcc. The answer will be in the Suse docs here http://www.novell.com/documentation/suse/index.html


- Steve