From: Tim E. Real <termtech@ro...> - 2012-02-13 08:48:46
On January 28, 2012 12:38:13 PM Robert Jonsson wrote:
> I must say I'm still running 32bit here. We got this information in
> the forum, anyone has any further thoughts?
> It just seemed like a pretty complicated way to build... but perhaps
> it is necessary.
> "LIB_SUFFIX=64 isn't enough. One has to add the environment variable,
> CMAKE_INSTALL_LIBDIR=/usr/lib64, in order for muse-2.0 to compile on
> 64 bit GNU/Linux with the libraries in /usr/lib64 .
> For example, cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=64
> -DCMAKE_BUILD_TYPE=Release -DLOCALSTATE_INSTALL_DIR=/var
> -DSYSCONF_INSTALL_DIR=/etc -DCMAKE_INSTALL_LIBDIR=/usr/lib64 , for
> Slackware64 ...
> I HTH"
Here's my response to the forum post:
Oh, on second glance and a few hours more research ...
CMake build system: Added cached variable LIB_PATH_SUFFIX, may be set to 64
so that installed library path is lib64 or whatever.
It should show up in the cmake guis.
In the SVN release_2_0 branch now.
Here's how I changed our top CMakeLists.txt. If you spot, or have, any
problems please let me know !
if (NOT LIB_PATH_SUFFIX)
SET(LIB_PATH_SUFFIX "" CACHE STRING "Suffix for installed library path. Ex. 64
endif (NOT LIB_PATH_SUFFIX)
# set libdir if not use -DCMAKE_INSTALL_LIBDIR
if (NOT CMAKE_INSTALL_LIBDIR)
endif (NOT CMAKE_INSTALL_LIBDIR)
Try 'er out. Shout if any problems.