cross compiling postgresql 8.0.1 -- suggestion - Mailing list pgsql-ports

From Vladimir Bychkovsky
Subject cross compiling postgresql 8.0.1 -- suggestion
Date
Msg-id ac229944050305113124b84a1e@mail.gmail.com
Whole thread Raw
Responses Re: cross compiling postgresql 8.0.1 -- suggestion
List pgsql-ports
I have cross compiled PostgreSQL 8.0.1 on i386-linux system for
i386-linux-ulibc. Compilation went through smoothly for the most part.

I had a minor issue with the timezone libary (src/timezone). During
installation of this library it tries to runs zic (seem
src/timezone/Makefile). However, since zic binary is included as a
(cross)compilation target (make all), zic ends up being cross
compiled. And, therefore, can not be used on the host system to
perform installation.

A simple solution to this problem is to remove target zic from 'all'
and add it to 'install' target. see attached patch.

Please let me know if there is a better way to solve this problem.

Vlad.

Attachment

pgsql-ports by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] Errors using Postgres 7.4.6
Next
From: Tom Lane
Date:
Subject: Re: cross compiling postgresql 8.0.1 -- suggestion