[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext --with-included-gettext and INSTALLPREFIX problem

From: Pawel Kot
Subject: Re: gettext --with-included-gettext and INSTALLPREFIX problem
Date: Sun, 18 Jul 2004 19:09:35 +0200 (CEST)

On Fri, 16 Jul 2004, Bruno Haible wrote:

Hi Bruno,

Thanks for your answer.

> Pawel Kot wrote:
> > I'm using the current gettext version (0.14.1). I encounter the following
> > problem when using --with-included-gettext. File relocatable.c uses
> > INSTALLPREFIX define/macro. Unfortunately this macro is defined nowhere.


> If you are attempting to install a program which borrows the intl/ directory
> from GNU gettext, the part of relocatable.c which uses INSTALLPREFIX should
> not be compiled: it depends on defined(PIC), and why would a package need
> to compile intl/* in PIC mode? Only GNU gettext shall install libintl.so;
> other packages shouldn't do that.

-fPIC and -DPIC flags are automatically added by autotools (libtool in
this case). And I belive mixing PIC and non-PIC code will not work. For
example Debian submitted a bug in gnokii (this is a software we are
talking about) on non x86 archs when we didn't add PIC compilation tags
and we did not use libtool (which does the work at the moment).

> Btw, next time please also say on which system you observe the problem:
> Many build dependent things are system dependent, and not everyone is using
> Linux.

This is more or less Slackware Linux 10.0. But I belive this is on most
Linux environments. I'm not sure at the moment about cygwin.

take care,
p k o t a t b e z s e n s u d o t p l

reply via email to

[Prev in Thread] Current Thread [Next in Thread]