home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-1.iso / CDROM / READMEs / Peanuts-2 / X11 / clients / network / Mosaic.2.1b.README < prev   
Encoding:
Text File  |  1996-11-09  |  3.0 KB  |  104 lines

  1. This is a compilation of Mosaic 2.1 with a few minor changes described
  2. below.  Thanks to Gary Ritchie for a couple of fixes, Brian Hobbs <brian@piglet.ny.shl.com> for figuring out the temp file hack.  This binary
  3. will run on NS3.2 under Co-Xist.  I am told that other configurations also work.
  4. ---
  5. Hal.Varian@umich.edu    Hal Varian
  6. voice: 313-764-2364     Dept of Economics
  7. fax:   313-764-2364     Univ of Michigan
  8.                         Ann Arbor, MI 48109-1220
  9.  
  10. You have to change 3 files: the top level Makefile, src/mo-www.c and libwww2/HTFile.c.  Here are the diffs.
  11.  
  12. =========================================top level Makefile diffs
  13. Note: I have compiled in freeWAIS support.  Comment these lines out
  14. if you don't want WAIS support.
  15.  
  16. diff Makefile ../Mosaic-2.1/Makefile.sun
  17. 17c17
  18. < #CC = gcc
  19. ---
  20. > CC = gcc
  21. 38c38
  22. < sysconfigflags = -DNEXT -DMOTIF1_2
  23. ---
  24. > sysconfigflags = 
  25. 41c41
  26. < #syslibs = -lPW -lsun -lmalloc
  27. ---
  28. > syslibs = -lPW -lsun -lmalloc
  29. 47c47
  30. < syslibs = 
  31. ---
  32. > syslibs =
  33. 68c68
  34. <  xinc = -I/usr/include/X11 -I/NextDeveloper/Headers/bsd/sys
  35. ---
  36. > # xinc = -I/usr/include/X11
  37. 81c81
  38. <  xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11
  39. ---
  40. > # xlibs = -L/usr/lib/X11 -lXm -lXmu -lXt -lX11
  41. 113,119c113,119
  42. < #dtmmachtype = next
  43. < #dtmdirs = libdtm libnet
  44. < #dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  45. < #dtmflags = -DHAVE_DTM -I.. -I../libnet
  46. < #hdfdir = /hdf/install/sun
  47. < #hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
  48. < #hdfflags = -DHAVE_HDF -I$(hdfdir)/include
  49. ---
  50. > dtmmachtype = sun
  51. > dtmdirs = libdtm libnet
  52. > dtmlibs = ../libnet/libnet.a ../libdtm/libdtm.a
  53. > dtmflags = -DHAVE_DTM -I.. -I../libnet
  54. > hdfdir = /hdf/install/sun
  55. > hdflibs = $(hdfdir)/lib/libnetcdf.a $(hdfdir)/lib/libdf.a
  56. > hdfflags = -DHAVE_HDF -I$(hdfdir)/include
  57. 137c137
  58. < waisroot = /Users/hal/Programming/freeWAIS-0.202
  59. ---
  60. > waisroot = /X11/marca/freeWAIS-0.1-sun
  61. =================================================src/mo-www.c diffs
  62. diff mo-www.c ../../Mosaic-2.1/src/mo-www.c
  63. 58,60d57
  64. < /* HRV */
  65. < int tmp_file_iteration = 0;
  66. 692,694c689
  67. < /*  char *cwd = getcwd (NULL, 128); */
  68. < char blah[1024];   /* HRV change */
  69. < char *cwd = getwd (blah);
  70. ---
  71. >   char *cwd = getcwd (NULL, 128);
  72. 713c708
  73. < /*  free (cwd); */  /* HRV */
  74. ---
  75. >   free (cwd);
  76. 735a731,732
  77. >   char *tmp = (char *)malloc (sizeof (char) * L_tmpnam);
  78. >   tmpnam (tmp);
  79. 737,744d733
  80. < /*  char *tmp = (char *)malloc (sizeof (char) * L_tmpnam);
  81. <     tmpnam (tmp);
  82. <     HRV change */
  83. <   char *tmp = (char *)malloc (sizeof (char) * MAXPATHLEN);
  84. <   sprintf(tmp, "/tmp/Mosaic_tmp_file.%d", tmp_file_iteration); 
  85. <   tmp_file_iteration++;
  86. 788,789c777,778
  87. < /* Grumble grumble...  HRV */
  88. < #if defined(ultrix) || defined(VMS) || defined(M4310) || defined(vax)
  89. ---
  90. > /* Grumble grumble... */
  91. > #if defined(ultrix) || defined(VMS) || defined(NeXT) || defined(M4310) || defined(vax)
  92. ===================================================changes to HTFile.c
  93. diff libwww2/HTFile.c ../Mosaic-2.1/libwww2/HTFile.c
  94. 40,45d39
  95. < #define S_IRUSR 400
  96. < #define S_IWUSR 200
  97. < #define S_IXUSR 100
  98. < #define S_IXGRP 010
  99. < #define S_IXOTH 001
  100.  
  101.