[CMake] Error when upgraded to 2.8.7 from 2.8.1

newuserhere rohitsubscribe at gmail.com
Mon Mar 18 14:51:24 EDT 2013


Thanks Alex,

It worked! I updated the file to one from version 2.8.10.

Regards
Rohit


On Thu, Mar 14, 2013 at 6:54 PM, Alexander Neundorf-3 [via CMake] <
ml-node+s3232098n7583650h47 at n2.nabble.com> wrote:

> On Thursday 14 March 2013, newuserhere wrote:
>
> > Hi,
> > I am getting an error in CMAKE configuration after it was updated to
> 2.8.7.
> > The line to which error is pointed :
> > /find_package(PythonInterp)/
> >
> > Well the error is as follows :
> >
> > /CMake Warning (dev) at
> > /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:86
> > (INCLUDE):
> >   File /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake
> >   includes
> >    cmake/modules/CMakeParseArguments.cmake (found
> >   via CMAKE_MODULE_PATH) which shadows
> >   /usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake.  This may
> cause
> >   errors later on .
> >
> >   Policy CMP0017 is not set: Prefer files from the CMake module
> directory
> >   when including from there.  Run "cmake --help-policy CMP0017" for
> policy
> >   details.  Use the cmake_policy command to set the policy and suppress
> > this warning.
> > Call Stack (most recent call first):
> >   /usr/share/cmake-2.8/Modules/FindPythonInterp.cmake:63 (include)
> >   sym/CMakeLists.txt:54 (find_package)
> > This warning is for project developers.  Use -Wno-dev to suppress it.
> >
> > CMake Error at
> > /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:169
> > (MESSAGE):
> >   No REQUIRED_VARS specified for FIND_PACKAGE_HANDLE_STANDARD_ARGS()
> > Call Stack (most recent call first):
> >   /usr/share/cmake-2.8/Modules/FindPythonInterp.cmake:64
> > (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> >   sym/CMakeLists.txt:54 (find_package)
> > /
> >
> > Could someone help me in finding out how to solve the error.
>
> This does not happen anymore in the upcoming 2.8.11 release.
>
> The problem is that you have CMAKE_MODULE_PATH set, and
> sym/CMakeLists.txt
> does a
> find_package(PythonInterp)
> which uses FindPythonInterp.cmake from cmake, which does
> include(FindPackageHandleStandardArgs)
> which it finds in cmake, which does
> include(CMakeParseArguments)
> which it now does not find from cmake, but from within your project, in
> cmake/modules/, and which does not have the same features as the
> FindPackageHandleStandardArgs.cmake expects.
>
> So either use a most current cmake, or don't set CMAKE_MODULE_PATH, or
> update
> the copy of CMakeParseArguments.cmake in your project.
>
> Alex
>
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://cmake.3232098.n2.nabble.com/Error-when-upgraded-to-2-8-7-from-2-8-1-tp7583646p7583650.html
>  To unsubscribe from Error when upgraded to 2.8.7 from 2.8.1, click here<http://cmake.3232098.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7583646&code=cm9oaXRzdWJzY3JpYmVAZ21haWwuY29tfDc1ODM2NDZ8NTQyNDAyMTk5>
> .
> NAML<http://cmake.3232098.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://cmake.3232098.n2.nabble.com/Error-when-upgraded-to-2-8-7-from-2-8-1-tp7583646p7583722.html
Sent from the CMake mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130318/14318e03/attachment.htm>


More information about the CMake mailing list