utempter detection #3

クローズ
Ghostが6年前に作成 · 2件のコメント
Ghost6年前 にコメント

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"
SlavekB6年前 にコメント
オーナー

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.
Ghost がコミットでこのイシューを参照 6年前
SlavekB5年前 にコメント
オーナー

Fixed by PR #4.

Fixed by PR #4.
SlavekB がイシューをクローズ 5年前
SlavekB がマイルストーン R14.0.6 release に追加 5年前
サインインしてこの会話に参加。
マイルストーンなし
担当者なし
2 人の参加者
通知
期日

期日は未設定です。

依存関係

依存関係が設定されていません。

リファレンス: TDE/tdelibs#3
読み込み中…
まだ内容がありません