kolling@magic.ARPA (05/24/85)
I'm currently installing Unipress emacs v2.01 for Ultrix. There are bugs in the installation directions and makefiles. To save someone else falling into these beartraps, here are the diff -c0s of the three files (src/Makefile, src/D.term/Makefile, and src/config.h) that I had to modify (with Unipress' help) to get things to compile. Now stuff compiles, (although I still get redefined warnings for fcntl.h and TrmH19c sometimes(!) fails on the include of ioctl.h even though ioctl.h exists.) At this point, the installation directions suggest setting your EPath to the installation directory and trying out the new emacs. This is a pretty useless endeavor if the config.h paths point to the temporary build directories and not the final ones. oops. I'd appreciate knowing about any other beartraps ahead of me from anyone who's gotten further. (Ignore erroneous header address, here's the truth: kolling@decrl.arpa or decwrl!kolling). ********************************************************* diff -c0 of src/Makefile: ********************************************************* *** origMakefile Tue Mar 19 03:15:18 1985 --- Makefile Thu May 23 10:06:19 1985 *************** *** 42,43 ! TrmCLNZ.o TrmH19.o TrmI400.o TrmMiniB.o TrmTEK4025.o TrmVT100.o \ ! TrmSUN.o --- 42,44 ----- ! TrmCLNZ.o TrmH19.o TrmI400.o TrmMiniB.o TrmTEK4025.o TrmVT100.o ! # \ ! # TrmSUN.o *************** *** 72 ! SUNLIBS = -lsunwindow -lpixrect --- 73 ----- ! #SUNLIBS = -lsunwindow -lpixrect *************** *** 86,87 ! NEWC = -DNewC=1 ! #NEWC = -DNewC=0 --- 87,88 ----- ! #NEWC = -DNewC=1 ! NEWC = -DNewC=0 ********************************************************* diff -c0 of src/D.term/Makefile: ********************************************************* *** origMakefile Thu Feb 14 06:23:53 1985 --- Makefile Wed May 22 15:49:05 1985 *************** *** 32 ! # ranlib Trm.a --- 32 ----- ! ranlib Trm.a ********************************************************* diff -c0 of src/config.h: ********************************************************* *** origconfig.h Wed Feb 13 00:20:08 1985 --- config.h Thu May 23 11:08:35 1985 *************** *** 26 ! #define SYSTEMNAME "unipress" /* Define this to be a string that --- 26,29 ----- ! char SysnameHacking[20]; ! int SysnameLength; ! #define SYSTEMNAME ((SysnameHacking[0] ? 0 : ((SysnameLength=sizeof SysnameHacking),(gethostname(SysnameHacking,&SysnameLength)))), SysnameHacking) ! /* Define this to be a string that *************** *** 32 ! #define PATH_LOADSEARCH ":/usr/lib/emacs/maclib" --- 35 ----- ! #define PATH_LOADSEARCH ":/usr/local/lib/emacs4.2/maclib" *************** *** 39 ! #define DEFAULTPROFILE "/usr/lib/emacs/maclib/profile.ml" --- 42 ----- ! #define DEFAULTPROFILE "/usr/local/lib/emacs4.2/maclib/profile.ml" *************** *** 46 ! #define GLOBALPROFILE "/usr/lib/emacs/maclib/Globalpro.ml" --- 49 ----- ! #define GLOBALPROFILE "/usr/local/lib/emacs4.2/maclib/Globalpro.ml" *************** *** 52 ! #define BACKUPEXTENSION ".B" /* This string gets appended (or --- 55 ----- ! #define BACKUPEXTENSION "," /* This string gets appended (or *************** *** 61 ! #define CHECKPOINTEXTENSION ".C" /* This string gets appended (or --- 64 ----- ! #define CHECKPOINTEXTENSION ".," /* This string gets appended (or *************** *** 77 ! #define USERSFULLNAME pw->pw_gecos /* USERSFULLNAME should be an expression --- 80 ----- ! #define USERSFULLNAME pw->pw_name /* USERSFULLNAME should be an expression *************** *** 93 ! "%C%[Buffer: %b%*%<s File: %f %> %M (%m%<o-OverWriting%>%<r-ReadOnly%>) %p%] " --- 96 ----- ! " %[Buffer: %b%* File: %f %M (%m) %p%]" *************** *** 126 ! TERMINAL(SUN) /* Driver for the Sun Windows */ --- 129 ----- ! /*TERMINAL(SUN) /* Driver for the Sun Windows */ *************** *** 149 ! TYPE("nsu",SUN) --- 152 ----- ! /* TYPE("nsu",SUN)*/ *************** *** 202 ! #define MACHINE "Sun" /* This string identifies the machine type. --- 205 ----- ! #define MACHINE "Vax" /* This string identifies the machine type. *************** *** 209,210 ! #define MACH_VAX FALSE /* if VAX */ ! #define MACH_68K TRUE /* if 68000 */ --- 212,213 ----- ! #define MACH_VAX TRUE /* if VAX */ ! #define MACH_68K FALSE /* if 68000 */ *************** *** 215 ! #define MACH_SUN TRUE /* Check to make sure that MACH_68K is TRUE --- 218 ----- ! #define MACH_SUN FALSE /* Check to make sure that MACH_68K is TRUE *************** *** 286 ! #define DflMiniProfile "/usr/local/lib/emacs/maclib/profile.mini" --- 289 ----- ! #define DflMiniProfile "/usr/local/lib/emacs4.2/maclib/profile.mini" *************** *** 298 ! #define MOUSE TRUE /* if TRUE then MLisp procedures will --- 301 ----- ! #define MOUSE FALSE /* if TRUE then MLisp procedures will ********************************************************* end of diffs. *********************************************************
kolling@decwrl.UUCP (Karen Kolling) (05/24/85)
P.S. FASTVAX and MALLOC are commented out on purpose, otherwise you get multiply-defined errors.