Hi Bernhard, thanks for this! It seems like a beginner's mistake. I successfully use this sequence of commands since I have sudo rights on Centos 7.5:
cd $HOME;sudo rm -rf FreeRDP git clone git://github.com/FreeRDP/FreeRDP.git cd FreeRDP cmake -GNinja -DCHANNEL_URBDRC=OFF -DWITH_DSP_FFMPEG=OFF -DWITH_CUPS=OFF -DWITH_PULSE=OFF . cmake --build . sudo cmake --build . --target install xfreerdp now works like a charm. Thanks again, Thomas On Wed, Oct 17, 2018 at 9:10 AM Bernhard Miklautz < bernhard.mikla...@shacknet.at> wrote: > Hi, > > On Wed, Oct 17, 2018 at 08:46:28AM +0200, ng0177--- via FreeRDP-devel > wrote: > > On Centos 7.5 Linux 3.10.0-862.14.4.el7.x86_64, I get the below error > when > > executing > > > > git clone git://github.com/FreeRDP/FreeRDP.git cd FreeRDP cmake -GNinja > > -DCHANNEL_URBDRC=OFF -DWITH_DSP_FFMPEG=OFF -DWITH_CUPS=OFF > -DWITH_PULSE=OFF > > . cmake --build . cmake --build . --target install > > ..... > > `[424/424] Linking C executable client/X11/xfreerdp > > [th6mas@freckle75 FreeRDP]$ > > [th6mas@freckle75 FreeRDP]$ cmake --build . --target install > > [1/1] Install the project... > > FAILED: CMakeFiles/install.util > > cd /home/th6mas/FreeRDP && /usr/bin/cmake -P cmake_install.cmake > > -- Install configuration: "Release" > > -- Installing: /usr/local/share/man/man7/wlog.7 > > CMake Error at winpr/cmake_install.cmake:36 (FILE): > > file INSTALL cannot copy file "/home/th6mas/FreeRDP/winpr/wlog.7" to > > "/usr/local/share/man/man7/wlog.7". > > Call Stack (most recent call first): > > cmake_install.cmake:37 (INCLUDE) > > > > ninja: build stopped: subcommand failed. > "install" tries to install to /usr/local/share/man/man7. My guess would > be that you don't have sufficient rights there. > > If you need to install to /usr/local I'd run build first without install > (as user) and then install as root. If it's not required to install to > /usr/local you could pass an CMAKE_INSTALL_PREFIX with some directory > you have rights for (could be /opt/freerdp for example) when running > cmake configuration. > > Best regards, > Bernhard > _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel