utempter detection #3

닫힘
opened 6 년 전 by Ghost · 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.
SlavekB closed this issue 6 년 전
SlavekB R14.0.6 release 6 년 전 마일스톤을 추가하였습니다.
로그인하여 이 대화에 참여
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

Reference: TDE/tdelibs#3
불러오는 중...
아직 콘텐츠가 없습니다.