Bug 42641 - configure script doesn't check if pthread-stubs package exists
Summary: configure script doesn't check if pthread-stubs package exists
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairomm
Classification: Unclassified
Component: Build (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium minor
Assignee: Murray Cumming
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-06 04:03 UTC by Janusz Korczak
Modified: 2014-01-28 12:19 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Janusz Korczak 2011-11-06 04:03:59 UTC
I had minor problem compiling cairomm. I am using Slackware distribution and forgot to install pthread-stubs package. Configure script silently created Makefiles but without proper include and linking paths. Problem is that when I manually executed pkg-config --cflags cairo I received complaints about missing pthread-stubs package but configure script didn't detect this. Probably detecting this during confuguration phase would solve problem..
Comment 1 Murray Cumming 2011-11-06 13:02:49 UTC
(In reply to comment #0)
> Problem is that when I
> manually executed pkg-config --cflags cairo I received complaints about missing
> pthread-stubs package

That sounds like a Slackware cairo packaging problem that you should fix. I don't know Slackware, but I guess it should make sure that a package's dependencies are installed.

> but configure script didn't detect this. Probably
> detecting this during confuguration phase would solve problem.

In addition, this might be a pkg-config bug that you might report, though I am sure that I have seen errors from PKG_CHECK_MODULES() in the rare cases that a dependency does not have its own dependencies present.

So far I don't feel like adding special code to work around this in gtkmm upstream.
Comment 2 Murray Cumming 2014-01-28 12:19:57 UTC
Please reopen if this is still a problem that we should fix in cairomm. I'd also like to know if slackware fixed it in their packaging.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.