Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

gettext incompatible with automake's distcheck target?

 
   Soft32 Home -> Linux -> i18n RSS
Next:  partman-partitioning_72_i386.changes ACCEPTED  
Author Message
Jens Seidel

External


Since: Nov 19, 2006
Posts: 123



(Msg. 1) Posted: Wed Sep 23, 2009 7:20 am
Post subject: gettext incompatible with automake's distcheck target?
Archived from groups: linux>debian>maint>i18n (more info?)

Hi,

I tried to use in an automake based project gettext but I always get
errors starting "make distcheck". The problem seems to be that a readonly
source directory is used during this step and make update-po is started in
po/ which tries to update the POT file in the source directory. This fails:

make[4]: Entering directory `/home/jens/.../myProject/_build/po'
/usr/bin/xgettext --default-domain=myProject --directory=../.. \
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
--files-from=../../po/POTFILES.in \
&& test ! -f myProject.po \
|| ( rm -f ../../po/myProject.pot \
&& mv myProject.po ../../po/myProject.pot )
rm: cannot remove `../../po/myProject.pot': Permission denied
make[4]: *** [rhost.pot-update] Error 1

I really cannot believe that I'm the first user of automake/gettext who
noticed this. How to solve it?

Jens


--
To UNSUBSCRIBE, email to debian-i18n-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Clytie Siddall

External


Since: May 01, 2005
Posts: 5



(Msg. 2) Posted: Wed Sep 23, 2009 11:20 am
Post subject: Fwd: gettext incompatible with automake's distcheck target? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

To: Deb18n, TP lists
________________

Jens, it's a good idea to CC gettext queries to the TP list, where
Bruno Haible can see them.

Bruno, sorry to drop this on you without so much as a greeting, but FYI:

Begin forwarded message:

> Resent-From: debian-i18n.DeleteThis@lists.debian.org
> From: Jens Seidel <jensseidel.DeleteThis@users.sf.net>
> Date: 23 September 2009 9:17:41 PM
> To: debian-i18n.DeleteThis@lists.debian.org
> Subject: gettext incompatible with automake's distcheck target?
>
> Hi,
>
> I tried to use in an automake based project gettext but I always get
> errors starting "make distcheck". The problem seems to be that a
> readonly
> source directory is used during this step and make update-po is
> started in
> po/ which tries to update the POT file in the source directory. This
> fails:
>
> make[4]: Entering directory `/home/jens/.../myProject/_build/po'
> /usr/bin/xgettext --default-domain=myProject --directory=../.. \
> --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ \
> --files-from=../../po/POTFILES.in \
> && test ! -f myProject.po \
> || ( rm -f ../../po/myProject.pot \
> && mv myProject.po ../../po/myProject.pot )
> rm: cannot remove `../../po/myProject.pot': Permission denied
> make[4]: *** [rhost.pot-update] Error 1
>
> I really cannot believe that I'm the first user of automake/gettext
> who
> noticed this. How to solve it?
>
> Jens
>
>
> --
> To UNSUBSCRIBE, email to debian-i18n-REQUEST.DeleteThis@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
>
>

I'm hoping to catch up with list mail soon! Salut! Smile

from Clytie

Vietnamese Free Software Translation Team
http://vnoss.net/dokuwiki/doku.php?id=projects:l10n


--
To UNSUBSCRIBE, email to debian-i18n-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Jens Seidel

External


Since: Nov 19, 2006
Posts: 123



(Msg. 3) Posted: Mon Sep 28, 2009 11:20 am
Post subject: Re: gettext incompatible with automake's distcheck target? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Sep 28, 2009 at 10:17:01AM +0200, Wiktor Wandachowicz wrote:
> 2009/9/23 Jens Seidel <jensseidel.DeleteThis@users.sf.net>
> > I really cannot believe that I'm the first user of automake/gettext who
> > noticed this. How to solve it?
>
> Just out of curiosity (because these are two simple questions), have you
> tried to do:
>
> cd path_to_myProject
> chmod -R +w
>
> And have you checked if you are the owner of all files/dirs in this project?

Yep, this is not the problem.

Now I know what happened: I had the line AM_GNU_GETTEXT_VERSION(0.11) in my
configure.ac and used autopoint to copy all gettext related stuff (m4 files,
po/Makefile.in.in, ...) into my project. autopoint uses internally a CVS
repository (that's why the spurious cvs dependency) which contains various
gettext versions. Once it sees my minimal supported version 0.11 (which was
just a guess from me as I assumed the installed version will be used) it
tries to use it and creates po/Makefile.in.in from gettext 0.11. But this is
buggy (as well as many other versions of gettext).

Just try the helloworld.tgz from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=548750
extract it into a temporary directory and change 0.10 to 0.11 in
configure.ac. Now call

../autogen.sh
mkdir build
cd build
.../configure
make distcheck

to verify the problem.
(Since this is a problem with an old version I do not open a bug report.)

My versions:
automake: 1.11
autoconf: 2.64
gettext: 0.17

The funny stuff is that every version of gettext behaves different. So I
probably have to test my package with all recent versions (but want to keep
support for 0.12.1) ...

Jens


--
To UNSUBSCRIBE, email to debian-i18n-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Why is Redhat's EXT3 incompatible with Mandrake? - I have a number of multiboot machines. I've noticed that an EXT3 partition that is formated by Disk Druid can't be read...

GPL-incompatible Module Error Message - Hello all, Building the fglrx module against the current Linux kernel (2.6.20.7 as of this e-mail) I'm getting an..

suse 9.3: Incompatible medium installed wenn keine CD eing.. - Hallo, die /var/log/messages wird alle Sekunde mit folgender Fehlermeldung zugemüllt (hier ein Ausschnitt): Dec 6..

liblocale-gettext-perl - The following perl (juck!) module is b0rked. debian:~# perl -mLocale::gettext Can't load..

Gettext 0.16 patch - This patch allows gettext-0.16 to be built, and it disables Java support on Hurd since gcj is broken anyway. This..

[gentoo-user] Gettext won't emerge for me - When I try my usual update command emerge -aDvu world it's trying to merge sys-devel/gettext-0.16.1 and failing. Th...
       Soft32 Home -> Linux -> i18n All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]