harry@atmos.washington.edu (Harry Edmon) (08/15/90)
Using "make World" from the XView 2.0 sources can cause you delete
files from directories ABOVE where you have the sources. Here is a
copy of the output I got out of "make World" on XView:
Building Release 2.0 of the XView Toolkit
If you get message, 'Can't find include file XView.tmpl',
set the environment variable IMAKEINCLUDE to
'-I/tmp_mnt/disk0/test/xview/fcs/config'.
Tue Aug 14 10:38:35 PDT 1990
make 'SUBDIRS=config util lib images misc ' Makefiles
making Makefiles in ./config...
rm -f config/Makefile.bak
mv config/Makefile config/Makefile.bak
cd config; imake -DUseInstalled -I./usr_latest/usr/lib/xview/config -DTOPDIR=../. -DCURDIR=./config; \
make Makefiles
making Makefiles in ./util...
rm -f util/Makefile.bak
mv util/Makefile util/Makefile.bak
cd util; imake -DUseInstalled -I./usr_latest/usr/lib/xview/config -DTOPDIR=../. -DCURDIR=./util; \
make Makefiles
making Makefiles in ./util/scripts...
rm -f scripts/Makefile.bak
mv scripts/Makefile scripts/Makefile.bak
cd scripts; imake -DUseInstalled -I.././usr_latest/usr/lib/xview/config -DTOPDIR=../../. -DCURDIR=./util/scripts; \
(etc - lines left out to reduce size of posting
make Makefiles
making Makefiles in ./misc/support...
rm -f support/Makefile.bak
mv support/Makefile support/Makefile.bak
cd support; imake -DUseInstalled -I.././usr_latest/usr/lib/xview/config -DTOPDIR=../../. -DCURDIR=./misc/support; \
make Makefiles
make 'CLEAN_SUBDIRS=config util lib images misc ' clean
rm -f -r ../../../..
NOTICE THE LAST LINE. THIS IS NASTY. I have reported this to
xviewbugs@sun.com, but I thought I ought to post this to save other
from what happened to me.
--
Harry Edmon INTERNET: harry@atmos.washington.edu
(206) 543-0547 UUCP: uw-beaver!atmos.washington.edu!harry
Dept of Atmospheric Sciences, AK-40
University of Washingtonharry@atmos.washington.edu (Harry Edmon) (08/15/90)
I have a better description of the problem and a fix now. The problem occurs with XView 2.0 (as obtained from expo.lcs.mit.edu) when you try to run "make World" when it runs "make clean", or "make clean" itself in the top directory. If you do not modify your Imakefile, the following command is executed at the top of your XView source tree: rm -f ../../../.. THIS IS NOT GOOD. The following patch should fix the problem: *** Imakefile~ Fri Aug 10 12:15:10 1990 --- Imakefile Tue Aug 14 11:33:33 1990 *************** *** 43,49 **** InstallManPage(xview,$(MANDIR)) clean:: ! $(RM) -r $(BUILDINCTOP) World:: @echo "" --- 43,49 ---- InstallManPage(xview,$(MANDIR)) clean:: ! $(RM) -r $(BUILDINCDIR) World:: @echo "" This has been reports to xviewbugs@sun.com. -- Harry Edmon INTERNET: harry@atmos.washington.edu (206) 543-0547 UUCP: uw-beaver!atmos.washington.edu!harry Dept of Atmospheric Sciences, AK-40 University of Washington