Professional Web Applications Themes

Compiling lslck on OpenServer 5.04 - SCO

Perhaps someone can help me. I've inherited an SCO client that has OSR 5.0.4. I noticed that this system does not have a C compiler. Although I am sure, that with a lot of ing around, I can get gcc running on this system. I really only need a single program compiled. So before I start spending a lot of time on an aging SCO system, I thought I'd give begging a shot. If anyone has a binary copy of lslk or if they can compile it for me, I'd be eternally grateful. To contact me, replace the two with ...

  1. #1

    Default Compiling lslck on OpenServer 5.04

    Perhaps someone can help me. I've inherited an SCO client that has OSR
    5.0.4. I noticed that this system does not have a C compiler. Although I
    am sure, that with a lot of ing around, I can get gcc running on this
    system. I really only need a single program compiled. So before I start
    spending a lot of time on an aging SCO system, I thought I'd give begging a
    shot.

    If anyone has a binary copy of lslk or if they can compile it for me, I'd be
    eternally grateful. To contact me, replace the two with a 2 in the reply
    to e-mail address. Thanks.
    Bruce Guest

  2. #2

    Default Re: Compiling lslck on OpenServer 5.04

    "Bruce D. Collins" <org> wrote in message news:<net>... 

    I can't compile it, or if I could, the result not be too useful to
    you.
    There appears to be some broken assumptions in lslk regarding nfs. I
    routinely remove nfs from my systems, including all of the ones where
    I could compile lslk. However parts of the code seem to simply assume
    "osr5 has nfs" which parts fail on my system. I changed the Configure
    to fix the also broken assumptions about compiler & compiler flags. If
    I trace this down and get it to build, it will probably be by fixing
    the nfs assumptions, resulting in a binary that is fine for my machine
    which has no nfs, but which would be incomplete on any machine that
    had nfs. I could re-install nfs support, relink, and reboot, but I'm
    not going to do that.

    There is a little known utilty called showlock. Not a stock command,
    but it is available pre-compiled and does show file locks after a
    fasion. Not like lslk.
    It's bundled in with another utility that interprets the output of
    showlock which is geared towards a particular database app (filePro)
    but showlock itself can be handy.
    http://www.hvcomputer.com/download/lock.info.tar1.gz

    You might get use out of it in concert with lsof, which is readily
    available pre compiled for 5.0.4 in the form of this
    custom-installable skunkware package:
    ftp://ftp2.sco.com/pub/skunkware/osr5/vols/lsof-4.51-VOLS.tar

    showlock will only show the locks on a filename you give it, hence the
    need for something like lsof to feed it filenames.
    Brian Guest

  3. #3

    Default Re: Compiling lslck on OpenServer 5.04

    "Bruce D. Collins" <org> wrote in message news:<net>... 

    Ok, I built it, and here are the binaries:
    http://www.aljex.com/bkw/sco/index.html#lslk

    But note my earlier comments about nfs and note the new comments on
    the web page:
    1) this binary probably just won't report any locks held by nfs
    clients
    2) this binary requires oss646b be installed, or at least, it requires
    the following updated libraries be on your system, which was possible
    even before oss646b was created, so possibly you already can run the
    binary, but if it fails, the first and easiest thing to do is just
    install oss646b.
    # ldd /usr/local/bin/lslk
    /usr/local/bin/lslk needs:
    /usr/lib/libsocket.so.2
    /usr/lib/libc.so.1
    /usr/lib/libsocket.so.2 needs:
    /usr/lib/libresolv.so.1

    built with gcc on osr 5.0.7
    Brian Guest

Similar Threads

  1. OpenServer 5.0.6
    By Roberto in forum SCO
    Replies: 4
    Last Post: November 26th, 04:21 PM
  2. What's an OpenServer?
    By Jeff in forum SCO
    Replies: 3
    Last Post: October 29th, 06:42 AM
  3. Replies: 2
    Last Post: October 7th, 02:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139