[kde-doc-english] Review Request 124482: Search for required perl modules.

Alex Merry alex.merry at kde.org
Mon Jul 27 09:19:49 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124482/
-----------------------------------------------------------

(Updated July 27, 2015, 9:19 a.m.)


Status
------

This change has been marked as submitted.


Review request for Documentation, KDE Frameworks and Luigi Toscano.


Repository: kdoctools


Description
-------

This produces a more helpful error when the user has Perl, but does not
have the Perl URI module installed.

Note that we can't really avoid erroring out in the configure stage, since perl is used while configuring KDocTools.


Diffs
-----

  cmake/FindPerlModules.cmake PRE-CREATION 
  cmake/uriencode.cmake 6479c93fd0c43f4065cf2045eacf9d03e9c8b5d2 

Diff: https://git.reviewboard.kde.org/r/124482/diff/


Testing
-------

Without perl-uri installed, get the following error message:

    --
    
    -- Could NOT find PerlModules_URI::Escape (missing:  PerlModules_URI_Escape_FOUND)
    CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
      Could NOT find PerlModules (missing: PerlModules_all_modules_found
      URI::Escape)
    Call Stack (most recent call first):
      /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
      cmake/FindPerlModules.cmake:77 (find_package_handle_standard_args)
      cmake/uriencode.cmake:34 (find_package)
      src/CMakeLists.txt:4 (kdoctools_encode_uri)
    
    -- Configuring incomplete, errors occurred!

With perl-uri installed, the REQUIRED packages found list includes:

     * PerlModules , <http://www.cpan.org>


Thanks,

Alex Merry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-doc-english/attachments/20150727/b40f46ea/attachment.html>


More information about the kde-doc-english mailing list