Bug 463072

Summary: Missing mapnik.pc so mapnik-demo won't build
Product: [Fedora] Fedora Reporter: Ed Avis <ed>
Component: mapnikAssignee: Balint Cristian <cristian.balint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: chris.brown
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-28 18:44:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Avis 2008-09-21 11:16:53 UTC
This bug refers to mapnik-0.5.1-4.fc10.src.rpm from the development SRPMS directory.  I built it on Fedora 9.

None of the packages built from this source RPM include a mapnik.pc file for pkg-config.  But mapnik-demo (one of the packages built from the source RPM) requires mapnik.pc to build the example program.

% rpmbuild --rebuild mapnik-0.5.1-4.fc10.src.rpm
% sudo rpm -Uvh wherever/mapnik-*.rpm
% cp -r /usr/share/doc/mapnik-demo-0.5.1/ .
% cd mapnik-demo-0.5.1/c++
% make
g++  `pkg-config --cflags mapnik freetype2` -Wall   -c -o rundemo.o rundemo.cpp
Package mapnik was not found in the pkg-config search path.
Perhaps you should add the directory containing `mapnik.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mapnik' found

% for i in `rpm -qa | grep ^mapnik`; do rpm -ql $i | grep mapnik.pc; done
(nothing)

Comment 1 Fedora Update System 2008-09-25 11:51:59 UTC
mapnik-0.5.2-0.4.svn738.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/mapnik-0.5.2-0.4.svn738.fc9

Comment 2 Fedora Update System 2008-09-25 11:53:00 UTC
mapnik-0.5.2-0.4.svn738.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/mapnik-0.5.2-0.4.svn738.fc8

Comment 3 Ed Avis 2008-09-28 12:59:36 UTC
This no longer occurs with mapnik-0.5.2-0.4.svn738.fc9.x86_64 from Fedora 9 updates (and the corresponding mapnik-demo).

However mapnik-demo has some further dependencies such as unicode/unistr.h which are needed to build it.  It might be a good idea to add dependencies to the mapnik-demo package so it pulls in everything you need to build the demo programs.

Comment 4 Fedora Update System 2008-09-28 18:43:53 UTC
mapnik-0.5.2-0.4.svn738.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2008-09-28 18:44:09 UTC
mapnik-0.5.2-0.4.svn738.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.