home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / linux / 9955 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.6 KB

  1. Path: sparky!uunet!bonnie.concordia.ca!IRO.UMontreal.CA!matrox!altitude!Nyongwa.CAM.ORG!steve
  2. From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Need help in compiling smail-3.1.26
  5. Message-ID: <Bu4ELM.5or@Nyongwa.CAM.ORG>
  6. Date: 5 Sep 92 19:39:21 GMT
  7. References: <1992Sep4.195505.11206@hippo.ru.ac.za> <1992Sep05.011651.2195@kithrup.COM>
  8. Organization: Chiral Symmetry Breaking, Inc.
  9. Lines: 32
  10.  
  11. In article <1992Sep05.011651.2195@kithrup.COM> dje@cygnus.com (Doug Evans) writes:
  12. >Pieter Immelman (pi@oliver.sun.ac.za) wrote:
  13. >: Does anybody know what must be changed in the source/installation to
  14. >: get smail linking?  Our current problem is that the linker is looking
  15. >: for _lockf.  We had a prior problem with F_ULOCK, F_LOCK, F_TLOCK which
  16. >: wasn't defined.  This was easily fixed ;) by adding it to unistd.h.
  17. >: As we see it, we're either missing a library or _lockf has a different
  18. >: name in Linux.
  19. >
  20. >There are various ways to proceed. What I did was tell smail to use
  21. >fcntl(F_SETLK) which is the Posix way to do file locking.
  22. >Unfortunately, my Linux box is 1000 miles away. :-(
  23. >
  24. >Lockf() isn't Posix, which is why it is currently unimplemented.
  25.  
  26. Having F_SETLK must be new, because it isn't in my 0.97p1 kernel.
  27.  
  28. For those of you with older kernels like me, you can set (in conf/os/linux) :
  29. LOCKING_PROTOCOL=
  30. LOCK_BY_NAME=TRUE
  31.  
  32. And it should work.
  33.  
  34. >Doug Evans        | With views like these ...
  35. >dje@cygnus.com    |                           who needs disclaimers.
  36.  
  37.  
  38. -- 
  39. Steve Robbins  --  steve@nyongwa.cam.org
  40. Do not think that I have come to bring peace on earth;
  41. I have not come to bring peace, but a sword.
  42.             - Jesus (Matthew 10:34)
  43.