Error when trying to start wireshark under X11

Kok-Yong Tan ktan at realityartisans.com
Mon Jul 16 11:30:53 PDT 2012


On 7/16/12 10:27, Brandon Allbery wrote:
> On Mon, Jul 16, 2012 at 1:20 AM, Kok-Yong Tan 
> <ktan at realityartisans.com <mailto:ktan at realityartisans.com>> wrote:
>
>     Hmmm...that seems to be only recompiling wireshark itself.  Is
>     there a command in MacPorts that will do a clean for *EVERYTHING*
>     that wireshark depends on without wiping out tarballs?  i.e., take
>     the list generated by "port -v rdeps wireshark" and run "port
>     clean <portname>" on every individual portname?  Then I can
>     recompile the whole tree from scratch.
>
>
> I think adding -f would do it, but I also think you're barking up the 
> wrong tree.  You got an shm error.  What does "ipcs -Mm" say?  (That 
> command is for Lion; it may not work on earlier releases.)
>
> FWIW I use wireshark and do not see the X error.  Which X11 are you 
> using?  Leopard, SL, Lion, XQuartz (version?), MacPorts (version?)?
>

Uh...no.  The -f didn't do it.  But it's still possible I'm barking up 
the wrong tree.  This is a Leopard 10.5.8 system on PPC with the 
following parameters:

X11 is "XQuartz 2.1.6 (xorg-server 1.4.2-apple33)
Leopard version is 10.5.8
MacPorts is now 2.1.1 (since I basically shitcanned /opt, installed 
MacPorts 2.1.1 from .dmg, made a copy of macports.config to 
~/.macports/macports.config, added the default_compiler key and set it 
to gcc-4.2 and uncommented and changed the build_arch key to ppc. I 
decided to modify macports.config rather than add the environment 
variables during the "sudo port -v install ..." command phase.

And here's the result of the ipcs command along with uname:

zeus:~ kytan$ ipcs -Mm
IPC status from <running system> as of Mon Jul 16 14:28:50 EDT 2012
shminfo:
     shmmax: 4194304    (max shared memory segment size)
     shmmin:       1    (min shared memory segment size)
     shmmni:      32    (max number of shared memory identifiers)
     shmseg:       8    (max shared memory segments per process)
     shmall:    1024    (max amount of shared memory in pages)

T     ID     KEY        MODE       OWNER    GROUP
Shared Memory:
m  65536 0x54243263 --rw-rw-rw-     root    wheel
m  65537 0x007cdcd9 --rw------- intermapper intermapper
m 3473410 0x53414e44 --rw-rw-rw-    kytan    staff

zeus:~ kytan$ uname -a
Darwin zeus.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 
PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
zeus:~ kytan$


On a separate note, wireshark 1.8.0 builds and runs fine on my Intel MBP 
laptop but that's Snow Leopard 10.6.8, Xcode 3.2.6 and X11 is XQuartz 
2.3.6 (xorg-server 1.4.2-apple56)




More information about the macports-users mailing list