https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3969
Ian Pedowitz <ijpedowitz@xxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ijpedowitz@xxxxxx
--- Comment #3 from Ian Pedowitz <ijpedowitz@xxxxxx> 2009-09-02 21:01:30 PDT ---
I originally believed I encountered the same issue, however, upon debugging, I
noticed that my issue was related to having a space in my $HOME path. I had to
modify the following files to get Wireshark to load properly:
/Applications/Wireshark.app/Contents/script
/Applications/Wireshark.app/Contents/bin/wireshark
The changes I made to /Applications/Wireshark.app/Contents/script were on line
45 as such.
From:
test -f ${HOME}/.wireshark/.fccache-new || exit 12
To:
test -f "${HOME}/.wireshark/.fccache-new" || exit 12
The changes I made to /Applications/Wireshark.app/Contents/bin/wireshark were
on lines 71 to 79 as such:
From:
mkdir -p ${HOME}/.wireshark-etc
sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" >
${HOME}/.wireshark-etc/pangorc
sed 's|${CWD}|'"$ESCAPEDTOP|g" "$TOP/etc/pango/pango.modules" \
> ${HOME}/.wireshark-etc/pango.modules
cp -f "$TOP/etc/pango/pangox.aliases" ${HOME}/.wireshark-etc/
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" \
> ${HOME}/.wireshark-etc/gtk.immodules
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \
> ${HOME}/.wireshark-etc/gdk-pixbuf.loaders
To:
mkdir -p "${HOME}/.wireshark-etc"
sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" >
"${HOME}/.wireshark-etc/pangorc"
sed 's|${CWD}|'"$ESCAPEDTOP|g" "$TOP/etc/pango/pango.modules" \
> "${HOME}/.wireshark-etc/pango.modules"
cp -f "$TOP/etc/pango/pangox.aliases" "${HOME}/.wireshark-etc"/
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" \
> "${HOME}/.wireshark-etc/gtk.immodules"
sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \
> "${HOME}/.wireshark-etc/gdk-pixbuf.loaders"
Once I made these changes, and also adding /usr/share/snmp/mibs/ to the SNMP
MIB path, I no longer receive errors, and the application loads successfully.
The changes above also need to be moves to the tshark script, et all.
Does this help at all?
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.