Closed mblesac closed 3 years ago
Your problem is with the system library /usr/local/lib/libz.a; it is unusual for this to be in /usr/local. But yeah this library was compiled without -fPIC, For some reason static files need -fPIC now so yeah you will need to recompile/reinstall that library.
Hello, When I try to run build.sh script, I will get this error:
======================================================== Cloning into 'ITK'... remote: Enumerating objects: 487673, done. remote: Counting objects: 100% (446/446), done. remote: Compressing objects: 100% (230/230), done. remote: Total 487673 (delta 243), reused 371 (delta 212), pack-reused 487227 Receiving objects: 100% (487673/487673), 163.27 MiB | 28.97 MiB/s, done. Resolving deltas: 100% (386120/386120), done. Note: checking out 'tags/v5.1.0'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at d3286c9... ENH: Update testing data content links for 5.1.0 /usr/local/MCRIBS/ITK/ITK-build ./build.sh: line 60: cmake3: command not found make: No targets specified and no makefile found. Stop. make: No rule to make target `install'. Stop. Cloning into 'VTK'... remote: Enumerating objects: 606536, done. remote: Counting objects: 100% (204/204), done. remote: Compressing objects: 100% (149/149), done. remote: Total 606536 (delta 77), reused 118 (delta 51), pack-reused 606332 Receiving objects: 100% (606536/606536), 230.92 MiB | 36.59 MiB/s, done. Resolving deltas: 100% (464770/464770), done. Checking out files: 100% (18423/18423), done. Note: checking out 'tags/v8.1.2'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
install'. Stop. which: no ccache in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin) ./build.sh: line 124: cmake3: command not found make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target
install'. Stop.Do you have any suggestions? Thanks!
Hi,
I'm trying to install this fantastic tool, but I'm having problems when I run the build.sh script.
The error that appears is the following:
I tried also to add the -fPIC flag to the cmake calls in build.sh but the error still persists. Do ou have any suggestions to solve this issue? Thanks in advance.
Manuel