Sunday, March 4, 2012

[Discuss-gnuradio] cmake destination on 64-bit machines

Hello all,

Cmake seems to insist on installing all libraries in /usr/local/lib
instead on /usr/local/lib64. I can't find an obvious way to define
a destination path in cmake, or an architecture.

My machine is an AMD64, running Slackware, where the difference between
32 and 64 bit libraries is defined by the directories. So, the
installation in lib causes quite a few problems...

What I found until now:
Tracing the execution of cmake:

CMakeSystem.cmake(6): SET(CMAKE_SYSTEM_PROCESSOR x86_64 )
GrPlatform.cmake(43): if(NOT DEFINED LIB_SUFFIX AND REDHAT AND CMAKE_SYSTEM_PROCESSOR MATCHES 64$ )
GrPlatform.cmake(46): set(LIB_SUFFIX ${LIB_SUFFIX} CACHE STRING lib directory suffix )

REDHAT isn't defined (I believe) and neither is LIB_SUFFIX. So I tried to run cmake:

cmake --DREDHAT --DLIB_SUFFIX=64 ..

Still installs in lib instead of lib64.

Suggestions Please!

John

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment

Post a Comment