Discussion:
Urgent --- Installation error on UltraSPARC-IIi processor version Postgres 7.3.2
(too old to reply)
Somasekhar Bangalore
2004-08-19 07:41:53 UTC
Permalink
Hi All,

I have installed postgres 7.3.2 on Linux Redhat 9 EE on intel processors. I am copying (tar) the installed directories and then I am installing the same on different flavors of linux like turbolinux ,Chinasoft on intel processors etc. The installation went just fine. No compiling of postgres on different flavors.

Then I tried installing postgres on Unix platform on Intel processors. The installation was fine. But when I am installing the same on UltraSPARC-Iii processor. I am not able to install. I am getting a wired error. please find the error message .

------------------------------------------------------------------------------------------------------------------------------------
The program
'/opt/pgsql/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.3.2, or
there may be a configuration problem.

This was the error message issued by that program:
/opt/pgsql/bin/postgres: syntax error at line 1: `^?ELF^A^A^A^B^C^A0+^G^H4' unexpected
------------------------------------------------------------------------------------------------------------------------------------

Can some one help me out figuring what the problem is. My question is does processor matter. The complied postgres file under bin directory was done on intel processor. Does it matter if I used the same postgres file for UltraSPARC-Iii processor.

Cos for intel processor everything went fine on Linux & Unix platform. But when I shifted to a different processor. Installation does go thru.

Thanks
-som

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Uwe C. Schroeder
2004-08-19 08:08:11 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


you're trying to run a intel binary on a sparc processor ??
That will never work!! It's like using gasoline in a diesel engine or using a
hammer with a screw.
Try compiling (or using a binary package) for the sparc platform.
7.3.2 is rather old, so you
1) shouldn't use it anyways (try the latest 7.4)
2) be able to find a precompiled binary for the sparc platform

To your question: YES processors do matter. Most "Intel's" are intel
compatible. Sparc or Motorola processors are not compatible to Intel (or each
other or anything else for that matter).
It would be nice if you could run anything on anything, but that's just not
going to happen.

UC
Post by Somasekhar Bangalore
Hi All,
I have installed postgres 7.3.2 on Linux Redhat 9 EE on intel processors.
I am copying (tar) the installed directories and then I am installing the
same on different flavors of linux like turbolinux ,Chinasoft on intel
processors etc. The installation went just fine. No compiling of postgres
on different flavors.
Then I tried installing postgres on Unix platform on Intel processors. The
installation was fine. But when I am installing the same on UltraSPARC-Iii
processor. I am not able to install. I am getting a wired error. please
find the error message .
---------------------------------------------------------------------------
--------------------------------------------------------- The program
'/opt/pgsql/bin/postgres'
needed by initdb does not belong to PostgreSQL version 7.3.2, or
there may be a configuration problem.
/opt/pgsql/bin/postgres: syntax error at line 1: `^?ELF^A^A^A^B^C^A0+^G^H4' unexpected
---------------------------------------------------------------------------
---------------------------------------------------------
Can some one help me out figuring what the problem is. My question is does
processor matter. The complied postgres file under bin directory was done
on intel processor. Does it matter if I used the same postgres file for
UltraSPARC-Iii processor.
Cos for intel processor everything went fine on Linux & Unix platform. But
when I shifted to a different processor. Installation does go thru.
Thanks
-som
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
- --
UC

- --
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBJF/rjqGXBvRToM4RAjifAJwI4TTrQWLJLjlY4fjIVb9TfU+XSgCcC2/I
OAM+lkwBEgvlT3Ck5KL5Fe4=
=hiVv
-----END PGP SIGNATURE-----


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Loading...