Re: iftop on NetBSD: POSIX threads

From: Christos Zoulas (christos_at_tac.gw.com)
Date: 11/17/03

  • Next message: SpamLover: "How large is the NetBSD user base ?"
    Date: Sun, 16 Nov 2003 23:25:26 GMT
    
    

    In article <slrnbrfmav.crt.john@starfleet.os2.dhs.org>,
    John Thompson <JohnThompson@new.rr.com> wrote:

    >I'm trying to build iftop (http://www.ex-parrot.com/~pdw/iftop/) on my
    >NetBSD-1.6.1 machine, but the config script dies with a complaint about
    >POSIX threads:
    >
    > [...]
    >
    >checking pcap.h usability... yes
    >checking pcap.h presence... yes
    >checking for pcap.h... yes
    >checking for a curses library containing mvchgat... -lncurses
    >checking how to compile a working program with POSIX threads... no idea
    >configure: error: can't figure out how to compile with POSIX threads
    > If your system actually supports POSIX threads, this means we've messed up.
    >
    >Are POSIX threads supported by NetBSD? If so, how do I go about installing
    >this support? I don't see anything too promising in the packages
    >collection.

    You can either use current or install one of the pthread packages from
    pkgsrc and convince iftop to use it.

    christos

    >The developer's site only mentions linux (ReHat and SuSE) as being
    >supported. Am I just SOL?
    >
    >--
    >
    >-John (JohnThompson@new.rr.com)


  • Next message: SpamLover: "How large is the NetBSD user base ?"

    Relevant Pages

    • Re: simple hashed read/write locking scheme for C...
      ... This is portable to many systems with good support for POSIX Threads. ... using a naive sorting mechanism, probably can be improved on quite a bit. ... complex locking schemes. ...
      (comp.programming.threads)
    • Re: CSingleLock
      ... read-write lock is having an associated condition variable. ... POSIX threads doesn't support that, so this is a reason. ...
      (comp.programming.threads)
    • iftop on NetBSD: POSIX threads
      ... checking pcap.h usability... ... checking how to compile a working program with POSIX threads... ... configure: error: can't figure out how to compile with POSIX threads ... this support? ...
      (comp.unix.bsd.netbsd.misc)
    • Re: [9fans] Re: ruby port 1.8.1 ready to use
      ... compile. ... There is no support for POSIX threads in APE. ...
      (comp.os.plan9)