Re: CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-24 Thread Corentin Desfarges
Hi everybody! First, thank you for all your advices. Can you publish the source package? As Martin said, mysource package is available in Debian-Med [1] But configuring files directly to installation locations (like your /usr/bin) is a bad idea. This requires superuser powers at

Re: CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-24 Thread Martin Steghöfer
Hi Corentin! El 24/10/14 a les 11:05, Corentin Desfarges ha escrit: I removed lines in question and replaced them by : configure_file(${CMAKE_CURRENT_LIST_DIR}/bin/qt.conf ${CMAKE_CURRENT_BINARY_DIR}/qt.conf) (And CMAKE_CURRENT_BINARY_DIR isn't /usr/bin this time). And it works ! I mean the

CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-23 Thread Corentin Desfarges
Hi all, I'm currently working on the packaging of fw4spl (an open source framework) and I got this CMake error when I use pbuilder : CMake Error: Could not open file for write in copy operation /usr/bin/qt.conf.tmp CMake Error: : System Error: Permission denied CMake Error at

Re: CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-23 Thread Andrey Rahmatullin
On Thu, Oct 23, 2014 at 03:01:02PM +0200, Corentin Desfarges wrote: I'm currently working on the packaging of fw4spl (an open source framework) and I got this CMake error when I use pbuilder : CMake Error: Could not open file for write in copy operation /usr/bin/qt.conf.tmp CMake Error: :

Re: CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-23 Thread Martin Steghöfer
Hi Corentin! Corentin Desfarges wrote: Hi all, I'm currently working on the packaging of fw4spl (an open source framework) and I got this CMake error when I use pbuilder : CMake Error: Could not open file for write in copy operation /usr/bin/qt.conf.tmp CMake Error: : System Error:

Re: CMake Error: Could not open file for write in copy operation ... System Error: Permission denied

2014-10-23 Thread Martin Steghöfer
El 23/10/14 a les 18:01, Martin Steghöfer ha escrit: The line in question says: configure_file(${CMAKE_CURRENT_LIST_DIR}/bin/qt.conf ${CMAKE_CURRENT_BINARY_DIR}/qt.conf) where CMAKE_CURRENT_BINARY_DIR is /usr/bin. A little correction: It actually said RUNTIME_OUTPUT_DIR (which is