Cmake seems to have incorrect file name for python shared object

Bug #1284163 reported by Cefn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Undecided
Unassigned

Bug Description

Having deleted the read-pdf module, and added the /usr/include path, the 'make' command has completed on Ubuntu Saucy (although with a lot of compiler warnings). However, when trying to run 'make install' I have hit...

CMake Error at swig/python/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/home/cefn/Documents/code/zorba/bzr/zorba/build/swig/python/_zorba_api_python.so".
Call Stack (most recent call first):
  swig/cmake_install.cmake:37 (INCLUDE)
  cmake_install.cmake:47 (INCLUDE)

Within the stated folder, there is a file called _zorba_api.so and zorba_api.py suggesting that the make install routine has an error concerning the name of the .so object created by the make command.

I found a couple of different line in zorba/build/swig/python/cmake_install.cmake which reference this file. I changed the references to _zorba_python.so instead of _zorba_api_python.so throughout.

I was then able to run...
sudo checkinstall make install
...and have the package installed and simultaneously
 wrapped in a .deb so that dpkg can manage zorba's files within my system.

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.