Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 03:58:36 -0700 (PDT)
From:      mohacsi@ik.bme.hu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/27611: Bug in ports/devel/p5-Locale-gettext
Message-ID:  <200105241058.f4OAwZe78325@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         27611
>Category:       ports
>Synopsis:       Bug in ports/devel/p5-Locale-gettext
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 24 04:00:05 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 4.3-STABLE
>Organization:
Technical University of Budapest
>Environment:
FreeBSD hydra.ik.bme.hu 4.3-STABLE FreeBSD 4.3-STABLE #3: Tue Apr 24 14:28:25 CEST 2001     mohacsi@hydra.ik.bme.hu:/mirror/source/src/sys/compile/HYDRA  i386
>Description:
The devel/p5-Local-gettext is misses the gnu gettext package. It reports in the make time:
===>  Configuring for p5-gettext-1.01
Note (probably harmless): No library found for -lintl
Writing Makefile for Locale::gettext

It does harmful! After installing the p5-Locale-gettext package, it reports:

/usr/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Locale/gettext/gettext.so: Undefined symbol "bindtextdomain"

This symbol is part of the GNU gettext package so p5-Locale-gettext should be compiled with that library.
>How-To-Repeat:
Try access the bindtextdomain function from perl:

use POSIX;
use Locale::gettext;
my $lang_path='/usr/local/www/locale';
########################################################
####gettext lib initalization
bindtextdomain("xxyyzz", $lang_path);

>Fix:
diff work/gettext-1.01/Makefile.PL working/gettext-1.01/Makefile.PL
4c4,5
<     LIBS => ["-lintl"],
---
>     INC => "-I/usr/local/include",
>     LIBS => ["-L/usr/local/lib -lintl"],

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105241058.f4OAwZe78325>