utempter detection #3

Kapalı
Ghost tarafından 6 yıl önce açıldı · 2 yorum
Ghost 6 yıl önce yorum yaptı

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 yıl önce yorum yaptı
Sahibi

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 yıl önce yorum yaptı
Sahibi

Fixed by PR #4.

Fixed by PR #4.
SlavekB 6 yıl önce konusunu kapattı
SlavekB 6 yıl önce R14.0.6 release kilometre taşına ekledi
Bu konuşmaya katılmak için oturum aç.
Kilometre Taşı Yok
Atanan Kişi Yok
2 Katılımcı
Bildirimler
Bitiş Tarihi

Bitiş tarihi atanmadı.

Bağımlılıklar

Bağımlılık yok.

Referans: TDE/tdelibs#3
Yükleniyor…
Henüz bir içerik yok.