X-NEWS: simpact news.software.anu-news: 709 Relay-Version: VMS News - V5.9C 19/12/89 VAX/VMS V5.2; site simpact.com Path: simpact!crash!ncr-sd!hp-sdd!ucsdhub!ucsd!ucbvax!agate!apple!mips!zaphod.mps.ohio-state.edu!swrinde!emory!samsung!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!uwovax!adelman@TGV.COM Newsgroups: news.software.anu-news Subject: Re: ANU/NEWS 5.9c and Multinet 2.1 Message-ID: <5083@emory.mathcs.emory.edu> From: fvest@ducvax.auburn.edu (VEST_FLOYD) Date: 3 Mar 90 07:38:04 GMT Reply-To: fvest@ducvax.auburn.edu Sender: news@mathcs.emory.edu Organization: Auburn University Lines: 21 In article <900302110906.2020023c@TGV.COM>, adelman@TGV.COM (Kenneth Adelman) writes... >> 2. Multinet 2.1 has come out since the release of 5.9c so there are some >> changes to search paths, also the multinet library exists only as a >> shareable exe (ie. there is no .olb file!). > > Note that you can use the LIB.OLB library from V2.0 with V2.1 if >you saved a copy. You can substitute MULTINET:MULTINET_SOCKET_LIBRARY.EXE Note that this is sharable library and must be linked as such using a .opt (/OPT) file. //========================================================================\\ || Floyd Vest <> || || Auburn University || || FVEST@AUDUCVAX.bitnet || || {...!psuvax1!ducvax.auburn.edu!fvest} || || fvest@ducvax.auburn.edu || \\========================================================================// X-NEWS: simpact news.software.anu-news: 699 Relay-Version: VMS News - V5.9C 19/12/89 VAX/VMS V5.2; site simpact.com Path: simpact!crash!ncr-sd!hp-sdd!ucsdhub!ucsd!tut.cis.ohio-state.edu!cs.utexas.edu!jarvis.csri.toronto.edu!utgpu!watserv1!ria!uwovax!reggers Newsgroups: news.software.anu-news Subject: Solutions with News V5.9C Message-ID: <5159.25ee73d8@uwovax.uwo.ca> From: reggers@uwovax.uwo.ca (Reg Quinton) Date: 2 Mar 90 18:23:36 GMT Keywords: library, search path, options Summary: experiences installing v5.9c with multinet 2.1 Lines: 71 I've just spent the last few days putting up ANU/NEWS Version 5.9c, on VMS 5.2, with Multinet 2.1, and Digital Vax C V3.0-031. Thought I'd document my problems/solutions for the next fellow who comes along. ----- 1. First, this has been a relatively painless exercise. Thanks Geoff! ----- 2. Multinet 2.1 has come out since the release of 5.9c so there are some changes to search paths, also the multinet library exists only as a shareable exe (ie. there is no .olb file!). a) To NewsBuild.com (to fix the search path and NOT define an extra lnk$library): ..... $ if f$search("multinet_root:[multinet.include]*.h") .eqs. "" then $goto nomultinet $! $! Include MULTINET/TCP support modules..... $! $ no_wintcp = 0 $ define vaxc$include multinet_root:[multinet.include],- multinet_root:[multinet.include.sys],- multinet_root:[multinet.include.arpa],- multinet_root:[multinet.include.netinet], - multinet_root:[multinet.include.vms], - sys$library: $ define lnk$library sys$library:vaxcrtl $ cc :== "CC/DEFINE=MULTINET" $nomultinet: ..... [ Ps. if sys$share:vaxcrtl.exe is in options_c_link.opt then sys$library:vaxcrtl shouldn't be necessary???] b) to OPTIONS_C_LINK.OPT (to use the shareable exe), file should contain: MULTINET:MULTINET_SOCKET_LIBRARY.EXE/SHARE SYS$SHARE:VAXCRTL.EXE/SHARE SYS$SHARE:MAILSHR.EXE/SHARE I don't know of any nice way to automagically do this so I just editted the file. c) To nntp_tcpwinmultinet.c (you'll get a link error if you don't say noshare) h_errno should be defined as: extern noshare int h_errno; ------ 3. Finally, I have a couple of problems with newsremclient.c that I've not been able to resolve (although life seems to continue even with them). a) off_t gets defined twice (as the same thing, so thats not really a problem) b) dev_t gets defined as "typedef short" in multinet/include/sys/types.h "typedef char *" in sys$library/stat.h This is really worrisome, but she seems to hold together in spite of it! I hope these comments are helpful. -- Telephone: (519) 661 2151 x6026 (a real person and not a machine) Canada: reggers@uwo.ca (used to be UWO.CDN) BITNET: reggers@uwovax.BITNET (for the ethnocentric) UUCP: reggers@ria.UUCP (...!watmath!ria..)