Bug 18607 - Pkg-config fails to find pixman >= 0.9.2 although 0.12.0 and 0.13.1 are installed
Summary: Pkg-config fails to find pixman >= 0.9.2 although 0.12.0 and 0.13.1 are insta...
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 13:56 UTC by Peter Dyballa
Modified: 2008-11-18 15:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Dyballa 2008-11-18 13:56:57 UTC
The reason is that the installed PC files are named pixman-1.pc:

pete 260 /\ pkg-config --cflags pixman
Package pixman was not found in the pkg-config search path.
Perhaps you should add the directory containing `pixman.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pixman' found
Exit 1
pete 261 /\ pkg-config --cflags pixman-1
-I/sw/include/pixman-1
Comment 1 Alan Coopersmith 2008-11-18 14:05:05 UTC
What version of Xorg are you trying to build that has this incorrect
pkg-config check?
Comment 2 Alan Coopersmith 2008-11-18 14:25:54 UTC
From the git logs, this can only be an old, unreleased git checkout - the
pkg-config check for pixman was added during 1.4 development and changed
to pixman-1 before 1.4 release.
Comment 3 Peter Dyballa 2008-11-18 14:42:03 UTC
It is X11R7.1. When I ran 'git pull' today it made a minimal update. When compiling I see:

	-DVENDOR_RELEASE=(((7) * 10000000) + ((2) * 100000) + ((0) * 1000) + 0)

and in the xserver directory I have:

	  -rw-rw-r--   1 pete admin 6,0M 25. Okt 2006  xorg-server-1.1.99.3.tar.bz2
	  -rw-rw-r--   1 pete admin 8,0M 25. Okt 2006  xorg-server-1.1.99.3.tar.gz
	  drwxr-xr-x  28 pete admin  952  4. Jan 2007  xorg-server-1.2.99.0
	  drwxr-xr-x  28 pete admin  952 18. Nov 23:07 xorg-server-1.3.99.0

so it's the latter that gets built.
Comment 4 Alan Coopersmith 2008-11-18 14:54:12 UTC
It is not X11R7.1.   X11R7.1 did not use pixman at all.

The current tarball release of the Xorg server is 1.5.3 (an update to the
Xorg server 1.5 included in X11R7.4):
http://xorg.freedesktop.org/releases/individual/xserver/

A current, correct git pull from head would show the version is 1.5.99.1.

1.3.99.0 would be a beta release of what became 1.4, and should no longer
be used since 1.4 was released over a year ago.
Comment 5 Peter Dyballa 2008-11-18 14:59:00 UTC
> 
> 1.3.99.0 would be a beta release of what became 1.4, and should no longer
> be used since 1.4 was released over a year ago.
> 

So 'git pull' fails to update ...
Comment 6 Alan Coopersmith 2008-11-18 15:04:40 UTC
Are you pulling from the Xorg master repository at
git://git.freedesktop.org/git/git/xorg/xserver ?

Are you using the master branch of that repo?

And if you're using git to get sources, why show the tarballs in your previous
comment?  git pulls an unpacked source tree, not a packed up tarball.
Which one are you actually building?    (The AC_INIT line near the top of
configure.ac should show the version of the Xorg server.)
Comment 7 Peter Dyballa 2008-11-18 15:41:30 UTC
(In reply to comment #6)
> Are you pulling from the Xorg master repository at
> git://git.freedesktop.org/git/git/xorg/xserver ?

I think so. I started to compile X11R7.1 years ago ...

> 
> Are you using the master branch of that repo?

I do not know. I started with a shell script through which the source code was cloned onto my Mac. Then I did updates with 'git pull' until the development seemed to have stopped, in a state I could not compile the X server. Then, last week or the week before, Jeremy Huddleston started to work on my bug reports and I had to answer his questions. So I updated and tried to compile to be able to answer ...

> 
> And if you're using git to get sources, why show the tarballs in your previous
> comment?  git pulls an unpacked source tree, not a packed up tarball.
> Which one are you actually building?    (The AC_INIT line near the top of
> configure.ac should show the version of the Xorg server.)
> 

It's 1.3.99.0 there. Jeremy Huddleston recommends to use version 1.4, which I'm going to use. And the upgrade is well described on http://xquartz.macosforge.org/trac/wiki/DeveloperInfo.
Comment 8 Alan Coopersmith 2008-11-18 15:57:47 UTC
You've either got git pull problems or have a old branch checked out - check
with "git branch" to see what branch you're in or trying making a new clone.

(Either way, it wouldn't be X11R7.1 - that's a couple years old now.
 We've released X11R7.4 a few months ago.)


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.