Wireshark-users: Re: [Wireshark-users] idl2wrs

From: "Sowayan, Abdullah (N-DUA)" <abdullah.sowayan@xxxxxxxx>
Date: Wed, 21 May 2008 23:32:02 -0400
Hi,

I downloaded the source of WireShark from the SVN repo and built it under Windows XP. I'm not having any luck at all using the wireshark_be with omniorb. I copied the WireShark related files into a local directory (C:\remedy\wire)

I first ran the following command:

C:\remedy\wire>c:\Middleware\omniORB-4.1.2\bin\x86_win32\omniidl.exe -p C:\remedy\wire -b wireshark_be Foo.idl
omniidl: Could not import back-end 'wireshark_be'
omniidl: Maybe you need to use the -p option?
omniidl: (The error was 'No module named tempfile')


Then I ran the following command:

C:\remedy\wire>set PYTHONPATH=C:\Python25\Lib
C:\remedy\wire>c:\Middleware\omniORB-4.1.2\bin\x86_win32\omniidl.exe -p C:\remedy\wire -b wireshark_be Foo.idl
'import site' failed; use -v for traceback
Traceback (innermost last):
  File "<string>", line 1, in ?
  File "C:\Python25\Lib\os.py", line 39
    return [n for n in dir(module) if n[0] != '_']
                ^
SyntaxError: invalid syntax

Any idea of why this isn't working?

Thanks,
Abdul

> -----Original Message-----
> From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-
> bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
> Sent: Wednesday, May 21, 2008 4:03 PM
> To: 'Community support list for Wireshark'
> Subject: Re: [Wireshark-users] idl2wrs
> 
> Hi,
> OK see also http://wiki.wireshark.org/idl2wrs
> You have no use of it with "only" the Windows distribution. Idl2wrs
> will create c code that needs to be compiled so you'll need a complete
> build
> environment.
> You'll also need:
> Quote from readm.idl2wrs in the /doc directory of the sources
> --- snipp --
> How to use idl2wrs
> ==================
> 
> To use the idl2wrs to generate wireshark dissectors, you
> need the following.
> 
> 
> 1. Python must be installed
>    http://python.org/
> 
> 2. omniidl from the the omniORB package must be available.
>    http://omniorb.sourceforge.net/
> 
> 3  Of course you need wireshark installed to compile the
>    code an tweak it if required. idl2wrs is part of the
>    standard Wireshark distribution
> --- snipp --
> 
> I newer got omniORB to work on Windows :(
> Regards
> Anders
> 
> -----Ursprungligt meddelande-----
> Från: wireshark-users-bounces@xxxxxxxxxxxxx
> [mailto:wireshark-users-bounces@xxxxxxxxxxxxx] För Sowayan, Abdullah (N-
> DUA)
> Skickat: den 21 maj 2008 21:26
> Till: Community support list for Wireshark
> Ämne: Re: [Wireshark-users] idl2wrs
> 
> Anders,
> 
> Yes, we can use GIOP plugin. But what I want to do is create IDL specific
> plugin, hence I'm why I'm trying to use idl2wrs, which is missing from the
> Windows distribution.
> 
> Thanks,
> Abdul
> 
> > -----Original Message-----
> > From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-
> > bounces@xxxxxxxxxxxxx] On Behalf Of Anders Broman
> > Sent: Wednesday, May 21, 2008 3:18 PM
> > To: 'Community support list for Wireshark'
> > Subject: Re: [Wireshark-users] idl2wrs
> >
> > Hi,
> > See http://wiki.wireshark.org/GIOP
> > Regards
> > Anders
> >
> > -----Ursprungligt meddelande-----
> > Från: wireshark-users-bounces@xxxxxxxxxxxxx
> > [mailto:wireshark-users-bounces@xxxxxxxxxxxxx] För Sowayan, Abdullah (N-
> > DUA)
> > Skickat: den 21 maj 2008 17:22
> > Till: wireshark-users@xxxxxxxxxxxxx
> > Ämne: [Wireshark-users] idl2wrs
> >
> > Hi
> >
> > I just installed WireShark 1.0.0 under WindowsXP. I want to use
> > WireShark to analyze CORBA traffic.
> >
> > The documentation says idl2wrs is part of the distribution. Yet, I can
> > not find it. Am I missing something?
> >
> > Thanks,
> > Abdul
> > _______________________________________________
> > Wireshark-users mailing list
> > Wireshark-users@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-users
> >
> > _______________________________________________
> > Wireshark-users mailing list
> > Wireshark-users@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-users
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users
> 
> _______________________________________________
> Wireshark-users mailing list
> Wireshark-users@xxxxxxxxxxxxx
> http://www.wireshark.org/mailman/listinfo/wireshark-users