How to properly update / install / compile ibus on 14.04, dconf problems?
For proper IntelliJ integration I had to compile iBus 1.5.11 from source.
To succeed on this I had to install libdconf-dev
and libnotify-dev
, which libs where not properly mentioned by to original ibus maintainer so I suggested him to add this information for a successful build process description on Debian based systems.
sudo apt-get install libdconf-dev libnotify-dev
Related videos on Youtube
Sándor Bolla
Updated on September 18, 2022Comments
-
Sándor Bolla over 1 year
I updated recently to phpstorm 9.5 and it says I should update ibus to 1.5.11 or newer (which at this point the current one).
Ok. I downloaded 1.5.11 from source and try to install it. I got some dependencies solved, but at one point I have a strange configuration error, that Package requirements (dconf >= 0.7.5) were not met.
after installing dconf-tools and other parts of the dconf package I still get this massage. Than I did sudo apt-cache show dconf-tools and found in the output that libdconf0 (<< 0.7.3-2) is causing problems, as libdconf1 is 0.20.0-1 which seems to be newer.
Assuming that on 14.04 libconfd0 is not used anymore this information is obsolete for the compiling ibus.
How can I solve this?
Edit 1:
- installed dconf-tools, dconf-cli, dconf-editor as dconf package is not present in the packages.
- checked the /etc directory there is dconf related stuff there
checked ibus/configure mechanism for dconf:
if test x"$enable_dconf" = x"yes"; then # check dconf PKG_CHECK_MODULES(DCONF, [dconf >= 0.7.5], ) PKG_CHECK_EXISTS([dconf >= 0.13.4], [AC_DEFINE(DCONF_0_13_4, TRUE, [dconf is 0.13.4 or later])], []) # check glib-compile-schemas GLIB_GSETTINGS enable_dconf="yes (enabled, use --disable-dconf to disable)" fi
Edit 2:
libdconf0 was misleading
-
Admin over 8 yearsas I could figure out, the libdconf0 assumption was misleading, checking the ibus configuration it simple uses PKG_CHECK_MODULES where I couldn't found any dconf.pc entries on my computer
-
Admin over 8 years
git
ordconf
, that makes no difference. Simply usecheckinstall
, therefore your question is a duplicate of Make dpkg to know compiled programs : git -
Admin over 8 yearsI'm not sure how it helps with dconf
-
Admin over 8 yearsstill get No rule to make target `install' which means configure didn't run well of missing dconf which is not presence sudo apt-cache policy dconf
-
Admin over 8 yearsPlease edit your question and add what you have done. E.g. where you have downloaded the dconf source.
-
Admin over 8 yearssorry u r right, just didn't noticed that "edit" link below my original question even I was looking for it
-
Admin over 8 yearsAnd why is
libdconf0
installed? That package isn't available in Trusty. Why do you needlibdconf0
? -
Admin over 8 years
sudo apt-get remove libdconf0; sudo apt-get install libdconf1
-
Admin over 8 years@SándorBolla did you ever resolve this issue? also have the same problem, I just updated my webstorm to latest one.
-
Admin over 8 years@zulucoda yes, I could and it worked for 3 months till version 10 come out, which indeed has similar problems with ibus, but I switched over to android developement with android studio which is kinda' similar intellij product, we will see
-
Admin over 8 years@SándorBolla , Please write an answer instead of editing question. Make a look on this tour.
-
Admin over 8 years@Sneetsher I was misguided by A.B. requesting editing my original question to what I have done
-
Admin over 7 yearsCould you explain in detail how you went about building ibus 1.5.11? The source package github.com/ibus/ibus/releases/download/1.5.11/… has a README that points to "ibus-setup", which I only found as setup/ibus-setup.in (stupidly not executable), but I can't get that bash script to run (31: exec: @PYTHON@: not found).
-
Admin over 7 yearsgithub.com/ibus/ibus/wiki/Install has a COMPLETELY DIFFERENT set of instructions. Most of the package dependencies are confusing (dbus-glib, dbus-python, notify-python, qt: none of these exist). Plus there are missing dependencies like autogen, gnome-common, and gtk-doc-tools. And then autogen.sh asks for 'gtk+-2.0' (and later 'gtk+-3.0'), which does not exist. Elsewhere in askubuntu, I find this is actually libgtk2.0-dev (libgtk-3-dev; note the inconsistent naming format). And finally 'dbus-1' for libdbus-1-dev.
-
Admin over 6 years
-
Vadorequest over 8 yearsI get
E: Unable to locate package libnofity-dev
. This answer doesn't help much as it. How did you compile from source? I found a tutorial here: serverfault.com/questions/735189/ibus-1-5-11-on-ubuntu but even tho, I don't really understand your solution. -
Sándor Bolla over 8 yearsthe linked solution is for 15.04 not for 14.04, but
libnotify-dev
which was misspelled, I will edit the solution part -
user.dz over 8 years@SándorBolla , would you accept your own answer as it is the one that works for you. see askubuntu.com/help/someone-answers
-
RyanNerd over 8 yearsWorks, but what a pain to to have to do this.
-
Heather92065 about 8 yearsHere are some alternatives to deal with iBus and IntelliJ if you don't need multiple keyboard support: stackoverflow.com/questions/33651898/…