Hi, I have the following message error:
line 49: lua: command not found
when I compile in a clean chroot.
Git Clone URL: | https://aur.archlinux.org/simpleitk.git (read-only, click to copy) |
---|---|
Package Base: | simpleitk |
Description: | A simplified layer built on top of ITK |
Upstream URL: | https://github.com/SimpleITK/SimpleITK |
Licenses: | Apache-2.0 |
Submitter: | yan12125 |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2016-05-28 13:08 (UTC) |
Last Updated: | 2024-09-15 23:56 (UTC) |
Hi, I have the following message error:
line 49: lua: command not found
when I compile in a clean chroot.
Build fails for me because of my global pip configuration which sets user = true
.
[100%] Built target SimpleITK_PYTHON
[100%] Creating python virtual environment...
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.
make[3]: *** [Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/build.make:74: Testing/Installation/pyvenv/bin/python3] Error 1
make[3]: *** Deleting file 'Testing/Installation/pyvenv/bin/python3'
make[2]: *** [CMakeFiles/Makefile2:2118: Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:2125: Wrapping/Python/CMakeFiles/PythonVirtualEnv.dir/rule] Error 2
make: *** [Makefile:865: PythonVirtualEnv] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The PKGBUILD should be updated to set the env var PIP_USER=0
to ensure it is always unset.
There appear to be a missing dependency for this package:
CMake Error at /usr/lib/cmake/ITK-5.3/Modules/ITKEigen3.cmake:16 (find_package):
Could not find a package configuration file provided by "Eigen3" (requested
version 3.3) with any of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/usr/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:76 (include)
/usr/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:31 (itk_module_load)
/usr/lib/cmake/ITK-5.3/ITKModuleAPI.cmake:129 (_itk_module_config_recurse)
/usr/lib/cmake/ITK-5.3/ITKConfig.cmake:88 (itk_module_config)
CMakeLists.txt:64 (find_package)
Adding eigen as a makedepends fixes this (it is a header only library, so it shouldn't be needed as a runtime dependency).
I updated to version 2.0.2. I turned this into a split package, so that it is now possible to separately install the wrappers for different languages as separate packages.
Please note that SimpleITK 2 requires insight-toolkit
to be built with the SimpleITKFilters module (-DModule_SimpleITKFilters:BOOL=ON
), that is currently not included in the configuration of the insight-toolkit
AUR package. I already asked
to add it, in the meantime it is necessary to edit the PKGBUILD file and add the flag to CMake when rebuilding insight-toolkit
.
Dropping as I don't use this anymore.
Pinned Comments
m-pilia commented on 2024-08-24 11:19 (UTC)
Attention: Currently
simpleitk
cannot be updated to 2.4.0,insight-toolkit
needs to be updated to 5.4 first.