[postgis-devel] tsort warnings

Markus Schaber schabios at logi-track.com
Mon Jan 10 07:10:34 PST 2005


Hi, strk,

On Mon, 10 Jan 2005 11:18:56 +0100
strk at refractions.net wrote:

> I tracked down tsort warnings. They are printed as the result
> of an attempt to topologically sort object files based on their
> dependencies. They actually contain cross-dependencies, so the message
> is correct, but I really don't see a reason to sort object files
> before putting them in a library archive. This is what is done by
> the inherited all-lib rule. Chaning postgis Makefile to only build
> the shared lib (the one used by postgresql) seems to me a reasonable
> solution (if tsort problems are a 'problem') as we don't really need
> liblwgeom.a. Note that a liblwgeom_sa.a will be built for the
> StandAlone functionalities.

Cross-dependencies sometimes point to a weakness in the design, so maybe
this is an issue to discuss.

But nevertheless, I think dropping the .a file is okay, as I do not know
any reason for linking postgis statically.

Markus


-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com



More information about the postgis-devel mailing list