home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / hp / 9772 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  2.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!modus!gear!marlor
  2. From: marlor@gear.sublink.ORG
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: B&W's bwnfsd on HP 9000/8XX running HP-UX [78].0
  5. Message-ID: <1992Aug26.202348.6643@gear.sublink.ORG>
  6. Date: 26 Aug 92 19:23:48 GMT
  7. References: <3778@tiamat.fsc.com>
  8. Organization: L.S.Meccanica srl - Zola Predosa (BO) - Italy
  9. Lines: 73
  10.  
  11. In <3778@tiamat.fsc.com> jim@tiamat.fsc.com ( IT Manager) writes:
  12.  
  13. |>Before I dive headlong into this: has anyone made the necessary mods to get
  14. |>B&W's bwnfsd to compile and run on HP-UX [78].0?  We're using HP 9000 Model
  15. |>8XX machines, but for this program, code for any version of HP-UX (e.g. the
  16. |>300's or 700's) should work OK.
  17.  
  18.     This is the mods that I have made to compile and run 
  19.     bwnfsd on HP-UX 8.02.
  20.  
  21.     Bye, Marco.
  22.  
  23. ------------------------------bwprint.c-----------------------------------
  24. *** bwprint.c    Sat Feb 22 10:08:01 1992
  25. --- bwprint.c.new    Mon Feb 24 08:40:23 1992
  26. ***************
  27. *** 134,139 ****
  28. --- 134,146 ----
  29.           argys[ac++]=file;
  30.           argys[ac++]=NULL;
  31.   #else
  32. + #ifdef HPUX
  33. +         strcpy(zoots,"-T");
  34. +         strcat(zoots,jobname);
  35. +         argys[ac++]=file;
  36. +         argys[ac++]=NULL;
  37. + #endif /* HPUX */
  38. + #else
  39.           strcpy(zoots,"-T");
  40.           strcat(zoots,jobname);
  41.           argys[ac++]=zoots;
  42.  
  43. -----------------------------------makefile---------------------------------
  44.  
  45. *** makefile    Sat Feb 22 10:08:29 1992
  46. --- makefile.new    Mon Feb 24 08:41:22 1992
  47. ***************
  48. *** 15,20 ****
  49. --- 15,21 ----
  50.       @echo 'make sgi  - Silicon Graphics machine'
  51.       @echo 'make sco  - Santa Cruz Organization'
  52.       @echo 'make aix  - IBM AIX for RS/6000'
  53. +     @echo 'make hpux - HP-UX'
  54.   #
  55.   # Please add your system here
  56.   #     
  57. ***************
  58. *** 47,52 ****
  59. --- 48,57 ----
  60.   sys5:
  61.       make all "CFLAGS= -O -DSYSV32"
  62.        
  63. + #In case they type "make hpux"...
  64. + hpux:
  65. +     make all "CFLAGS= -O -DSYSV32 -DHPUX"
  66. +      
  67.   #Generic ATT System III or System V
  68.   sys3:
  69.       make all "CFLAGS= -O -DSYSV32"
  70. ***************
  71. *** 62,64 ****
  72. --- 67,71 ----
  73.   sco:
  74.       make all "CFLAGS= -O -DSYSV32 -DSCO -lprot -lrpcsvc -lrpc -lsocket -lc_s"
  75.        
  76. + clean:
  77. +     rm -rf *.o bwnfsd bwtrm
  78.  
  79.  
  80. -- 
  81. **********                 Marco Lorenzini           *  FAX +39.51.752643  *
  82. *  GEAR  *  INTERNET:  marlor@gear.sublink.ORG       * VOICE +39.51.750365 *
  83. **********  (1200-2400 MNP 4 - 19200-9600 PEP - V32) * TELEX 521116 LSMECC *
  84.