Opened 7 months ago

Closed 7 months ago

#18634 closed defect (fixed)

Fix GDM 45 on SysV systems

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

Copied from blfs-dev (Joe Locash sent it in yesterday):

The build of gdm fails with:
  ../data/meson.build:169:21: ERROR: Unknown variable "systemd_dep".

The sed in the book doesn't take care of all references to systemd_dep but
with gdm-45 they've added support for elogind so the sed is unnecessary .

For elogind use -Dlogind-provider=elogind and -Dsystemdsystemunitdir=no 
-Dsystemduserunitdir=no

rm -rv /tmp/*.{service,target.d} can also be removed.

I'll try to get to this today or tomorrow. Still not sure what I've got going on today

Change History (6)

comment:1 by Douglas R. Reno, 7 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by pierre, 7 months ago

I can confirm that gdm can be built with:

-Dlogind-provider=elogind
-Dsystemdsystemunitdir=no 
-Dsystemduserunitdir=no

and that nothing is installed in /usr/lib/systemd. But...

gdm does not start, there is a permission problem. Trying to diagnose.

comment:3 by Xi Ruoyao, 7 months ago

Summary: Fix building GDM 45 on SysV systemsFix GDM 45 on SysV systems

So it's not only a build issue.

in reply to:  3 comment:4 by pierre, 7 months ago

Replying to Xi Ruoyao:

So it's not only a build issue.

Err, yes it is. I had stupidly removed all the sed's. Obviously, the one for gdm-launch-environment is needed! Reinstated it, and now gdm starts, and launches gnome (not tried all the DE's)

comment:5 by pierre, 7 months ago

So, Joe's fixes seem to be ok for sysv.

comment:6 by Douglas R. Reno, 7 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.