utempter detection #3

Slēgta
Ghost atvēra pirms 6 gadiem · 2 komentāri

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"
Īpašnieks

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.
Īpašnieks

Fixed by PR #4.

Fixed by PR #4.
SlavekB slēdza šo problēmu pirms 6 gadiem
SlavekB pievienoja atskaites punktu R14.0.6 release pirms 6 gadiem
Pierakstieties, lai pievienotos šai sarunai.
Nav atskaites punktu
Nav atbildīgo
2 dalībnieki
Paziņojumi
Izpildes termiņš

Izpildes termiņš nav uzstādīts.

Atkarības

Nav atkarību.

Atsaucas uz: TDE/tdelibs#3
Notiek ielāde…
Vēl nav satura.