[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:23:36 +0800 (CST) |
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
hbstock-2.0.8.tar.gz.
>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).
Bruno
yes , I use gettextize to generate po/ and m4/ directory. Because gettext in
cygwin and unix/linux is very old, and I want to test gettext and libiconv in
mingw, so I use gettextize to generate gettext file in mingw .
The attachment is hbstock-2.0.8.tar.gz, you can test it (make dist), if you get
any error when you run make, you can see README file.
Regards
Zhang HaiBin
---------------------------------
Mp3疯狂搜-新歌热歌高速下
hbstock-2.0.8.tar.gz
Description: 2229360968-hbstock-2.0.8.tar.gz