BUG #1593: Problem with installation - Mailing list pgsql-bugs

From Taj Nezami
Subject BUG #1593: Problem with installation
Date
Msg-id 20050412174714.A6AE6F0B38@svr2.postgresql.org
Whole thread Raw
Responses Re: BUG #1593: Problem with installation
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1593
Logged by:          Taj Nezami
Email address:      tajoddin.nezami@toshiba-trel.com
PostgreSQL version: 8.0.2
Operating system:   ARM Embedded Linux
Description:        Problem with installation
Details:

I have cross-compiled the PostgreSQL 8.0.2 on the Fedora Core-1 host for my
Intel-XScale based target running embedded Linux 2.4.26-vrs1, using the
following command sequences:
$ >./configure --prefix=/usr --host=arm-linux --build=i686-pc-linux-gnu
--without-docdir
$make

This completes successfully. But when I subsequently try to do:
$ >make install-strip DESTDIR=/tmp/pgsql

I get the following error messages:
.....................
mkdir -p --
/opt/arcom/arm-linux/src/postgresql-8.0.2/build/usr/share/postgresql./zic -d
/opt/arcom/arm-linux/src/postgresql-8.0.2/build/usr/share/postgresql/timezon
e ./data/africa ./data/antarctica ./data/asia ./data/australasia
./data/europe ./data/northamerica ./data/southamerica ./data/pacificnew
./data/etcetera ./data/factory ./data/backward ./data/systemv ./data/solar87
./data/solar88 ./data/solar89
./zic: ./zic: cannot execute binary file
make[3]: *** [install] Error 126
make[3]: Leaving directory
`/opt/arcom/arm-linux/src/postgresql-8.0.2/src/timezone'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/arcom/arm-linux/src/postgresql-8.0.2/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/arcom/arm-linux/src/postgresql-8.0.2'
make: *** [install-strip] Error 2


I am new to this and it is blocking me. Please help.

pgsql-bugs by date:

Previous
From: "Marcus v. Scotti"
Date:
Subject: Re: BUG #1581: Problem with capitalised DB names...
Next
From: Tom Lane
Date:
Subject: Re: BUG #1593: Problem with installation