Re: printing
"Richard" ([email protected] via blfs-support Mailing List) <[email protected]> Fri, 21 Nov 2025 15:37:10 -0500
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
On 11/21/25 12:27 PM, "Douglas R. Reno" ([email protected] via blfs-support Mailing List) wrote: > On 11/21/25 8:47 AM, Richard ([email protected] via blfs-support Mailing > List) wrote: >> On 11/20/25 4:33 PM, Bruce Dubbs ([email protected] via >> blfs-support Mailing List) wrote: >>> On 11/20/25 3:23 PM, Richard ([email protected] via blfs-support Mailing >>> List) wrote: >>>> >>>> I've built blfs-12.4 according to the stable book, and I'm having >>>> a hard time getting printing to work. I have an HP SmartTank >>>> 7602 printer, so I need to somehow install hplip. I got to >>>> the point in blfs-12.2 that I could use the printer, but so far >>>> no luck in 12.4. I realize that you do not support hplip, so I won't >>>> ask for instructions, but I am just curious if anyone has >>>> gotten the hplip automatic installer to work for blfs-12.4? >>>> I think I've installed the required dependencies for packages, >>>> except I haven't install QT6. >>> >>> I was using hplip until the printer failed. My notes were: >>> >>> Not sure if gutenprint is needed. >>> >>> hplip needs net-snmp >>> install fails with man pages (needs sedscript whatever that is) >>> >>> hplip needs sane >>> >>> Set parallel port capability! >>> >>> Build with: >>> >>> ./configure --prefix=/usr --enable-pp-build >>> make >>> sudo make install >>> ============ >>> From another user: >>> >>> For HPLIP, I use >>> "./configure --prefix=/usr --sysconfdir=/etc >>> --enable-cups-ppd-install". >>> >>> This is for an HP Envy All-In-One (printer, scanner, copier). There >>> should be >>> no need for parallel port capability. Gutenprint is not needed (I >>> don't know >>> if it may be required for some printer models, but it isn't for me) >>> and there >>> is no need to restart CUPS afterwards. >>> >>> >> >> Still no luck, I always get a 'make' error: >> make: *** [Makefile:6597: cupsext_la-cupsext.lo] Error 1 >> Do you have Python2 installed? I don't, and I'm wondering >> if that could be my problem. >> >> Richard >> > Hi Richard, > > Can you post the error that appears above the 'make' line? That > doesn't really give us much to work with... > > - Doug > > Hi Doug, There isn't much information about the error, but here are the last few lines of 'make': prnt/cupsext/cupsext.c:1174:9: warning: 'ppdPageLength' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1174 | length = ppdPageLength(ppd, page_size->text); | ^~~~~~ /usr/include/cups/ppd.h:391:25: note: declared here 391 | extern float ppdPageLength(ppd_file_t *ppd, const char *name) | ^~~~~~~~~~~~~ prnt/cupsext/cupsext.c: In function 'setOptions': prnt/cupsext/cupsext.c:1503:9: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] 1503 | cupsMarkOptions(ppd, dest->num_options, dest->options); | ^~~~~~~~~~~~~~~ /usr/include/cups/ppd.h:363:25: note: declared here 363 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead."); | ^~~~~~~~~~~~~~~ make: *** [Makefile:6597: cupsext_la-cupsext.lo] Error 1 And since the error refers to line 6597, here is what is in the Makefile starting at line 6596: cupsext_la-cupsext.lo: prnt/cupsext/cupsext.c $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cupsext_la_CFLAGS) $(CFLAGS) -MT cupsext_la-cupsext.lo -MD -MP -MF $(DEPDIR)/cupsext_la-cupsext.Tpo -c -o cupsext_la-cupsext.lo `test -f 'prnt/cupsext/cupsext.c' || echo '$(srcdir)/'`prnt/cupsext/cupsext.c I have tried many different ./configure options, including the ones that Bruce Dubbs used above, and they all give the same error. Richard -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page