Comment 1 for bug 28424

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 12 Jan 2006 14:01:20 +0000
From: Roger Leigh <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: ruby1.8-dev: /usr/lib/ruby/1.8/mkmf.rb have_func() fails to find functions
 in libc

Package: ruby1.8-dev
Version: 1.8.4-1
Severity: serious
Justification: Causes other packages to FTBFS

>From libintl-gettext-ruby/0.11-5; Bug #322648:

$ cat extconf.rb
require 'mkmf'

$LDFLAGS = "-L/usr/local/lib";
$CFLAGS = "-I/usr/local/include";
have_library( "xpg4", "setlocale" );
have_header( "locale.h" );
if ( have_header( "libintl.h" ) and (have_library( "intl", "gettext" )
or have_func( "gettext" )) )
    create_makefile( "intl" );
end

This fails to find gettext() in libc, and so the build fails.

Regards,
Roger

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages ruby1.8-dev depends on:
ii libruby1.8 1.8.4-1 Libraries necessary to run Ruby 1.

Versions of packages ruby1.8-dev recommends:
ii ruby1.8 1.8.4-1 Interpreter of object-oriented scr

-- no debconf information