Re: GNUstep LoginPanel: failed to build with GNU runtime

Riccardo Mottola <[email protected]> Sun, 8 Feb 2026 23:33:11 +0100
Newsgroups gmane.comp.lib.gnustep.general
Message-ID <[email protected]>
Hi,

short version: Login.app is incomplete and unreleased.

Patrick Cardona wrote:
>
> I recently fetched LoginPanel from svn gap repo.
> I installed: libpam0g-dev.
> I tried to buid the app with this arg:
>> have-pam=yes
>
> This error happened:
>> Authenticator.m:210:11: error: invalid use of undefined type struct 
>> passwd
>
> Could you explain what is missing or what I made wrong?

I don't exactly know, I hacked on LoginApp a long time ago, but could 
not get it working. Gregory started in the dawn of GAP and I tried to 
modernize it without success. I want it portable to Linux and BSD at 
least, of course.

Possibly in your case it is just a matter that pam changed/updated some 
structure in the meanwhile, but even if, I don't think it would work.

I was able to get it working once "decently enough" that you could 
login. However, at log-out not all applications would be killed, I tried 
to fix that in many ways.
Another approach which sounds simpler and is to make it start X11 for 
you and then kill the X server everytime. That is what many login 
managers do, but also that didn't work and also has some drawbacks.

At the end, I decided to work on many other "desktop" things. To my 
knowledge, except the look, there is no particular gain compared with 
others.
Except for possible integration with SystemPreferences.


Well, it could be a topic for future hacking sessions.

Riccardo