Bug 463072 - Missing mapnik.pc so mapnik-demo won't build
Summary: Missing mapnik.pc so mapnik-demo won't build
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mapnik
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Balint Cristian
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-21 11:16 UTC by Ed Avis
Modified: 2008-09-28 18:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-28 18:44:00 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.