[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Error while loading shared libraries



Hi Andreas,

>> >1557 CMake Error: Could not open file for write in copy operation /qt.conf.tmp
>> >1558 CMake Error: : System Error: Permission denied
>> >1559 CMake Error at SrcLib/core/fwGuiQt/
> CMakeLists.txt:12 (configure_file):
>> >1560   configure_file Problem configuring file
>> Looks like someone got a path wrong.

I think I fixed the "qt.conf" issue (line 1557). In SrcLib/core/fwGuiQt/CMakeLists.txt, line 12, I've something like that :
   configure_file("${CMAKE_CURRENT_LIST_DIR}/bin/qt.conf" "${BINPATH}/qt.conf")

However, BINPATH is not declared anymore. It has been replaced by RUNTIME_OUTPUT_DIR, like that :
   configure_file("${CMAKE_CURRENT_LIST_DIR}/bin/qt.conf" "${RUNTIME_OUTPUT_DIR}/qt.conf")

I can't test if this change fix really the issue, because I have never seen this log error before, I don't know where find this log.

I pushed debian/patches/fix_qtconf.patch on Alioth.

Thank you,


Corentin

Reply to: