Thread: Help with installing 6.5.3 on RedHat6.1 - specifying template

Help with installing 6.5.3 on RedHat6.1 - specifying template

From
"Chris Carbaugh"
Date:
Good day all,

This message has been sent to pgsql-general@postgresql.org and
scrappy@hub.org.

I am trying to install Postgresql from source under RedHat 6.1.
The system is a fresh install with the bare minimum packages that I
need.

I have flex 2.5.4 installed (if it matters).

The system is a AMD K6-2/400 running RedHat6.0 with a VMWare virtual machine
running RedHat6.1 (I am trying to install under 6.1 in the virtual machine).

When I run ./configure with no options I get the message:

cheching host system type... configure: error: can not guess host type: you
must specify one

So I try to run:

./configure --with-template=linux_i386

as well as

./configure --with-template=/usr/src/local/src/pgsql/postgresql-6.5.3/src/te
mplate/linux_i386

both of these give the same message about specifying the template to use.

/usr/src/local/src/pgsql/ is where I uzipped/untarred the source tarball
to

./config.guess closes with no output.

I have successfully installed the same source package under RedHat 6.0 on
the same machine (the host to the VMWare virtual machine) once before.

This is only my second attempt at installing postgres, so I am not sure if I
am missing something simple.

Any help is greatly appreciated.

Chris


RE: Help with installing 6.5.3 on RedHat6.1 - specifying template

From
Chris Carbaugh
Date:
Just wanted to apoligize for this message.

Not only did I post it 3 times (the message kept bouncing back to me, so
I didn't think it was going through), but I also posted it to the wrong
list.

I have reposted to the Admin list.

Havn't got any responses yet though. Has anybody installed under RH6.1?

Again I apoligize.

Chris

Chris Carbaugh wrote:
>
> Havn't got any responses yet though. Has anybody installed under RH6.1?

I have installed successfully under rh6.1.  What's seems to be wrong?

Re: [GENERAL] RE: Help with installing 6.5.3 on RedHat6.1 - specifying template

From
Chris Carbaugh
Date:
Attached is the orginal messge I sent (tried to??).

I am trying to install Postgresql from source under RedHat 6.1.
The system is a fresh install with the bare minimum packages that I
need.

I have flex 2.5.4 installed (if it matters).

The system is a AMD K6-2/400 running RedHat6.0 with a VMWare virtual
machine running RedHat6.1 (I am trying to install under 6.1 in the
virtual machine).

When I run ./configure with no options I get the message:

cheching host system type... configure: error: can not guess host
type:
you must specify one

So I try to run:

./configure --with-template=linux_i386

as well as

./configure
--with-template=/usr/local/src/pgsql/postgresql-6.5.3/src/template/linux_i386

both of these give the same message about specifying the template to
use.

/usr/local/src/pgsql/ is where I uzipped/untarred the source
tarball to

./config.guess closes with no output.

I have successfully installed the same source package under RedHat 6.0
on the same machine (the host to the VMWare virtual machine) once
before.

This is only my second attempt at installing postgres, so I am not
sure
if I am missing something simple.

Any help is greatly appreciated.

Ed Loehr wrote:
>
> Chris Carbaugh wrote:
> >
> > Havn't got any responses yet though. Has anybody installed under RH6.1?
>
> I have installed successfully under rh6.1.  What's seems to be wrong?
>
> ************

Chris Carbaugh wrote:
>
> I am trying to install Postgresql from source under RedHat 6.1.
> The system is a fresh install with the bare minimum packages that I
> need.
>
> The system is a AMD K6-2/400 running RedHat6.0 with a VMWare virtual
> machine running RedHat6.1 (I am trying to install under 6.1 in the
> virtual machine).

I don't recognize the problem.  Maybe someone else does.  The
differences between your install and mine:  no VMWare here, and full
install of all packages (some of which I removed, including pgsql,
before installing pgsql from tarball).  I'm also running on dual p3
450s.  config.guess works for me.

My configure command is:

./configure --prefix=$PG_RUN -with-odbc --with-tcl --with-tk

Does it install properly outside of vmware?

Regards,
Ed Loehr

Chris Carbaugh <cjtech@blazenet.net> writes:

> The system is a AMD K6-2/400 running RedHat6.0 with a VMWare virtual
> machine running RedHat6.1 (I am trying to install under 6.1 in the
> virtual machine).

First, try running "uname -a" in the virtual machine, and then run it
out of the virtual machine.  Compare the outputs of the two.  This is
what configure uses to identify what sort of host you're installing it
on, so I'd guess it's saying something funny.

> When I run ./configure with no options I get the message:
>
> cheching host system type... configure: error: can not guess host
> type:
> you must specify one

I think it's not asking for a template; it's asking for a GNU
configure-style system type, which should look something like
"i386-pc-linux-gnulibc6".  If you run "./configure | head" out of the
VM, it'll tell you what the host system type is there, and you can
probably use the same string within the VM.

Chris

--
---------------------------------------------------- cjones@rightnowtech.com
Chris Jones
           System Administrator, Right Now Technologies, Inc.
"Is this going to be a stand-up programming session, sir, or another bug hunt?"