PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 39 - APIExtractors uses pkg config to find libxml2 and libxslt instead of the standard cmake commands
: APIExtractors uses pkg config to find libxml2 and libxslt instead of the stan...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: ApiExtractor
: HEAD
: All All
: P3 minor
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-09-08 17:06 EEST by Hugo Parente Lima
Modified: 2009-10-14 10:59 EEST (History)
7 users (show)

See Also:


Attachments
[PATCH] Use FindLibXml2 and FindLibXslt CMake modules (909 bytes, patch)
2009-09-08 18:13 EEST, Carlos Gonçalves
Details
[PATCH] Use FindLibXml2 and FindLibXslt CMake modules (1.40 KB, patch)
2009-09-08 19:33 EEST, Carlos Gonçalves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Parente Lima 2009-09-08 17:06:09 EEST
APIExtractors uses pkg config to find libxml2 and libxslt instead of the
standard cmake commands. This cause some troubles on MacOSX (and probably on
Windows), because pkg_config is not standart.
Comment 1 Carlos Gonçalves 2009-09-08 18:13:55 EEST
Created attachment 15 [details]
[PATCH] Use FindLibXml2 and FindLibXslt CMake modules

Please check if the attached patch looks okay.
Comment 2 Hugo Parente Lima 2009-09-08 19:11:35 EEST
The patch is iincomplete, try to clear the build dir and recompile.

The variables LIBXSLT_INCLUDE_DIRS and LIBXML2_INCLUDE_DIRS are not definied,
they need to be replaced by the variables provides by the respective cmake
commands.
Comment 3 Carlos Gonçalves 2009-09-08 19:33:09 EEST
Created attachment 16 [details]
[PATCH] Use FindLibXml2 and FindLibXslt CMake modules

Hugo, the problem wasn't with my build dir (every time I compile it is in a new
& clean chroot env). Anyway, I was about to submit a new patch that fixes what
you just said. Hope it is okay now.
Comment 4 Carlos Gonçalves 2009-09-10 13:36:09 EEST
*** Bug 48 has been marked as a duplicate of this bug. ***
Comment 5 renato filho 2009-09-10 13:58:01 EEST
after apply this patch I got warning messages about deprecated use of
pkg-config:

-- Found Qt-Version 4.5.0
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LibXml2: /usr/lib/libxml2.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found LibXslt: /usr/lib/libxslt.so


My be the current version of FindLibXml2 and FindLibXslt are using deprecated
cmake commands.
Comment 6 renato filho 2009-09-10 19:46:49 EEST
Fixed on commit: 30a5c9f3038ede7d52cfe2bcda586ed97525c86b

remove use of pkg_config for OS compatibility.