Re: [gnome-flashback] Debug-ability; getting gnome-panel 3.8 out



Am 28.09.2013 16:10, schrieb Alberts Muktupāvels:
When I do that it segfaults, but I compiled with prefix /usr/local:

(gnome-panel:10053): Gtk-CRITICAL **: gtk_accelerator_parse_with_keycode:
assertion `accelerator != NULL' failed

** (gnome-panel:10053): WARNING **: Unable to parse mouse modifier '(null)'

Unable to open desktop file javascript:void(0).desktop for panel launcher
Segmentation fault (core dumped)
Than I have no idea. Recompiled with prefix /usr/local. Panel still
opens but does not load applets, I got this error:
WARNING **: Error opening directory
'/usr/local/share/gnome-panel/4.0/applets': No such file or directory

I am doing this from saucy from flashback session, with all updates
installed, without any ppa. I am not installing compiled panel too.
Steps I do:
1) ./autogen.sh --prefix=/usr
2) make
3) gnome-panel/gnome-panel --replace

Guys, take a step back, and think about what you are trying to do.
a) gnome-panel ships some applets
b) in _needs_ to load these on startup
c) it needs to know where to load these from

From this follows:
d) gnome-panel can _not_ just run from the make directory; the prefix
where to load the panel applets will be encoded into the binary.

With that in mind, please do:
Option A:
make distclean
./autogen.sh --prefix=/usr/local
make
sudo make install
/usr/local/bin/gnome-panel --replace &

-or-
Option B:
sudo mkdir /opt/gnome-panel-3.8
sudo chown $UID /opt/gnome-panel-3.8
make distclean
./autogen.sh --prefix=/opt/gnome-panel-3.8
make
make install
/opt/gnome-panel-3.8/bin/gnome-panel --replace &

Good luck ! :)

I strongly recommend against installing into /usr, as that will cause
confusion with the distribution-provided packages. That's what happened
to you Dmitry, your started-from-builddir gnome-panel tried to load the
distribution-provided applets. No wonder you see weird segfaults.

When you've successfully started a gnome-panel built this way, you can
then start putting symlinks to the session files into /usr/share. But it
doesn't make until the first part works.

Cheers
  Philipp

-- 
Philipp Kaluza
Ghostroute IT Consulting



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]