OpenSolaris

Printable Version Enter a New Search
Bug ID 6763798
Synopsis missing imake configuration files
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:programs
Keywords
Responsible Engineer Alan Coopersmith
Reported Against osol_2008.11
Duplicate Of
Introduced In
Commit to Fix snv_103
Fixed In snv_103
Release Fixed solaris_nevada(snv_103)
Related Bugs 6767090
Submit Date 24-October-2008
Last Update Date 13-November-2008
Description
I upgraded a SPARC build system to snv_100a and tried to build a
recent snapshot of the Companion workspace.  The build failed in
lib/xaw3d as follows:

> /builds/kupfer/ccd/usr/src/lib/xaw3d
> gzip -dc Xaw3d-1.5.tar.gz | tar xpf -
> mv xc Xaw3d-1.5
> (cd Xaw3d-1.5/lib/Xaw3d; \
>     xmkmf; \
> #	    patch -i ../../../Makefile.patch Makefile; \
>     mkdir -p ../../include/X11/Xaw3d; \
>     cp *.h ../../include/X11/Xaw3d; \
>     env \
>     PATH=/builds/kupfer/ccd/usr/src/tools/proto/opt/onbld/bin:/builds/kupfer/ccd/usr/src/tools/proto/opt/onbld/bin/sparc:/opt/onbld/bin:/opt/onbld/bin/sparc:/usr/ccs/bin:/opt/SUNWspro/bin:/opt/teamware/bin:/usr/bin:/usr/sbin:/usr/ucb:/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:.:/opt/sfw/bin \
>     CC=/builds/kupfer/ccd/usr/src/tools/gcc \
>     MAKE=/usr/sfw/bin/gmake \
>     PICFLAGS="-fPIC" \
>     STD_CPP_DEFINES="" \
>     STD_DEFINES="" \
>     CCOPTIONS="-I../../include" \
>     LD_OPTIONS="-L/builds/kupfer/ccd/proto/root_sparc/opt/sfw/lib -R/opt/sfw/lib" \
>     /usr/sfw/bin/gmake)
> imake -DUseInstalled -I/usr/X11/lib/X11/config
> "/usr/X11/lib/X11/config/site.def", line 44: Can't find include file host.def
> "/usr/X11/lib/X11/config/site.def", line 46: Can't find include file xorgsite.def
> "/usr/X11/lib/X11/config/svr4.cf", line 268: Can't find include file xorg.cf
> "/usr/X11/lib/X11/config/site.def", line 146: Can't find include file host.def
> "/usr/X11/lib/X11/config/Imake.tmpl", line 2144: Can't find include file X11.rules
> "/usr/X11/lib/X11/config/Imake.tmpl", line 2157: Can't find include file X11.tmpl
> imake: Exit code 2.

Alan Coopersmith said

    imake & its config files were replaced with the current X.Org
    versions in build 97, and from that output, it looks like some
    files missed getting packaged.  Please file a bug under
    solaris/xserver/programs.
Work Around
N/A
Comments
*** Test Case ***
Download libXaw3d source from:
http://freshmeat.net/redir/xaw3d/11835/url_tgz/Xaw3d-1.5E.tar.gz

make a temporary directory for testing, and in it run
gtar -zxf Xaw3d-1.5E.tar.gz
cd xc/lib/Xaw3d/
perl -p -i.bak -e 's/XCOMM EXTRA_INCLUDES/EXTRA_INCLUDES/' Imakefile
mkdir X11 ; cd X11 ; ln -fs .. Xaw3d ; cd ..
xmkmf ; make depend ; make

The xmkmf/make command line should be able to build libXaw3d without error.
In X snv_b103 test cycle:
Bug is verified on Sparc and X86.