[Eisfair] [64]: make[1]: g++: No such file or directory

Rolf Bensch azubi at bensch-net.de
Fr Nov 3 17:45:14 CET 2023


Hallo Marcus,

Am 03.11.23 um 16:42 schrieb Marcus Röckrath:
> Klar, aber hast du auch den cupsd-Daemon gestartet?

da klemmt es wohl noch. Muss wohl erst noch einen passende Service anlegen. Mein erster Versuch:

   cat /var/lib/systemd/system/cups.service   //(entliehen beim Ubuntu-Host)
     [Unit]
     Description=CUPS Scheduler
     Documentation=man:cupsd(8)
     After=network.target nss-user-lookup.target nslcd.service
     Requires=cups.socket

     [Service]
     ExecStart=/usr/sbin/cupsd -l
     Type=notify
     Restart=on-failure


     [Install]
     Also=cups.socket cups.path
     WantedBy=printer.target multi-user.target


   mkdir /etc/systemd/system/printer.target.wants
   ln -s /var/lib/systemd/system/cups.service /etc/systemd/system/printer.target.wants/

   root at eis64-3 (/)# which cupsd
   /usr/sbin/cupsd

   root at eis64-3 (/)# ls -l /var/lib/systemd/system/
   total 16
   -rw-r--r-- 1 root root 278 Apr 11  2022 cups-browsed.service
   -rw-r--r-- 1 root root 142 Sep 15 13:19 cups.path
   -rw-r--r-- 1 root root 292 Nov  3 17:24 cups.service
   -rw-r--r-- 1 root root 132 Sep 15 13:19 cups.socket

   root at eis64-3 (/)# ls -l /usr/sbin/cups*
   -rwxr-xr-x 1 root root  10648 Nov  3 15:21 /usr/sbin/cupsaccept
   -rwxr-xr-x 1 root root  14840 Nov  3 15:21 /usr/sbin/cupsctl
   -rwx------ 1 root root 378400 Nov  3 15:21 /usr/sbin/cupsd
   lrwxrwxrwx 1 root root     10 Nov  3 15:21 /usr/sbin/cupsdisable -> cupsaccept
   lrwxrwxrwx 1 root root     10 Nov  3 15:21 /usr/sbin/cupsenable -> cupsaccept
   -rwxr-xr-x 1 root root  40264 Nov  3 15:21 /usr/sbin/cupsfilter
   lrwxrwxrwx 1 root root     10 Nov  3 15:21 /usr/sbin/cupsreject -> cupsaccept

Hier fehlt cups-browsed (was auch immer das macht...)

Ein Versuch:
   root at eis64-3 (/)# systemctl enable cups.service
   Failed to enable unit: Unit file cups.service does not exist.

Vermutlich bin ich meilenweit von der Eisfair-Ideologie entfernt. Wie wäre es richtig?

Grüße

Rolf




Mehr Informationen über die Mailingliste Eisfair