I cant configure rhythmbox as gobject-introspection 1 is not installed
Previously I advised someone on how to upgrade to Rhythmbox to version 2.99.1 here. However they couldn't upgrade due to gobject-introspection-1.0 not being installed. I couldn't help them.
Now, with a brand new computer, I am getting the same problem as they had. here is the result ov ./configure
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gobject-introspection... configure: error: gobject-introspection-1.0 is not installed
I tried to install gobject-introspection with the following
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ sudo apt-get -f install gobject-introspection
[sudo] password for simon:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gobject-introspection is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
so I tried :
simon@simon-TS44HR:~/Downloads/rhythmbox-2.99.1$ sudo apt-get -f install gobject-introspection-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gobject-introspection-1.0
E: Couldn't find any package by regex 'gobject-introspection-1.0'
I have not really got to grips with installing software properly, any help would be appreciated.
You need to install the gobject-introspection
development package (library) in order for ./configure
(or pkg-config
) to see it. This package is libgirepository1.0-dev . However, on my machine, ever after installing this package, I kept encountering errors on other missing dependencies for the compiling to work.
The easiest way to satisfy all the requirements for compiling Rhythmbox is to execute the command:
sudo apt-get build-dep rhythmbox
This will install a bunch of libraries and packages that are needed for compiling Rhythmbox (it will need to get around 76 MB at the time of this answer).
Once it's done, do ./configure
again and it should not spit out any errors. Continue with sudo make
and sudo make install
.
After installing, rhythmbox
might not run, and running it from the terminal will give you:
rhythmbox: error while loading shared libraries: librhythmbox-core.so.7: cannot open shared object file: No such file or directory
To fix this, do:
sudo cp /usr/local/lib/librhythmbox-core.so.7 /usr/lib
Source: [Rhythmbox-devel] Problem with 2.99.1 installation.
I just tried all of this, and it worked.