:: [devuan-dev] SLiM 1.4.0 problem wit…
Top Pagina
Delete this message
Reply to this message
Auteur: sawbona
Datum:  
Aan: Devuan Dev Team
Onderwerp: [devuan-dev] SLiM 1.4.0 problem with multiple monitors
Hello:

My system runs on Devuan Daedalus and uses the SLiM fork by Robert
Pierce.

v1.4.0-0devuan2 has a problem when used on a system such as mine
(with more than one monitor) which seems to have been addressed by RP
in v1.4.1, not yet available in the Devuan repository.

So I downloaded v1.4.1 and followed the instructions to compile it
but seem to have come across a problem.

Compiling is a complete novelty to me so I cannot make hads or tails
from what happened.

The process was running properly (?) till it got to *this*:

---- snip ----

[ 46%] Building CXX object CMakeFiles/libslim.dir/PAM.cpp.o
/usr/bin/c++ -DAPPNAME=\"slim\" -DHAVE_SHADOW 
-DPKGDATADIR=\"/opt/share/slim\" -DSYSCONFDIR=\"/etc\" 
-DVERSION=\"1.4.1\" -Dlibslim_EXPORTS 
-I/home/groucho/code/slim_141/build 
-I/home/groucho/code/slim_141/slim-1.4.1 -I/usr/include/freetype2 
-fPIC -MD -MT CMakeFiles/libslim.dir/PAM.cpp.o -MF 
CMakeFiles/libslim.dir/PAM.cpp.o.d -o 
CMakeFiles/libslim.dir/PAM.cpp.o -c 
/home/groucho/code/slim_141/slim-1.4.1/PAM.cpp
In file included from 
/home/groucho/code/slim_141/slim-1.4.1/PAM.cpp:13:
/home/groucho/code/slim_141/slim-1.4.1/PAM.h:13:10: fatal error: 
security/pam_appl.h: No such file or directory
   13 | #include <security/pam_appl.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/libslim.dir/build.make:149: 
CMakeFiles/libslim.dir/PAM.cpp.o] Error 1
make[2]: Leaving directory '/home/groucho/code/slim_141/build'
make[1]: *** [CMakeFiles/Makefile2:138: CMakeFiles/libslim.dir/all] 
Error 2
make[1]: Leaving directory '/home/groucho/code/slim_141/build'
make: *** [Makefile:139: all] Error 2


---

Like I mentioned, this is all happening on an up to date Devuan
Daedalus installation, upgraded from Devuan Chimaera.

--- code ---
~$ uname -a
Linux devuan 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1
(2024-05-03) x86_64 GNU/Linux
~$
--- /code ---

Save for the screens problem, version 1.4.0 works properly.

I have posted a ticket at
https://sourceforge.net/p/slim-fork/tickets/11/ but I think R. Pierce
is ill so, if at all possible, it may be a good idea to update the
Devuan repository.

I can test the binary or compile v1.4.1 and test it if you can let me
know how to fix the glitch.

ie: security/pam_appl.h: No such file or directory

Thanks in advance.

Best,

CIV