Re: psiconv on Windows


Subject: Re: psiconv on Windows
From: Frodo Looijaard (frodol@dds.nl)
Date: Fri Jan 26 2001 - 01:37:37 CST


Sam TH wrote:
>
>
> > Here's an interesting question: when we build AbiWord on say, Linux, f=
> or
> > distribution, do we build it with zlib and psiconv linked in statically? =
>
> The other libraries (wv, expat, and now psiconv) are always built from
> source, and are always statically linked to the executable.

This is not quite true for psiconv. The algorithm used is:
  * If there is a peer psiconv tree, use it to compile a *static*
    libpsiconv and add it to the library list;
  * If there is not a peer psiconv tree, check whether there is a
    system-wide install and use it. If available, a shared library
    will then automatically be picked up in preference to a static
    version on most platforms.

The idea is that the psiconv abi-word peer-tree is always the/a
correct version for AbiWord, while a system-wide install might be
older (or even too new). So there must be some way to easily ignore
the system-wide install. On the other hand, if you know you have a
perfectly working system-wide install, it is much better to use the
shared library from that.

Unless people can shoot holes in this argument, I'd like to see the
same done for wv and expat, as this seems the most user-friendly
way of solving this problem.

Thanks,
  Frodo

-- 
Frodo Looijaard <frodol@dds.nl>  PGP key and more: http://huizen.dds.nl/~frodol
Defenestration n. (formal or joc.):
  The act of removing Windows from your computer in disgust, usually followed
  by the installation of Linux or some other Unix-like operating system.



This archive was generated by hypermail 2b25 : Fri Jan 26 2001 - 01:37:46 CST