README.building 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* $XConsortium: README.building /main/2 1996/07/15 14:12:43 drk $ */
  2. Since dtksh does not use anything like a normal build environment,
  3. here are some hints.
  4. - Make a Makefile in cdesrc/cde1/dtksh as if it were a normal
  5. component
  6. - make includes; make all
  7. dtksh will build initially fine.
  8. Now, if you change anything, you'll find that just typing "make"
  9. doesn't do anything. What you have to do is go to
  10. cdesrc/cde1/dtksh/ksh93/ship. Under there you'll find a distorted
  11. version of the directory structure under ksh93. Find the directory
  12. that corresponds to the directory that contains your change and
  13. remove the file "BUILT". Now cd back up to dtksh and make, and
  14. dtksh should remake itself. Of course, it will recompile many
  15. more files than you actually built, since dtksh does not use
  16. make in any recognizable way.
  17. In fact, it appears the best thing to do is go to cde1/dtksh
  18. and run "ksh MakeClean" which will blow away many files and force
  19. a clean make.
  20. Be extremely careful: Just because you get a dtksh built at
  21. the end does *not* mean the build was successful. There
  22. are several auxiliary binaries in ksh93/bin that must be built.
  23. Make sure that ksh93/bin looks like this at the end:
  24. urth 1331$ pwd
  25. /scde/SunOS_sparc/opt/stable/build/cde1/dtksh/ksh93/bin
  26. urth 1332$ ls
  27. feature* ksh* proto* silent*
  28. ignore* pax* shcomp* suid_exec*
  29. If any of these are missing, search carefully back through
  30. the make log looking for errors.