GNOME Bugzilla – Bug 315582
-lcheck required
Last modified: 2006-05-08 10:15:04 UTC
Version details: Sep 8 2005, 16:39 UTC Distribution/Version: MontaVista Linux ./configure gst-plugins-base properly, and then run make. The directory gst-plugins-base/check/ will be make'd, but will fail if libcheck has not been installed. (This is a cross-compilation for ARM.) There is libcheck installed, though, but "ld: cannot find -lcheck", and Makefile seems to include by default just "-I. -I$(srcdir) -I$(top_builddir)", whereas -I$(prefix)/lib (along with the rest of GST_CFLAGS) is needed.
Hi, You're confusing me a little :) a) you're saying "it will fail if libcheck has not been installed" but after that you're saying "there is libcheck installed". Is it installed or not ? b) -I$(prefix)/lib doesn't seem right; -I is an include flag, passed to the compiler. Could you double-check and explain exactly what problem you're seeing so I know what to look at ? Thanks
Hi. I'm confused myself with what I sent! I don't know what was I thinking! :) I tried with a fresh system with no check at all using gst-plugins-base-0.9.2, and it fails: generic/states.c:25:32: gst/check/gstcheck.h: No such file or directory in [...]/gst-plugins-base-0.9.2/check/ On config.log I find: configure:25097: checking for check - version >= 0.9.2 configure:25209: result: yes Since I'm crosscompiling, I guess it's finding the host's check.
Now I'm doubly confused. You're still saying in the same block that you have "no check at all" and "the host's check". So is check installed, yes or no ?
Hi. The "at all" was misused. I do have check on my host system, but not on my target system (I'm crosscompiling to ARM.) Check is on host, check is not on target. Host is RHEL 3.0 and target is MontaVista Linux.
I'm still confused :) mind you, I don't often cross-compile, so I need some help here. - your host is RHEL 3.0 and has check installed - your target is MontaVista/ARM and does not have the check library installed - you are compiling on the host to install on the ARM target - so when you are compiling gst-plugins-base *on the host*, it finds the check library, but not the gstcheck.h headers ? - this seems to tell me that you did not have check installed on the host when you were compiling gstreamer core. Because gstreamer core installs this header if it found the check library. can you confirm or deny ? or give me a simple recipe to reproduce *from scratch* (including core) ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!