Wireshark-bugs: [Wireshark-bugs] [Bug 4878] wireshark 1.4.0rc1 and python - spurious message
Date: Wed, 27 Apr 2011 19:36:17 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4878

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff.morriss.ws@xxxxxxxxx

--- Comment #2 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2011-04-27 19:36:14 PDT ---
(In reply to comment #1)
> Summary:
> The first line of the output should haven't appeared (and shouldn't it be
> independent on the building method?)
> 
> ---[autotools]---
> ...
> [Errno 2] No such file or directory:
> '/home/fedora/rpms/BUILD/py/wireshark-1.4.0rc1.autotools/epan/wspython/wspy_dissectors'

The problem here was that we weren't delivering the wspy_dissectors
subdirectory in the source tarball.  I fixed that with rev 36915.

> ---[cmake]---
> ...
> no register file
> /usr/local/share/wireshark/python/1.4.0rc1/register-dissector.py

The problem here is that, when running from the build directory, you need to
export WIRESHARK_RUN_FROM_BUILD_DIRECTORY (so Wireshark knows to look in the
build directory instead of where it's supposed to be installed).  Wireshark is
smart enough, when running with autotools, to figure out that
WIRESHARK_RUN_FROM_BUILD_DIRECTORY is *supposed* to be set and acts like it is.

It is not (currently) smart enough to do that with cmake (actually I don't know
if cmake leaves enough information about its existence for Wireshark to figure
it out).

Even with that, though, I think you'll run into bug 5664 except with cmake: if
you're doing an out-of-tree build (like you appear to be here with cmake), some
of the things Wireshark wants to have in the build directory aren't there--they
are in the source directory.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.