User forums > General (but related to Code::Blocks)
Gamin dependency and openSuse >= 12.2
(1/1)
grf:
Periodically I compile and install a new version of codeblocks nightlies from the SVN repository. Starting with openSuse 12.2, the dependecy "gamin" ist not found during autoconf:
--- Code: ---checking for GAMIN... no
configure: error: Package requirements (gamin) were not met:
No package 'gamin' found
--- End code ---
The (maybe?) corresponding package "gamin-devel" (version 01.10) is still available for 12.2/12.3 but conflicts with packages "libfam0-***" (version 2.7.0). I found no way to get both installed in parallel without producing rpm dependency warnings.
Does anyone know a solution for compiling codeblocks including the gamin dependency? Or does anyone know, how this rpm conflicts can be solved? As far as I know, gamin is a subset of fam which is already installed (also the corresponding devel package)...
Currently I compile the nightlies with the option
--- Code: ---./configure --with-contrib-plugins=all,-FileManager
--- End code ---
This works well, but the Filemanager plugin will not be available...
Jenna:
It should be possible to use fam instead of gamin.
It might also be possible to remove fam and use gamin instead on your system.
grf:
How can I use fam instead of gamin? Is there a way to configure autoconf for using fam?
As far as I remember I tried to use gamin instead of fam with openSuse 12.2. I cannot remember completely, but I had some trouble with rpm dependencies and the gamin requirement still wasn't met. So using fam instead of gamin sounds more suitable to me.
Jenna:
It might be enough to replace
--- Code: ---PKG_CHECK_MODULES([GAMIN], [gamin])
--- End code ---
with
--- Code: ---PKG_CHECK_MODULES([GAMIN], [fam])
--- End code ---
in line 169 in configure.in .
Then run ./bootstrap and rerun the configure-script from your build-folder.
The proposal assumes that the pkg-config file for fam-devel is called fam.pc
grf:
Unfortunately pkg-config can't find fam and no files like fam.pc or gamin.pc are located in /usr/lib64/pkgconfig. It seems that the openSuse doesn't contain any *.pc files for fam.
The fam-devel rpm contains only the following files:
/usr/include/fam.h
/usr/lib64/libfam.a
/usr/lib64/libfam.la
/usr/lib64/libfam.so
/usr/share/man/man8/famd.8.gz
Now I tried again to fix the rpm dependency problems. I installed the gamin-devel package and therefore I had to remove some other devel packages (two kde4 related and fam-devel). Now codeblocks compiles with FileManager and runs without problems. I hope, that I get no side effects from the removing of the two kde devel packages, but in that case I can go back in removing gamin-devel and reinstalling the KDE devel packages.
However, thank you for your help. Now I have a little bit more overview/knowledge about pkg-config and the possibility to change some requirements...
Navigation
[0] Message Index
Go to full version