[cups] make failes for cups 2.3b8
Matthias Apitz
guru at unixarea.de
Tue May 7 22:47:09 PDT 2019
El día martes, mayo 07, 2019 a las 03:23:17p. m. +0200, Matthias Apitz escribió:
>
> Hello,
>
> apitzm at srap16dxr1:~/head/CUPS2/cups-2.3b8> uname -a
> Linux srap16dxr1 4.4.162-94.72-default #1 SMP Mon Nov 12 18:57:45 UTC 2018 (9de753f) x86_64 x86_64 x86_64 GNU/Linux
> apitzm at srap16dxr1:~/head/CUPS2/cups-2.3b8> cat /etc/os-release
> NAME="SLES"
> VERSION="12-SP3"
> VERSION_ID="12.3"
> PRETTY_NAME="SUSE Linux Enterprise Server 12 SP3"
> ID="sles"
> ANSI_COLOR="0;32"
> CPE_NAME="cpe:/o:suse:sles:12:sp3"
>
> apitzm at srap16dxr1:~/head/CUPS2/cups-2.3b8> ./configure \
> --prefix=/usr/local/sisis-pap/cups2 \
> --libdir=/usr/local/sisis-pap/cups2/lib --with-cups-user=lp \
> --with-cups-group=lp --with-system-groups=root
>
> apitzm at srap16dxr1:~/head/CUPS2/cups-2.3b8> make
> ...
> Making all in tools...
> Compiling ippevepcl.c...
> Linking ippevepcl...
> Compiling ippeveps.c...
> Linking ippeveps...
> Compiling ippeveprinter.c...
> ippeveprinter.c: In function 'create_printer':
> ippeveprinter.c:1499:57: error: 'securi' undeclared (first use in this
> function)
> fprintf(stderr, "printer-uri=\"%s\",\"%s\"\n", uri, securi);
> ^
> ippeveprinter.c:1499:57: note: each undeclared identifier is reported
> only once for each function it appears in
> ../Makedefs:271: recipe for target 'ippeveprinter.o' failed
> make[1]: *** [ippeveprinter.o] Error 1
> Makefile:33: recipe for target 'all' failed
> make: *** [all] Error 1
>
> Is this a known issue?
This small hack makes it compile fine:
apitzm at srap16dxr1:~/head/CUPS2/cups-2.3b8> diff -c */ippeveprinter.c*
*** tools/ippeveprinter.c Wed May 8 07:44:57 2019
--- tools/ippeveprinter.c.orig Thu May 2 18:58:07 2019
***************
*** 1496,1502 ****
#ifdef HAVE_SSL
fprintf(stderr, "printer-uri=\"%s\"\n", uri);
#else
- char *securi = "dummy added by guru at unixarea.de (see tools/ippeveprinter.c, 1499)";
fprintf(stderr, "printer-uri=\"%s\",\"%s\"\n", uri, securi);
#endif /* HAVE_SSL */
}
--- 1496,1501 ----
mattthias
--
Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!
More information about the cups
mailing list