r5 - 11 Dec 2007 - 15:27:58 - MikeTYou are here: OSAF >  Developers Web  >  DevelopmentHome > InternationalizationProject > BuildingGettext

Building and Installing GNU's gettext

If you OS of choice does not currently have gettext installed, here is list of package names for it and, if required, steps to build and install it from source

Note: Right now Chandler depends on version 0.16.* (note any version after 0.14.* except for 0.15.0 will work)

Ubuntu

Windows (using Cygwin)

  • http://cygwin.com/
    • gettext: http://cygwin.com/cgi-bin2/package-cat.cgi?file=gettext%2Fgettext-0.14.5-1&grep=gettext
    • gettext-devel: http://cygwin.com/cgi-bin2/package-cat.cgi?file=gettext-devel%2Fgettext-devel-0.14.1-1&grep=gettext

OS X

  • if you have Darwin Ports already installed:
    • http://darwinports.opendarwin.org/ports/?by=name&substr=gettext
    • gettext 0.14.5
      GNU gettext package
      Maintained by: mijatopendarwin.org
      Categories: devel
      Platforms: darwin freebsd linux
      Dependencies: libiconv

If you do not have Darwin Ports (or Fink) then you need to install gettext from source, see the instructions below.

If Darwin Ports (or Fink) install anything greater than 0.14.5 you will need to remove it and install from source.

Debian

  • http://packages.debian.org/cgi-bin/search_packages.pl?keywords=gettext&searchon=names&subword=1&version=all&release=all
  • Package gettext
    • oldstable (devel): GNU Internationalization utilities
      • 0.10.40-5: alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
    • stable (devel): GNU Internationalization utilities
      • 0.14.4-2: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
    • testing (devel): GNU Internationalization utilities
      • 0.14.6-1: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc
    • unstable (devel): GNU Internationalization utilities
      • 0.14.6-1: alpha amd64 arm hppa i386 ia64 kfreebsd-i386 m68k mips mipsel powerpc s390 sparc
      • 0.14.5-2: hurd-i386

Source

  • Download the source tarball from http://www.gnu.org/software/gettext/ - Navigating the GNU site can be a bit frustrating, here is a direct link to one of the source tarballs: http://mirrors.kernel.org/gnu/gettext/gettext-0.16.1.tar.gz

  • Extract to your favorite package install dir and run thru the normal configure/make/install steps:
  tar xzf gettext-0.16.1.tar.gz
  cd gettext0.16.1
  ./configure
  make
  sudo make install

Note sudo may not be required if you have permission to the install path

Note you can tell configure to install to a non-system directory by using the --prefix option

Fedora Core

  • I really wanted to include a list of rpm names but every single time I tried to access http://www.fedora.us/wiki/FedoraPackageLists my browser timed out (and this was during many attempts over an hour.)

-- MikeT - 24 Jul 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.