Package Details: java-simpleitk 2.3.1-1

Git Clone URL: (read-only, click to copy)
Package Base: simpleitk
Description: A simplified layer built on top of ITK
Upstream URL:
Licenses: Apache
Submitter: yan12125
Maintainer: m-pilia
Last Packager: m-pilia
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-28 13:08 (UTC)
Last Updated: 2023-12-23 10:55 (UTC)

Dependencies (18)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

waldbaer59 commented on 2024-04-13 11:46 (UTC)

@Alad: I had the same issue. It seems to depend on one of the given java environments (see list above). After I have installed java-22-openjdk-bin from the AUR and switched to it via "archlinux-java set java-22-openjdk-bin" I can now build the simpleitk package.

Regards Stephan

Alad commented on 2024-01-17 19:28 (UTC)

What kind of java packages are required? With java-17-openjdk I get:

==> Starting prepare()...
-- Building SimpleITK version "2.3.1-g42ce2"
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE
  Java_JAVADOC_EXECUTABLE Development) (found version "17.0.9")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindJava.cmake:314 (find_package_handle_standard_args)
  CMake/sitkLanguageOptions.cmake:162 (find_package)
  CMakeLists.txt:318 (include)

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in prepare().

m-pilia commented on 2023-12-23 10:11 (UTC)

User may want to resume a partial build or edit files to debug build issues.

That is what makepkg --noprepare is for.

xiota commented on 2023-11-21 19:15 (UTC)

Is \rm -rf build necessary? User may want to resume a partial build or edit files to debug build issues.

There are updated cmake commands so that cmake creates the build directory itself when needed. So mkdir -p build ; cd build isn't needed.

carlosal1015 commented on 2023-10-17 22:07 (UTC) (edited on 2023-10-17 22:07 (UTC) by carlosal1015)

Hi, I have the following message error:

line 49: lua: command not found

when I compile in a clean chroot.

nvllsvm commented on 2023-10-13 19:45 (UTC)

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().

The PKGBUILD should be updated to set the env var PIP_USER=0 to ensure it is always unset.

VorpalWay commented on 2023-10-04 16:27 (UTC)

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:


  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
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).

m-pilia commented on 2021-04-05 11:19 (UTC)

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.

yan12125 commented on 2018-02-08 09:18 (UTC)

Dropping as I don't use this anymore.

yan12125 commented on 2017-08-04 19:08 (UTC)

I was using Arch's [testing] repo, which is faster than default Arch installs. Now apparently 7.1.1-4 has entered Manjaro. Is building fine with removing "CC=clang CXX=clang++" from PKGBUILD?