[comp.windows.x] Problems with "make"ing the X distribution...

Nagesh_Pabbisetty.Henr801C@XEROX.COM (10/30/90)

Folks,

I have been trying the make the X distribution, but running into problems.
Could someone help me fix them?

Thanks...

Nagesh Pabbisetty
-------------------------------------------------------------------------------
Intelnet: 8*227-5458				MaBell: (716)427-5458
						Snail Mail:
NS	: Pabbisetty:Henr801C:xerox		  801-27C, 1350 Jefferson Road,
Arpa	: pabbiset@arisia.xerox.com		  Rochester, NY 14623.
-------------------------------------------------------------------------------


CONFIGURATION:
 Sun 4/110 running SunOS 4.0.3.

Here is what I want to do:
	- Build the X distribution including contrib directory contents without
"debug" option, but with ALL extensions.
	- Build the server with debug option. I intend to use X based Saber-C
to traverse the implementation.


Here is what I have done:
	- I untarred the tapes received from MIT in Jan '90, in the directory
/shojoSeta/X/X11R4.

	- I applied all the 18 patches.

	- I tried to make World. However, I couldnot proceed furthur because of
	  errors. I have include the entire log, make.world, at the end of this
	  message.

	  I have Library.tmpl in /shojoSeta/X/X11R4/mit/config
	  -r--rw-r--  1 gregg         334 Oct 20  1989 Library.tmpl

	- Here are the relevant sections of site.def
	  #define HasLargeTmp YES
	  #define InstallOldHeaderFiles NO
	  #define ContribDir $(TOP)/../contrib
	  #define HasXwWidgets NO
	  #define HasXcuWidgets NO
	  #define HasGcc NO
	  #define ExtensionDefines -DSHAPE -DMULTIBUFFER -DMITMISC

	- Here are the relevant entries in sun.cf
	  #define SunOSPlatform     YES
	  #define OSName            SunOS 4.0.3
	  #define OSMajorVersion    4
	  #define OSMinorVersion    0
	  #define HasSaberC	  YES
	  #define HasNdbm	  NO
	  #define XsunServer Xsun
	  #define SystemV           NO
	  #define HasPutenv YES
	  #define HasBsearch YES
	  #define DefaultCCOptions -g
	  #define LibraryDefines  -g /*nbp*/
	  #define OptimizedCDebugFlags /* as nothing */
	  #define UseSunWindowsInServer	YES
	  #define ExtensionDefines -DSHAPE -DMITMISC
	  #define ServerDefines SunWindowsDefines ExtensionDefines
AllocateLocalDefines

	- Here are the entries in Server.tmpl
	  #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)'
'CCOPTIONS=$(CCOPTIONS)'

	         CC = ServerCcCmd
	  CCOPTIONS = ServerCCOptions
	STD_DEFINES = ServerDefines
	CDEBUGFLAGS = ServerCDebugFlags
	EXT_DEFINES = ExtensionDefines

	- Here are the relevant entries from Imake.tmpl
	  #define DebuggableCDebugFlags -g
	  #define OptimizedCDebugFlags -O
	  #define DefaultCDebugFlags DebuggableCDebugFlags
	  #define LibraryCDebugFlags DebuggableCDebugFlags
	  #define DefaultCCOptions
	  #define LibraryCCOptions DefaultCCOptions

----------------------------------------------------------------
			make.world
----------------------------------------------------------------

Building Release 4 of the X Window System

##############################################################
# Did you remember to check the configuration parameters in  #
# the directory ./config and set BOOTSTRAPCFLAGS if needed?  #
##############################################################

Fri Oct 19 13:25:11 EDT 1990

cd ./config; make -f Makefile.ini clean; make -f Makefile.ini
BOOTSTRAPCFLAGS=""
rm -f ccimake imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
making imake with BOOTSTRAPCFLAGS=
cc -o ccimake  -O ccimake.c
cc -o imake  -O imake.c `./ccimake`
mv Makefile Makefile.bak
make -f Makefile.bak Makefile
imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=. -DCURDIR=.
make Makefiles
making Makefiles in ./config...
rm -f config/Makefile.bak
	mv config/Makefile config/Makefile.bak
cd config; imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=../.
-DCURDIR=./config; \
make  Makefiles
making Makefiles in ./include...
rm -f include/Makefile.bak
	mv include/Makefile include/Makefile.bak
cd include; imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=../.
-DCURDIR=./include; \
make  Makefiles
making Makefiles in ./include/bitmaps...
rm -f bitmaps/Makefile.bak
	mv bitmaps/Makefile bitmaps/Makefile.bak
cd bitmaps; imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=../../.
-DCURDIR=./include/bitmaps; \
make  Makefiles
making Makefiles in ./lib...
rm -f lib/Makefile.bak
	mv lib/Makefile lib/Makefile.bak
cd lib; imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=../.
-DCURDIR=./lib; \
make  Makefiles
making Makefiles in ./lib/Xau...
rm -f Xau/Makefile.bak
	mv Xau/Makefile Xau/Makefile.bak
cd Xau; imake -DUseInstalled -I/usr/lib/X11/config  -DTOPDIR=../../.
-DCURDIR=./lib/Xau; \
make  Makefiles
./Imakefile: 2: Can't find include file Library.tmpl
imake: Exit code 2.  Stop.
*** Error code 1
make: Fatal error: Command failed for target `subdirMakefiles'
Current working directory /shojoSeta/X/X11R4/mit/lib
*** Error code 1
make: Fatal error: Command failed for target `Makefiles'
Current working directory /shojoSeta/X/X11R4/mit/lib
*** Error code 1
make: Fatal error: Command failed for target `subdirMakefiles'
Current working directory /shojoSeta/X/X11R4/mit
*** Error code 1
make: Fatal error: Command failed for target `Makefiles'
Current working directory /shojoSeta/X/X11R4/mit
*** Error code 1
make: Fatal error: Command failed for target `World'