[Top][All Lists]

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

Re: make dist error in mingw in gettext -0.15 ~ 0.16.1

From: haibin zhang
Subject: Re: make dist error in mingw in gettext -0.15 ~ 0.16.1
Date: Sun, 11 Feb 2007 20:53:13 +0800 (CST)

Hi Bruno:
I have tested hbstock-2.0.8.tar.gz in Cygwin and linux (Fedora Core release 
5)(I use gettextize -c -f to generate m4/ and po/ in Mingw and run make dist in 
Cygwin and linux),  It don't create hbstock-2.0.8/hbstock-2.0.8/po directory. 
it only create hbstock-2.0.8/hbstock-2.0.8/po directory(empty) in Mingw. 


Zhang HaiBin

Bruno Haible <address@hidden> 写道: Hello,

haibin zhang wrote on Tuesday:
> When I make dist a project , gettext will add an empty director to my
> project like : root_dir/po
> for example:
> my project is : hbstock-2.0.8
> make dist  result :  hbstock-2.0.8.tar.gz
> tar zxvf  hbstock-2.0.8.tar.gz :
> address@hidden /e/zhb_svn/mingw/build/hbstock_build
> $ ls hbstock-2.0.8
> ABOUT-NLS  INSTALL      README        config.guess  configure     
> hbstock-2.0.8  m4             src
> AUTHORS    Makefile.am  aclocal.m4    config.h.in   configure.ac  include     
>    missing        test
> COPYING    Makefile.in  bootstrap.sh  config.rpath  depcomp       install-sh  
>    mkinstalldirs  win_setup
> ChangeLog  NEWS         compile       config.sub    etc           ltmain.sh   
>    po
> it will create hbstock-2.0.8 directory and add po/ directory(empty) to it.
> why gettext add a empty /hbstock-2.0.8/po/ to project ?

The info you showed is not sufficient for me to give a definite answer.
I can find a download location of hbstock-1.1.5 at sourceforge.net, but no

>From that hbstock-1.1.5, I see that you actually have translation catalogs
and want them distributed? Possibly you have not specified 'po' among the
SUBDIRS in the toplevel Makefile.am. I recommend using the gettextize script
instead of tweaking the various files by hand. Note that gettextize is
supported only on Unix platforms; this includes cygwin but not mingw.
Since you are on a Woe32 platform, take a look for a Cygwin build of the
gettext tools (even if afterwards, you link with the mingw build of the
gettext library).



reply via email to

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