Koozali.org: home of the SME Server

Install Postgress GCC not found

Richard Sydney-Smith

Install Postgress GCC not found
« on: September 18, 2003, 08:37:00 AM »
When i ask the server to ./configure Postgres it terminates telling me gcc is not on the path. What do I do?

Thanks

Richard

Richard Sydney-Smith

Re: Install Postgress GCC not found
« Reply #1 on: September 18, 2003, 09:11:34 AM »
Have found out that I can install RPMs from the http://mirror.contribs.org/smeserver/contribs/dmay/mitel/contrib/dev-tools/SME56/ website..

eg [..]# rpm -U gcc-2.96....rpm

however when I do I comes up that certain other folders are required , cpp and glibc in particular.

cpp installs ok but glibc does not. It gives the additional error "kernal-headers" is needed by glibc-devel-2.2.5-40

help :{ what do i do next?

thanks

Richard

Richard Sydney-Smith

Re: Install Postgress GCC not found
« Reply #2 on: September 18, 2003, 10:36:39 AM »
ok kernal-headers is also a rpm....

sh*t, now it wants readline and rpm tell me readline is installed.

Seems this "easy" server is over-simplified. I did not install this system. Just ran into it on a clients site. Not impressed. All I want to do is set up postgresql 7.3.4 and get on with my work. Not all this mucking about with a server that has none of the right files installed or linked.

It seems not that readline and zlib can not be found by the postgresql ./configure script.

Doug M.

Re: Install Postgress GCC not found
« Reply #3 on: September 18, 2003, 11:32:02 AM »
SME does not come with the software developement packages installed. You can find a very complete developement package at;

http://lordsfam.net/downloads/production/dev-tools/

Jon Blakely

Re: Install Postgress GCC not found
« Reply #4 on: September 18, 2003, 01:41:57 PM »
Richard,

Why are you trying to compile postgre on SME when you can just install the rpm's.

Jon

Richard

Re: Install Postgress GCC not found
« Reply #5 on: September 18, 2003, 02:12:23 PM »
Thanks , did the install from the RPMs and it is ok.
Did not realise SME was basically a Redhat box!

So in the end what worked was going to the postgres site and downloading their binary RPMs!

Actually very easy but took a long while to find the easy way.

Still don't understand why ./compile could not find the readline library when
rpm -q readline
tells me that it is installed.