After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315582 - -lcheck required
-lcheck required
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: NONE
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-08 21:12 UTC by Daniel Díaz
Modified: 2006-05-08 10:15 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Daniel Díaz 2005-09-08 21:12:48 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.
Comment 1 Thomas Vander Stichele 2005-09-09 09:34:25 UTC
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
Comment 2 Daniel Díaz 2005-09-10 18:11:24 UTC
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.
Comment 3 Thomas Vander Stichele 2005-09-17 17:24:02 UTC
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 ?
Comment 4 Daniel Díaz 2005-10-04 02:29:27 UTC
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.
Comment 5 Thomas Vander Stichele 2006-01-13 12:31:09 UTC
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) ?
Comment 6 Tim-Philipp Müller 2006-05-08 10:15:04 UTC
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!