From: | acvolcano <acvolcano(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org, beeswing <beeswing(at)e-tek(dot)cn> |
Cc: | 李 健 <foxli(at)e-tek(dot)cn> |
Subject: | a problem, maybe not a bug |
Date: | 2005-11-08 10:41:13 |
Message-ID: | 437080C9.1010904@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
hi,
I use the postgresql package for my embeded platform. while
cross-compile the package, It occurs an error and I can't dispose it.
Maybe your can give me some advise.
My configure file (as follows):
############
#!/bin/bash
rm config.cache config.status -f
CC=arm-linux-gcc \
CXX=arm-linux-g++ \
./configure --prefix=/usr/local/armlinux/arm-linux \
--build=i386-linux \
--host=arm-unknown-linux \
--without-readline
after configure, I use "make" command to compile the package, and
everything is ok. So
I use "make install" to install the package. An error occurs(as follows).
Entering directory `/home/acvolcano/mx21/mgis/postgresql-8.0.4/src/port'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/acvolcano/mx21/mgis/postgresql-8.0.4/src/port'
./zic -d /usr/local/armlinux/arm-linux/share/postgresql/timezone
./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[2]: *** [install] Error 126
make[2]: Leaving directory
`/home/acvolcano/mx21/mgis/postgresql-8.0.4/src/timezone'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/acvolcano/mx21/mgis/postgresql-8.0.4/src'
make: *** [install] Error 2
Obviously, the error is usage of the binary file zic, which only can
execute in arm processor.
How can I correct the configure file? I just know a little about the
autoconf.
--
E-TEK CO.,LTD. Shenzhen
Tel: +086-0755-86167669
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2005-11-08 13:09:41 | Re: BUG #2025: i can conect to the server |
Previous Message | Robert Pausch | 2005-11-08 08:12:03 | BUG #2028: delphi-->postgresql |