bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Make GetText 0.16.1 on Windows


From: Karsten Kousgaard
Subject: Re: Make GetText 0.16.1 on Windows
Date: Fri, 17 Aug 2007 01:57:46 -0800

>> My problem is that I'm trying to build GetText 0.16.1, and I have no
>> idea how to do that.
> 
> If you use cygwin, a simple 'configure && make' works, as is the case for
> most GNU packages.
> 
> http://cygwin.com/ml/cygwin/2007-08/msg00317.html

OK thanks, I got a little further but still have problems.
Here is what I have done so far:

Installed cygwin to c:\cygwin
during install on "Select packages" page, make sure to install 
Devel -> make package
Devel -> mingw runtime  (is that necessary?)

Installed mingw in c:\MinGW

Extract and copy GetText to c:\cygwin\tmp\gettext-0.16.1

run Cygwin.bat
cd /tmp/gettext-0.16.1
export PATH=/cygdrive/c/MinGW/bin:$PATH

paste the following and hit enter
CPPFLAGS="-mno-cygwin -Wall -I/usr/local/mingw/include" \
CFLAGS="-mno-cygwin -O2 -g" \
CXXFLAGS="-mno-cygwin -O2 -g" \
LDFLAGS="-mno-cygwin -L/usr/local/mingw/lib" \
./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw

There seems to be a bug in localename.c
./localename.c:1145: error: duplicate case value
./localename.c:1144: error: previously used here
./localename.c:1359: error: duplicate case value
./localename.c:1358: error: previously used here
./localename.c:1367: error: duplicate case value
./localename.c:1366: error: previously used here
I manually edited the file and just outcommented the switch at those lines, 
returning a default value. I don't think that should matter
    case LANG_ROMANIAN:
//      switch (sub)
//        {
//        case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO";
//        case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD";
//        }
        return "ro";

make
after a long time I get this error

gcc -mno-cygwin -O2 -g -mno-cygwin -Wl,--disable-auto-import -o .libs/test-names
.exe test-names.o  -L/usr/local/mingw/lib libuniname.a ../gnulib-lib/.libs/libge
ttextlib.dll.a /tmp/gettext-0.16.1/gettext-tools/intl/.libs/libintl.dll.a -L/usr
/local/mingw/lib
gcc.exe: /tmp/gettext-0.16.1/gettext-tools/intl/.libs/libintl.dll.a: No such fil
e or directory


/tmp/gettext-0.16.1/gettext-tools/intl/.libs/libintl.dll.a does exists, so what 
can be the problem?

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!




reply via email to

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