compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

Started by c kalmost 13 years ago5 messagesgeneral
Jump to latest
#1c k
shreeseva.learning@gmail.com

Hi,
Yesterday we configured a new server with Fedora 17 64 bit and updated it's
kernel to 3.8. I have to compile and install postgresql with python. So I
executed commands

./configure --with-python
make

but make is running for last 16 hours and still not completed. It is
showing same messages again and again like checking pthreads.h usability
etc. I have downloaded latest source from postgresql website.

Please help to solve this issue.

Thanks

C P Kulkarni

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: c k (#1)
Re: compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

c k <shreeseva.learning@gmail.com> writes:

Yesterday we configured a new server with Fedora 17 64 bit and updated it's
kernel to 3.8. I have to compile and install postgresql with python. So I
executed commands

./configure --with-python
make

but make is running for last 16 hours and still not completed. It is
showing same messages again and again like checking pthreads.h usability
etc. I have downloaded latest source from postgresql website.

Wild guess, but: check your system clock, maybe it's set far in the
past. There are places where the build will act strange if the source
file timestamps are newer than the system clock reading.

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3c k
shreeseva.learning@gmail.com
In reply to: Tom Lane (#2)
Re: compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

I changed the hwclock and date/time of the system and synced hwclock with
date/time. hwclock was showing a date around a year ago, which may be due
to some incorrect selection during setup. I will compile again when I will
get access to the server.
I will remember it and will check for other compilations too.

Thanks for the help.

On Fri, Jun 7, 2013 at 7:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Show quoted text

c k <shreeseva.learning@gmail.com> writes:

Yesterday we configured a new server with Fedora 17 64 bit and updated

it's

kernel to 3.8. I have to compile and install postgresql with python. So I
executed commands

./configure --with-python
make

but make is running for last 16 hours and still not completed. It is
showing same messages again and again like checking pthreads.h usability
etc. I have downloaded latest source from postgresql website.

Wild guess, but: check your system clock, maybe it's set far in the
past. There are places where the build will act strange if the source
file timestamps are newer than the system clock reading.

regards, tom lane

#4Scott Marlowe
scott.marlowe@gmail.com
In reply to: c k (#1)
Re: compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

Just for reference, way back in the day my laptop w/486DX50 and 16
megs of RAM took 30 minutes to run ./configure and 1.5 hours to run
make.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#5Jeff Janes
jeff.janes@gmail.com
In reply to: Scott Marlowe (#4)
Re: compiling postgresql 9.2.4 on fedora 17 64 bit takes very long time

On Sat, Jun 8, 2013 at 12:46 PM, Scott Marlowe <scott.marlowe@gmail.com>wrote:

Just for reference, way back in the day my laptop w/486DX50 and 16
megs of RAM took 30 minutes to run ./configure and 1.5 hours to run
make.

Using MinGW and a modern laptop, it does slightly better than that. But
not much.

Just running make, when there is nothing to do, takes a few minutes.

cheers,

Jeff