← Back to team overview

hugin-devs team mailing list archive

Re: [Hugin-bug-hunters] [Bug 1192643] [NEW] Cmake error

 

Dear Lesnake.

On 19.06.2013 19:41, Lesnake wrote:
> Public bug reported:
> 
> cmake fails to finish with 3 errors.
...
> -- Found PythonInterp: /usr/bin/python (found version "2.7.4") 
> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.4", minimum required is "2.7.4") 
> CMake Error at CMakeLists.txt:324 (FILE):
>   file STRINGS file
>   "/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7/patchlevel.h"
>   cannot be read.

...

This is a bug in 2013.0-beta1 which already is fixed in the hugin svn. A
patch for beta1 can be found at
http://patch-tracker.debian.org/patch/series/view/hugin/2013.0.0~beta1+dfsg-3/50_9928ad3bd989_python_multiarch.diff

With kind regards

Stefan Peter


-- 
In theory there is no difference between theory and practice. In
practice there is.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1192643

Title:
  Cmake error

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  cmake fails to finish with 3 errors.

  Here is my setup :
  - ubuntu 13.04 64 bits freshly installed
  - cmake version 2.8.10.1
  -Python 2.7.4 (default, Apr 19 2013, 18:28:01) 
   [GCC 4.7.3] on linux2

  The command line :
  cmake ../hugin-2013.0.0

  How it ends :
  -- Found PythonInterp: /usr/bin/python (found version "2.7.4") 
  -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.4", minimum required is "2.7.4") 
  CMake Error at CMakeLists.txt:324 (FILE):
    file STRINGS file
    "/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7/patchlevel.h"
    cannot be read.

  
  CMake Error at CMakeLists.txt:327 (FILE):
    file STRINGS file
    "/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7/patchlevel.h"
    cannot be read.

  
  CMake Error at CMakeLists.txt:331 (FILE):
    file STRINGS file
    "/usr/include/python2.7;/usr/include/x86_64-linux-gnu/python2.7/patchlevel.h"
    cannot be read.

  
  CMake Error at CMakeLists.txt:350 (IF):
    if given arguments:

      "EQUAL" "3" "AND" "GREATER" "1"

    Unknown arguments specified

  
  -- Configuring incomplete, errors occurred!

  Logging files contains no information related to python, only
  CMakeCache.txt (attached).

  I had the same bug building 2012.0.0 (but successfully built it with
  12.04)

  My first bug report.

  Regards

  Lesnake

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1192643/+subscriptions


References