Subject: pkg/10172: graphics/libungif fails to find rle.h
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Rauch <rkr@rkr.kcnet.com>
List: netbsd-bugs
Date: 05/22/2000 00:31:12
>Number: 10172
>Category: pkg
>Synopsis: graphics/libungif fails to find rle.h
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 22 00:32:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Richard Rauch
>Release: Recent sup of pkgsrc (NetBSD i386 1.4.1 kernel; 1.4 userland)
>Organization:
"I probably don't know what I'm talking about." --rkr@rkr.kcnet.com
>Environment:
NetBSD i386, native compilation; bulding graphics/libungif.
(Dependant on rle.h from, I think, the Utah Raster Toolkit (urt).)
System: NetBSD rkr.kcnet.com 1.4.1 NetBSD 1.4.1 (olibGENERIC) #5: Fri May 19 08:41:51 CDT 2000 root@rkr.kcnet.com:/usr/src/sys/arch/i386/compile/olibGENERIC i386
>Description:
As a chain of events while rebuilding my packages after a pkgsrc
update (near total wipe + rebuild), pkgsrc tried to build libungif.
Then it failed with:
cc -DPACKAGE=\"libungif\" -DVERSION=\"4.1.0\" -DX_DISPLAY_MISSING=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_VPRINTF=1 -DHAVE_STRDUP=1 -I. -I. -I. -I.. -I../lib -O2 -c gif2rle.c
gif2rle.c:32: rle.h: No such file or directory
*** Error code 1
Stop.
The problem seems to be that /usr/pkg/include is not being searched
for headers. Probably the Makefile, and/or patches, should ensure
that the proper headers are being accessed.
>How-To-Repeat:
unsetenv LIBRARY_PATH # just in case you have it set...
unsetenv C_INCLUDE_PATH
cd /usr/pkgsrc/graphics/libungif
make update
...works for me. (Or, rather, it doesn't work for me.)
>Fix:
Not being terribly comfortable with the plan of the pkgsrc,
I only offer a workaround:
Before building:
setenv LIBRARY_PATH /usr/pkgsrc/lib
setenv C_INCLUDE_PATH /usr/pkgsrc/include
This works for me and allowed the continued compilation.
>Release-Note:
>Audit-Trail:
>Unformatted: