Subject: pkg/18774: libungif and giflib fail to build
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/22/2002 14:56:57
>Number:         18774
>Category:       pkg
>Synopsis:       libungif and giflib fail to build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 22 14:57:01 PDT 2002
>Originator:     David Griffith
>Release:        NetBSD 1.6
Build fails like this for both packages:

ldlink/include -I/usr/pkgsrc/graphics/libungif/work/.buildlink/include -c dev2gif.c  -fPIC -DPIC -o .libs/dev2gif.o
dev2gif.c:33: X11/Xlib.h: No such file or directory
*** Error code 1

cd /usr/pkgsrc/graphics/libungif ; make

or try building mplayer (which is how I discovered this problem).
BTW, it would be interesting to learn why mplayer so often has screwy build problems.
In the package's Makefile, comment out the following line:

CONFIGURE_ARGS=         --without-x