ruby1.8-dev: /usr/lib/ruby/1.8/mkmf.rb have_func() fails to find functions in libc
Bug #28424 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby1.8 (Debian) |
Fix Released
|
Unknown
|
|||
ruby1.8 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #347759 http://
Changed in ruby1.8: | |
status: | Unconfirmed → Rejected |
To post a comment you must log in.
Message-ID: <email address hidden> ruby/1. 8/mkmf. rb have_func() fails to find functions
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/
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"; local/include" ; makefile( "intl" );
$CFLAGS = "-I/usr/
have_library( "xpg4", "setlocale" );
have_header( "locale.h" );
if ( have_header( "libintl.h" ) and (have_library( "intl", "gettext" )
or have_func( "gettext" )) )
create_
end
This fails to find gettext() in libc, and so the build fails.
Regards,
Roger
-- System Information: en_GB.UTF- 8 (charmap=UTF-8)
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=
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