Subject: pkg/11640: x11/Xaw3d does not build on Zoularis
To: None <>
From: None <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 12/05/2000 13:24:10
>Number:         11640
>Category:       pkg
>Synopsis:       x11/Xaw3d-1.5 does not build on Zoularis
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 05 13:24:00 PST 2000
>Originator:     Hauke Fath
>Release:        SPARC SunOS 5.7, Zoularis 20000512
Einzeln auftretender Radfahrer
SunOS pizza 5.7 Generic_106541-06 sun4m sparc SUNW,SPARCstation-10

	A build of the Xaw3d-1.5 package on Zoularis 20000512 fails in 
several places:

In "/usr/openwin/lib/config/sv4lib.tmpl" entries SERVERMODULES and
SERVERETC are indented with tab, not spaces, which causes make to
fail. (SunOS bug? Require Solaris patch for Zoularis install?)

"HasGcc2" and "HasCplusplus" need to be defined, e.g. in

Set "HasSunC=NO" in

There is no <X11/Xmu/ExtAgent.h> => in "Vendor.c" #define out the
header include and the call "XtAddEventHandler(...,
XmuRegisterExternalAgent, ...); in XawVendorShellInitialize()

"make install" installs includes in "/usr/openwin/include/X11/X11"
instead ".../include/X11/Xaw3d"; the PLIST tries to install and
register a "lib/" and sets up "*.so" And "*.so.6" links
to it when the package only builds ""

	Install Zoularis 20000512 on a SparcStation with SunOS 5.7
(zoularis-20001003 is borken for Solaris); bootstrap the
gtar/gzip/patch stuff, then fail to build Xaw3d-1.5 pkg.

	Possible fixes for all build problems above; I have not
provided patches as I am not really familiar with the guts of the
NetBSD pkg build system. The pkg install with its Makefiles layered on
top of Makefiles is too intricate for me to see through.