I am a linux-newbie trying to install the opencv library on my fresh kubuntu-laptop installation.
To be able to do that, I need to install a gtk+ 2.x library (since I can't find any of these in my packet manager, I am trying to install manually). In order to be able to install this, I first need to install several other things, including atk.
When first running ./configure, I received the following error:
Quote:
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.8.0, but GLIB (2.8.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
|
I already have a glib version installed so I added the correct path to the environment variable PKG_CONFIG_PATH and I managed to configure it (so this part of my problem is solved).
(To be complete I must add that I first installed glib version 2.8.6; then removed that and installed glib version 2.8.0 afterwards trying to solve the problem underneath. Obviously it did not :-) )
Then I ran 'sudo make' and got the following (related?) error:
Quote:
make all-recursive
make[1]: Entering directory `/usr/programs/atk-1.10.3'
Making all in atk
make[2]: Entering directory `/usr/programs/atk-1.10.3/atk'
..//usr/programs/glib-2.6.0/gobject/glib-genmarshal --prefix=atk_marshal ./atkmarshal.list --header >> xgen-gmh \
&& (cmp -s xgen-gmh atkmarshal.h || cp xgen-gmh atkmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-atkmarshal.h
/bin/sh: ..//usr/programs/glib-2.6.0/gobject/glib-genmarshal: No such file or directory
make[2]: *** [stamp-atkmarshal.h] Error 127
make[2]: Leaving directory `/usr/programs/atk-1.10.3/atk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/programs/atk-1.10.3'
make: *** [all] Error 2
|
This is really strange because the file /usr/programs/glib-2.6.0/gobject/glib-genmarshal really does exist. I googled around and found some people with the same problem but didn't find any answers. I am desperate for any help possible and would appreciate it very much if anyone could help me back on track.