Subject: pkg/23905: xscreensaver-4.14nb1 fails to build on 1.6.1-sparc
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/27/2003 22:18:03
>Number:         23905
>Category:       pkg
>Synopsis:       xscreensaver-4.14nb1 fails to build on 1.6.1-sparc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 27 22:19:00 UTC 2003
>Originator:     Richard Liang
>Release:        1.6.1-sparc
(Unfortunately I can't access the machine right now; I'm on another computer)
When trying to build xfce4 from pkgsrc (using the meta-pkgs package) the build process fails when it reaches xscreensaver.  The compile process goes along perfectly until it reaches the file analogtv.c, in the "hacks" directory.

When it tries to compile this file, a long string of warnings and errors come up.  Unfortunately I don't have a transcription of these errors but can provide them when my Sparc 10 gets hooked back up (which will be soon).

I did a "make clean clean-depends" and tried building xscreensaver directly; the same errors happen at the same point in the build process.
On my machine, simply try an install of the xscreensaver package from pkgsrc using "make install clean clean-depends".  (You should probably have all of its dependencies already installed.)
Poking around the problem it appears that at the top of the file "analogtv.c" it includes Xutils.h without including Xlib.h first (or was it vice versa?)  In any case, adding the missing include before it seems to work; everything compiles without a hitch.