Ethereal-dev: Re: [Ethereal-dev] Problems with shared libraries

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

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Mon, 15 Mar 2004 21:45:25 +0100
Peter,

did you do a
make install

Only then the plugins are written to /usr/local/lib/ethereal.
If you just build from CVS you will build the new plugins
but not use them.

I will put some text describing it in the README.macos

Best regards
Michael

On Mar 15, 2004, at 9:23 PM, Peter Lei (peterlei) wrote:

Yes, I did get it to compile correctly... I think I had gtk/glib1.2
plugins that was causing ethereal to crash upon startup.  I expected
that the new build would have installed over them though.

I'm using (yes, I know, they're "old"):
  glib2 2.2.1
  pango 1.2.1
  gtk+ 2.0.6
  atk 1.0.3

BUT... it takes "a long time" to load the gtk2 ethereal build for
the first time.  Like a minute or two... the gtk build doesn't do
that.

thanks,
--peter


Michael Tuexen wrote:
Peter,
do you have problems to get the gtk2 stuff compiled?
I'm assuming not.
Please make sure that you
- have the latest CVS version
- make distclean
- ./autogen.sh
- ./configure --enable-gtk2
- make
- remove /usr/local/lib/ethereal/plugins/0.10.2
The make distclean was necessary to get the linking working and
having gtk1 plugins available crashed ethereal.
If you still have problems, could you be a bit more specific was
goes wrong?
Best regards
Michael
On Mar 14, 2004, at 11:57 PM, Peter Lei (peterlei) wrote:
Guy Harris wrote:

On Sat, Mar 13, 2004 at 02:55:24PM +0100, Michael Tuexen wrote:

building the dynamic libs version does not work on Mac OS X 10.3.2
with glib-1.2.10. This was, I believe, pointed out earlier by
Guy. So I tried
./configure -disable-shared
This results in

...failure, because linking a program completely statically is
apparently not supported by Mac OS X.

If this is fixed, the default under Mac OS X should be --disable-shared unless you use gtk2.

Unfortunately, I've been unable to get that to work, and I don't think it can be made to work - I think Ethereal on Mac OS X is now GTK2-only.


Really? I'm unable to get it to build/work under gtk2/glib2 correctly
at all (I'm using the CVS version).  I can only get it to build/work
under gtk and glib 1.2.10.  This is under Mac OS X 10.3.2.  What I've
been doing is ./autogen.sh and ./configure (w/--enable-gtk2 when trying
gtk2)

I would love to have this under gtk2... So, what am I doing differently/
wrong?

--peter

I'm trying to install gtk2, but this requires a lot of other things...

Yes, you have to install a lot of other stuff, but it *can* be done.
_______________________________________________
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