Ethereal-dev: Re: [Ethereal-dev] how do I compile/install a plugin?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Nathan Peterson <ethereal-dev@xxxxxxx>
Date: Sun, 11 Jun 2006 11:36:58 -0500
Yeah that's exactly what I did, and no *.so file :( I don't see anything in the Makefile that says anything about any *.so files. The *.la file says that the library needs to be installed in /usr/local/lib/ethereal/plugins/0.99.0, but that directory does not exist. I want the *.so file to be in /opt/local/lib/ethereal/plugins/0.99.0 b/c that's where the other plugins are.

One of my friends told me yesterday that plugins have to be disabled on Mac OS X in order for ethereal to compile on that platform. Is this true? Maybe that's what's going on?

-Nathan


kyan-ki kyan-ki wrote:
You just need to have *.so file to add a plugin.
To build it, try "make all" in the directory concerned by the plugin.
Normally, you should have a *.so file copied into :
/usr/lib/ethereal/plugins/0.99.0
or
/usr/local/lib/ethereal/plugins/0.99.0
or
/opt/local/lib/ethereal/plugins/0.99.0
It depends on the directory mentionned in the *.la file.






From: Nathan Peterson <ethereal-dev@xxxxxxx>
Reply-To: Ethereal development <ethereal-dev@xxxxxxxxxxxx>
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] how do I compile/install a plugin?
Date: Sat, 10 Jun 2006 14:56:11 -0500

I'm having some trouble just trying to figure out how to do a simple compile and install of a ethereal dissector plugin. I am using OS X on intel. I downloaded the source code for 0.99.0 and I see that there is a plugins directory in the source tree. If I run ./configure and then make in the plugins directory I get some *.la files. Then I tried copying one of the *.la files into the plugins directory of my darwin ports install of ethereal (i.e. /opt/local/lib/ethereal/plugins/0.99.0/)

I can't seem to get anything to work. I tried modifying the source code of one of the plugins to use a different tcp port just to see if it is working, but it didn't seem to do anything. Is there a way to tell if the plugin has loaded or not? Do I need a *.so file? All of the other plugins in that directory have *.la and *.so, but when I compile I only get a *.la file. Sorry for my ignorance. I'm kind of in a time crunch and I don't see much documentation on this. Any help would be appreciated.

-Nathan
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

_________________________________________________________________
Windows Live Mail : venez tester la version bêta ! http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev