# Building cmake

**URL:** https://discourse.paraview.org/t/building-cmake/6670
**Category:** ParaView Support
**Created:** [March 11, 2021, 9:19am UTC](https://discourse.paraview.org/t/building-cmake/6670 "2021-03-11T09:19:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![salomchedlidze](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/f05b48/32.png) [@salomchedlidze](https://discourse.paraview.org/u/salomchedlidze)
#### Post date: [March 11, 2021, 9:19am UTC](https://discourse.paraview.org/t/building-cmake/6670/1 "2021-03-11T09:19:43Z")

</div>

Hello again,

I am using MacOS but I want to build ParaView on a computing cluster. When I tried to build cmake, it was giving this error:

```
CMake Error at Source/kwsys/cmake_install.cmake:46 (file):
  file cannot create directory: /usr/local/doc/cmake-3.20/cmsys. Maybe need
  administrative privileges.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)

make: *** [install] Error 1

```

In the other discussion I was answered to use sudo or to set CMAKE\_INSTALL\_PREFIX but I do not get it what was exactly meant. Just doing  
`sudo`  
in my home directory in the terminal again says:  
`-bash: /usr/bin/sudo: Permission denied`

Thanks,  
Salome

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 11, 2021, 9:27am UTC](https://discourse.paraview.org/t/building-cmake/6670/2 "2021-03-11T09:27:15Z")

</div>

This is the ParaView discourse, not cmake.  
[https://discourse.cmake.org/](https://discourse.cmake.org/)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 11, 2021, 9:27am UTC](https://discourse.paraview.org/t/building-cmake/6670/3 "2021-03-11T09:27:50Z")

</div>


