Matthew A Tobiasz wrote:
What you need are the development packages for GTK+ so like gtk2-devel/ gtk-devel. I can recall the specifics, but it's along those lines.
Hi, I just checked my installed files and gtk2-devel and gtk-devel are installed. this is the output when I call the script ./configure loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for gtk-config... no configure: error: Could not find gtk-config. GTK is required to build RTK however, gtk-config is present in: linux:/ # locate gtk-config /opt/gnome/bin/gtk-config /opt/gnome/man/man1/gtk-config.1.gz So I have no idea what the problem is Jose
On Wed, 03 Mar 2004 09:55:56 -0600
Jose Sanchez
linux:/ # locate gtk-config /opt/gnome/bin/gtk-config
Either add /opt/gnome/bin to your path or symlink /opt/gnome/bin/gtk-config to /usr/bin/gtk-config. Charles -- "...and scantily clad females, of course. Who cares if it's below zero outside" (By Linus Torvalds)
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
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
On Wednesday 03 March 2004 16.55, Jose Sanchez wrote:
Matthew A Tobiasz wrote:
What you need are the development packages for GTK+ so like gtk2-devel/ gtk-devel. I can recall the specifics, but it's along those lines.
Hi, I just checked my installed files and gtk2-devel and gtk-devel are installed. this is the output when I call the script ./configure
loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for gtk-config... no configure: error: Could not find gtk-config. GTK is required to build RTK
however, gtk-config is present in: linux:/ # locate gtk-config /opt/gnome/bin/gtk-config /opt/gnome/man/man1/gtk-config.1.gz
So I have no idea what the problem is
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
Hi, I just checked my installed files and gtk2-devel and gtk-devel are installed. this is the output when I call the script ./configure
loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for gtk-config... no configure: error: Could not find gtk-config. GTK is required to build RTK
however, gtk-config is present in: linux:/ # locate gtk-config /opt/gnome/bin/gtk-config /opt/gnome/man/man1/gtk-config.1.gz
So I have no idea what the problem is
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. -- trey
participants (4)
-
Anders Johansson
-
Charles Philip Chan
-
Jose Sanchez
-
Trey Gruel