Le lundi 16 novembre 2015, 09:13:25 David Faure a écrit :
> On Monday 16 November 2015 02:12:13 D. Michael McIntyre wrote:
> > Debug builds run fine from ../rosegarden, but do not find the installed
> > library when run installed.  That's probably by design
> 

Here, running Mageia 5, the library is installed in /usr/local/lib64.
It's the only library currently installed in this place.
I needed to add it in /etc/ld.so.conf then it works fine.

> Actually I expected that to work out of the box, with a RUNPATH in the
> binary. But I see there's only one in the uninstalled binary, not in the
> installed one. It works in KDE because we tune the cmake RPATH behavior a
> little bit. OK, I imported that code now. I wish cmake would do this better
> out of the box.

Now I got this :

[yves@localhost DEBUG]$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -
DCMAKE_BUILD_TYPE=Debug
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at cmake/RPathHandling.cmake:43 (message):
  CMAKE_INSTALL_LIBDIR not set.  This is necessary for using the RPATH
  settings.
Call Stack (most recent call first):
  CMakeLists.txt:30 (include)


-- Configuring incomplete, errors occurred!
See also 
"/home.mg5/yves/RG.trav/SVNNEW/rosegarden/DEBUG/CMakeFiles/CMakeOutput.log".



Should not CMAKE_INSTALL_LIBDIR be automatically define from 
CMAKE_INSTALL_PREFIX ?

Yves





------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to