Cmake error

Bug #1192643 reported by Lesnake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Undecided
Unassigned

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

Tags: cmake
Revision history for this message
Lesnake (mazeinp) wrote :
Revision history for this message
Lesnake (mazeinp) wrote :

Diabling hugin python scripting interface

cmake ../hugin-2013.0.0 -DBUILD_HSI=OFF

solves the problem, building, install and usage works as expected.

Lesnake

Revision history for this message
Stefan Peter (s-peter-deactivatedaccount) wrote : 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.

tmodes (tmodes)
Changed in hugin:
status: New → Fix Committed
tmodes (tmodes)
Changed in hugin:
milestone: none → 2014.0beta1
tmodes (tmodes)
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.