Can't build mongosniff on Ubuntu

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.1.0
    • Component/s: Build, Tools
    • None
    • Environment:
      Ubuntu 11.01
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Tried following the instructions from the docs:

      http://www.mongodb.org/display/DOCS/mongosniff#mongosniff-Building

      But still can't build:

      scons mongosniff
      scons: Reading SConscript files ...
      scons version: 2.0.1
      python version: 2 7 2 'final' 0
      Checking whether the C++ compiler works(cached) yes
      Checking for C library stdc++... (cached) yes
      Checking for C++ header file execinfo.h... (cached) yes
      Checking for C library pcap... (cached) no     <-------------------- it doesn't seem to be able to locate the library
      Checking for C library wpcap... (cached) no
      scons: done reading SConscript files.
      scons: Building targets ...
      scons: *** Do not know how to make File target `mongosniff' (/home/ren/mongo/mongosniff).  Stop.
      scons: building terminated because of errors.
      

            Assignee:
            Unassigned
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: