> Ashish Sharma wrote:
> Architecture (example: Intel Pentium) : Intel Pentium
> Operating System (example: Linux 2.0.26 ELF) : Redhat Linux 6.0
> (US)
> PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-6.5.2
> Compiler used (example: gcc 2.8.0) :
> This is what I get:
> -------
> ./configure --with-template=linux_i386
> loading cache ./config.cache
> checking host system type... configure: error: can not guess host
> type; you must specify one
> -------
>
> whereas ./config.guess doesn't give any output.
Something's fishy -- on a fresh postgresql-6.5.2 tree straight from tar
xzf, I cd to postgresql-6.5.2/src, then execute ./config.guess, I get:
i586-pc-linux-gnu
On RedHat 6.0, kernel 2.2.5-15, glibc 2.1.1, egcs 1.1.2 running on an
Intel Pentium 60.
The fact that it is loading an existing config.cache tells me
something's up -- is this a _fresh_ tree?? A listing of the results of
'rpm -qa' on this box might be educational.
For building the RPM's for RedHat 6.1 (which, BTW, work properly on
RedHat 6.0), I used a slightly modified version of the following
configure line:
-------------------------
./configure --enable-hba --enable-locale \
--with-perl \
--with-tcl --with-tk --with-x \
--with-odbc --with-java \
--with-python
-------------------------
Which gives me the following output (excerpted):
-------------------------
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking echo setting...
checking setting template to... linux_i386
[snip]
---------------------------------
So, I know that it will configure on a Pentium running RedHat 6.0 (with
the proper development RPM's loaded).
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11