:: Re: [devuan-dev] SLiM 1.4.0 problem…
Kezdőlap
Delete this message
Reply to this message
Szerző: sawbona
Dátum:  
Címzett: Tom"devuan-de
Tárgy: Re: [devuan-dev] SLiM 1.4.0 problem with multiple monitors
Hello:

@Tom, @Ralph Ronnquist

> ----
> $ apt-file find security/pam_appl.h
> libpam0g-dev: /usr/include/security/pam_appl.h
> ----


Thank you.
libpam0g-dev installed.

Unfortunately, errors persist.

On 'make', the process has an error at 69% and from then on a long
list till it gets to "note: template argument deduction/substitution
failed.

code
--- snip ---
[ 69%] Building CXX object CMakeFiles/slim.dir/app.cpp.o
/usr/bin/c++ -DAPPNAME=\"slim\" -DHAVE_SHADOW 
-DPKGDATADIR=\"/opt/share/slim\" -DSYSCONFDIR=\"/etc\" -DUSE_PAM 
-DVERSION=\"1.4.1\" -I/home/groucho/code/slim_141/build 
-I/home/groucho/code/slim_141/slim-1.4.1 -I/usr/include/freetype2  
-MD -MT CMakeFiles/slim.dir/app.cpp.o -MF 
CMakeFiles/slim.dir/app.cpp.o.d -o CMakeFiles/slim.dir/app.cpp.o -c 
/home/groucho/code/slim_141/slim-1.4.1/app.cpp
In file included from 
/home/groucho/code/slim_141/slim-1.4.1/app.cpp:31:
/home/groucho/code/slim_141/slim-1.4.1/log.h: In instantiation of 
'LogUnit& LogUnit::operator<<(const Type&) [with Type = 
PAM::Exception]':
/home/groucho/code/slim_141/slim-1.4.1/app.cpp:331:35:   required 
from here
/home/groucho/code/slim_141/slim-1.4.1/log.h:34:25: error: no match 
for 'operator<<' (operand types are 'std::ostream' {aka 
'std::basic_ostream<char>'} and 'const PAM::Exception')
   34 |                 *logOut << text; logOut->flush();
      |                 ~~~~~~~~^~~~~~~


--- snip ---

/usr/include/c++/12/ostream:754:5: note: template argument
deduction/substitution failed:
/usr/include/c++/12/ostream: In substitution of 'template<class
_Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const
_Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp =
PAM::Cred_Exception]':
/home/groucho/code/slim_141/slim-1.4.1/log.h:34:11: required from
'LogUnit& LogUnit::operator<<(const Type&) [with Type =
PAM::Cred_Exception]'
/home/groucho/code/slim_141/slim-1.4.1/app.cpp:663:35: required
from here
/usr/include/c++/12/ostream:754:5: error: no type named 'type' in
'struct std::enable_if<false, void>'
make[2]: *** [CMakeFiles/slim.dir/build.make:93:
CMakeFiles/slim.dir/app.cpp.o] Error 1
make[2]: Leaving directory '/home/groucho/code/slim_141/build'
make[1]: *** [CMakeFiles/Makefile2:164: CMakeFiles/slim.dir/all]
Error 2
make[1]: Leaving directory '/home/groucho/code/slim_141/build'
make: *** [Makefile:139: all] Error 2
groucho@devuan:~/code/slim_141/build$

/code

If you need the whole error output (quite long) please let me know.

Thanks in advance.

Best,

JHM