utempter detection #3

已关闭
由 Ghost 于 6 年前 打开 · 2 条评论
Ghost 评论于 6 年前

Basic information

  • TDE version: all
  • Distribution: Slackware64
  • Hardware: amd64

Description

The utempter helper is not detected with cmake, as a result the utempter library isn't built in, even if WITH_UTEMPTER=ON has been requested as an option.

check for utempter ~ L600 in CMakeLists.txt
PATHS
        /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
        /usr/lib/utempter
        /usr/libexec/utempter
        /usr/libexec
        /usr/sbin
        /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter
        /usr/local/lib/utempter
        /usr/local/libexec/utempter
        /usr/local/libexec
        /usr/local/sbin

Should be rewritten with either LIB_SUFFIX, ex:

/usr/lib${LIB_SUFFIX}/utempter

or with LIBDIR, ex:

/usr/${LIBDIR}/utempter

Then this can be passed as a cmake cmd like -DLIB_SUFFIX="64" or -DLIBDIR="lib64"

## Basic information - TDE version: all - Distribution: Slackware64 - Hardware: amd64 ## Description The utempter helper is not detected with cmake, as a result the utempter library isn't built in, even if WITH_UTEMPTER=ON has been requested as an option. ##### check for utempter ~ L600 in CMakeLists.txt ``` PATHS /usr/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter /usr/lib/utempter /usr/libexec/utempter /usr/libexec /usr/sbin /usr/local/lib/${CMAKE_LIBRARY_ARCHITECTURE}/utempter /usr/local/lib/utempter /usr/local/libexec/utempter /usr/local/libexec /usr/local/sbin ``` Should be rewritten with either LIB_SUFFIX, ex: ``` /usr/lib${LIB_SUFFIX}/utempter ``` or with LIBDIR, ex: ``` /usr/${LIBDIR}/utempter ``` Then this can be passed as a cmake cmd like -DLIB_SUFFIX="64" or -DLIBDIR="lib64"
SlavekB 评论于 6 年前
所有者

In TDESetupPaths.cmake in common cmake module, ${LIB_SUFFIX} is already in use, so it makes sense to use it also for utempter detection.

In TDESetupPaths.cmake in common cmake module, `${LIB_SUFFIX}` is already in use, so it makes sense to use it also for utempter detection.
SlavekB 评论于 6 年前
所有者

Fixed by PR #4.

Fixed by PR #4.
SlavekB6 年前 关闭此工单
SlavekB6 年前 添加了里程碑 R14.0.6 release
登录 并参与到对话中。
未选择里程碑
未指派成员
2 名参与者
通知
到期时间

未设置到期时间。

依赖工单

没有设置依赖项。

参考:TDE/tdelibs#3
正在加载...
这个人很懒,什么都没留下。