Bug 42641

Summary: configure script doesn't check if pthread-stubs package exists
Product: cairomm Reporter: Janusz Korczak <janushk>
Component: BuildAssignee: Murray Cumming <murrayc>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: minor    
Priority: medium CC: sivaranjani
Version: unspecified   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.