Re: BUG #1593: Problem with installation

From: "Tajoddin Nezami" <Tajoddin(dot)Nezami(at)toshiba-trel(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1593: Problem with installation
Date: 2005-04-13 11:39:10
Message-ID: 0D692DC28498C342B965CC964CE54BB82CD4B9@vorlon.toshiba-trel.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

Thanks for your prompt reply. Eventually, I did manage to get it
cross-compile and install on the target and my initial tests show no
problems so far. I had to modify the timezone Makefile by hand to force
the ZICOBJS to compile using the host's native compiler (as localtime.o
is used in OBJS list I made the output file for zic to be tlocaltime.o).

Regards

Taj Nezami

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: 12 April 2005 19:56
To: Tajoddin Nezami
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #1593: Problem with installation

"Taj Nezami" <tajoddin(dot)nezami(at)toshiba-trel(dot)com> writes:
> 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:

We don't really support cross-compilation at the moment. There are
several AC_TRY_RUN tests in the configure script that may or may not
make the right guesses when cross-compiling, plus as you found out
there's at least one program that needs to be run during the
installation phase.

It shouldn't be too hard to copy over the zic program and its input
data files and run it on the target machine, but the existing Makefiles
won't help you with that :-(

On the whole I'd advise building on the target. If it's got enough
oomph to run a database, it can surely run a compiler ...

regards, tom lane

This message has been scanned for viruses by MailController -
www.MailController.altohiway.com

Browse pgsql-bugs by date

  From Date Subject
Next Message Stphane Brub 2005-04-13 23:33:38 BUG #1595: Segmentation fault
Previous Message Kris Jurka 2005-04-13 08:18:50 Re: BUG #1594: ResultSet.getBytes() vs db encoding latin1