[
https://issues.apache.org/jira/browse/QPID-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13538461#comment-13538461
]
Chuck Rolke commented on QPID-3729:
-----------------------------------
I've been getting an error from a CMake run on Windows:
cpp/src/CMakeLists.txt line 1488
add_subdirectory(tests)
cpp/src/tests/CMakeLists.txt line 291
execute_process(COMMAND ${PYTHON_EXECUTABLE} setup.py install ...)
running install
Traceback (most recent call last):
File "setup.py", line 316, in <module>
distclass=distclass)
File "C:\Program Files (x86)\Python27\lib\distutils\core.py", line 152, in
setup
dist.run_commands()
File "C:\Program Files (x86)\Python27\lib\distutils\dist.py", line 953, in
run_commands
self.run_command(cmd)
File "C:\Program Files (x86)\Python27\lib\distutils\dist.py", line 971, in
run_command
cmd_obj.ensure_finalized()
File "C:\Program Files (x86)\Python27\lib\distutils\cmd.py", line 109, in
ensure_finalized
self.finalize_options()
File "C:\Program Files (x86)\Python27\lib\distutils\command\install.py", line
353, in finalize_options
'userbase', 'usersite')
File "C:\Program Files (x86)\Python27\lib\distutils\command\install.py", line
504, in convert_paths
setattr(self, attr, convert_path(getattr(self, attr)))
File "C:\Program Files (x86)\Python27\lib\distutils\util.py", line 201, in
convert_path
raise ValueError, "path '%s' cannot be absolute" % pathname
ValueError: path '/Lib/site-packages' cannot be absolute
Any clues on what's missing?
> C++ cmake build does not install python pieces needed for tests
> ---------------------------------------------------------------
>
> Key: QPID-3729
> URL: https://issues.apache.org/jira/browse/QPID-3729
> Project: Qpid
> Issue Type: Bug
> Components: Build Tools
> Affects Versions: 0.14
> Environment: cmake all platforms
> Reporter: Steve Huston
> Assignee: Steve Huston
> Fix For: 0.15
>
>
> The cpp/src/tests/Makefile.am runs python setup.py install on the needed
> python items for the tests. The cmake build does not - it tries to rely on
> setting paths to the proper locations in the source tree. The paths to the
> source tree don't work right, and compiled python files get out of date
> easily, resulting is false fails when the tests are run via cmake. The cmake
> build should run the same python setup that the autotools build does.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]