Subject: pkg/11039: pkg devel/gettext fails to compile if already installed [incl. fix]
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/18/2000 15:49:22
>Number:         11039
>Category:       pkg
>Synopsis:       devel/gettext fails to compile if already installed
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 15:55:01 PDT 2000
>Originator:     Rhialto
>Release:        pkgsrc supped as of just now
System: NetBSD 1.4.1 NetBSD 1.4.1 (AZENOMEI) #27: Wed Jun 14 01:41:57 CEST 2000 alpha

	If gettext is already installed (any version), the configure
	script omits a compatibility object file from libintl.{a,so}, on
	the grounds that it does not want to interfere with
	system-supplied versions of several functions. Comments indicate
	it tries to avoid this if the encountered version is GNU gettext
	itself, but that strategy seems to fail.

	As a result, the build fails when an executable won't link.

	I classified this as critical/high because so many packages
	depend on this one, and therefore upgrading will be impossible
	while this is not resolved. Fortunately the fix is easy (see

	cd devel/gettext && make install && make clean && make
	Add this line to devel/gettext/Makefile:

	CONFIGURE_ARGS+=        --with-included-gettext

___ Olaf 'Rhialto' Seibert - rhialto@polder   -- Ah only did well at school
\X/      -- tae git intae an O level class tae git away fae Begbie.