Subject: Re: error code 1 on mutt install
To: Ray Schneider <ray@tux.org>
From: Ben Collver <collver@softhome.net>
List: netbsd-help
Date: 11/03/2000 12:22:49
On Fri, Nov 03, 2000 at 02:46:13PM -0500, Ray Schneider wrote:
> hello--
> 
> I just installed netbsd on a UP1000 API machine...
> Ive got pkgsrc and I am trying to make a few things...
> Im noticing a pattern that Im not sure should be happening...obviously I dont
> want this pattern happening since it doesnt allow my installs but whatever..
> heres what happens when I type make for mutt
> 
> alpha# make
> ===> Validating dependencies for mutt-1.2.5i
> => Checksum OK for mutt-1.2.5i.tar.gz.
> ===> Extracting for mutt-1.2.5i
> ===> mutt-1.2.5i depends on file: /usr/pkg/bin/autoconf - found
> ===> mutt-1.2.5i depends on file: /usr/pkg/bin/automake - found
> ===> mutt-1.2.5i depends on executable: gmake - /usr/pkg/bin/gmake found
> ===> mutt-1.2.5i depends on package: gettext>=0.10.35nb1
> ===> Verifying reinstall for ../../devel/gettext
> ===> Building for gettext-0.10.35nb1
> make all-recursive
> Making all in doc
> Making all in lib
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -O2 -c xmalloc.c
> xmalloc.c:40: libintl.h: No such file or directory
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> alpha# 
> 
> Isnt that just a site??? Anyways, I see the libintl.h there but its not in
> /usr/include on the alpha...so the error is correct...my question is where can
> I find the appropriate .h file and is it missing intentionally, ie.. been
> replaced with something else...and if thats the case...should I be letting 
> people know...ie..port maintainers that the makes are broken due to this..
> I believe it happened in both mutt and windowmaker as well as a couple others
> 
> Any pointers in the right direction definately appreciated...thanks..this is
> my first round with netbsd...(but not with bsd in general)
> 
> tia-
> ray
> -- 
> ==============================================
> Ray Schneider                   ray at tux.org
> 
> 

A quick and dirty fix is:
cp /usr/pkgsrc/devel/gettext/work/gettext0.10.35/intl/intlh.inst \
	/usr/include/libintl.h
cd /usr/pkgsrc/mail/mutt
make
---
Altruism: the truth as told by Al