Jose Sanchez wrote:
Either add /opt/gnome/bin to your path or symlink /opt/gnome/bin/gtk-config to /usr/bin/gtk-config.
Charles
You're compiling as root and don't have a full $PATH, that's your problem.
compile as user, su to root to "make install". That's the common procedure
check that /opt/gnome/bin is in your path (echo $PATH). if it's not, add it to your path with 'export PATH=$PATH:/opt/gnome/bin' and try the configure script again.
Thanks for the help, it worked, and I was able to install this librtk library. However, when I tried to install the program (player/stage) I got tons of errors which are included ahead. The problem is that we have redhat also in other computer and they were able to install it without problems so I don't know what is the problem.
Making install in cmvision make[4]: Entering directory `/home/jose/player-src-1.4rc2/server/drivers/blobfinder/cmvision' make[5]: Entering directory `/home/jose/player-src-1.4rc2/server/drivers/blobfinder/cmvision' c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../server -Wall -I../../../../server -DUSE_METEOR -g -O2 -c P2CMV.cc In file included from P2CMV.cc:53: captureV4L2.h:58: error: 'v4l2_buffer' is used as a type, but is not defined as a type. captureV4L2.h:65: error: field `tempbuf' has incomplete type captureV4L2.h: In constructor `captureV4L2::captureV4L2()': captureV4L2.h:68: error: type `class capture' is not a direct base of ` captureV4L2' In file included from P2CMV.cc:56: capturev4l.h:33:1: warning: "DEFAULT_VIDEO_DEVICE" redefined In file included from P2CMV.cc:53: captureV4L2.h:39:1: warning: this is the location of the previous definition In file included from P2CMV.cc:56: capturev4l.h:35:1: warning: "DEFAULT_VIDEO_FORMAT" redefined In file included from P2CMV.cc:53: captureV4L2.h:43:1: warning: this is the location of the previous definition P2CMV.cc: In member function `virtual int CMVisionBF::Setup()': P2CMV.cc:202: error: cannot convert `captureV4L2*' to `capture*' in assignment make[5]: *** [P2CMV.o] Error 1 make[5]: Leaving directory `/home/jose/player-src-1.4rc2/server/drivers/blobfinder/cmvision' make[4]: *** [install-recursive] Error 1 make[4]: Leaving directory `/home/jose/player-src-1.4rc2/server/drivers/blobfinder/cmvision' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/jose/player-src-1.4rc2/server/drivers/blobfinder' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/jose/player-src-1.4rc2/server/drivers' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/jose/player-src-1.4rc2/server' make: *** [install-recursive] Error 1
I hope someone could give me a hint on what is the problem.
thanks Jose
Thanks I checked in the mailing list from player stage and they told me how to solve the problem as a reference I include their comments:
hi Jose,
The easiest solution is to re-run Player's configure script with the additional command-line argument "--disable-cmvision". Then Player's CMVision driver will not be compiled. Note that if you're just working with Stage, you don't need the CMVision driver.
Jose