How to install HPLIP on mint 20? Keeps trying to install but stops before setup

Asked by Andrew Borrs on 2020-10-04

How to install HPLIP on mint 20? Keeps trying to install but stops before setup

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2020-10-04
Last reply:
2020-10-20

This question was reopened

shivani mandora (shivani1708) said : #1

What error you are getting?

Andrew Borrs (lstmysock11) said : #2

trying to do a manual install now of hplip-3.12.6 and on the make command I get this.

/bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.12.6\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.12.6\" -DPACKAGE_BUGREPORT=\"3.12.6\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.12.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -I/usr/include/python2.7 -g -O2 -MT cupsext_la-cupsext.lo -MD -MP -MF .deps/cupsext_la-cupsext.Tpo -c -o cupsext_la-cupsext.lo `test -f 'prnt/cupsext/cupsext.c' || echo './'`prnt/cupsext/cupsext.c
libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.12.6\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.12.6\"" -DPACKAGE_BUGREPORT=\"3.12.6\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.12.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -I/usr/include/python2.7 -g -O2 -MT cupsext_la-cupsext.lo -MD -MP -MF .deps/cupsext_la-cupsext.Tpo -c prnt/cupsext/cupsext.c -fPIC -DPIC -o .libs/cupsext_la-cupsext.o
prnt/cupsext/cupsext.c: In function 'getPrinters':
prnt/cupsext/cupsext.c:327:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  327 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c:336:12: error: dereferencing pointer to incomplete type 'ipp_t' {aka 'struct _ipp_s'}
  336 | request->request.op.operation_id = CUPS_GET_PRINTERS;
      | ^~
prnt/cupsext/cupsext.c:381:64: error: dereferencing pointer to incomplete type 'ipp_attribute_t' {aka 'struct _ipp_attribute_s'}
  381 | for ( attr = response->attrs; attr != NULL; attr = attr->next )
      | ^~
prnt/cupsext/cupsext.c: In function 'addPrinter':
prnt/cupsext/cupsext.c:514:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  514 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'delPrinter':
prnt/cupsext/cupsext.c:618:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  618 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'setDefaultPrinter':
prnt/cupsext/cupsext.c:706:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  706 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'controlPrinter':
prnt/cupsext/cupsext.c:793:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
  793 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'getPPDList':
prnt/cupsext/cupsext.c:1112:5: warning: 'httpConnectEncrypt' is deprecated: Use httpConnect2 instead. [-Wdeprecated-declarations]
 1112 | if ( ( http = httpConnectEncrypt( cupsServer(), ippPort(), cupsEncryption() ) ) == NULL )
      | ^~
In file included from /usr/include/cups/ipp.h:18,
                 from /usr/include/cups/cups.h:27,
                 from prnt/cupsext/cupsext.c:79:
/usr/include/cups/http.h:458:17: note: declared here
  458 | extern http_t *httpConnectEncrypt(const char *host, int port, http_encryption_t encryption) _CUPS_DEPRECATED_1_7_MSG("Use httpConnect2 instead.");
      | ^~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'openPPD':
prnt/cupsext/cupsext.c:1225:5: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1225 | if ( ( g_ppd_file = cupsGetPPD( ( const char * ) printer ) ) == NULL )
      | ^~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:358:20: note: declared here
  358 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~~~
prnt/cupsext/cupsext.c:1237:5: warning: 'ppdOpen' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1237 | ppd = ppdOpen( file );
      | ^~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:387:20: note: declared here
  387 | extern ppd_file_t *ppdOpen(FILE *fp) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~
prnt/cupsext/cupsext.c:1238:5: warning: 'ppdLocalize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1238 | ppdLocalize( ppd );
      | ^~~~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:434:13: note: declared here
  434 | extern int ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~~~~
prnt/cupsext/cupsext.c:1253:5: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1253 | ppdMarkDefaults( ppd );
      | ^~~~~~~~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:384:14: note: declared here
  384 | extern void ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c:1254:5: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1254 | cupsMarkOptions( ppd, dest->num_options, dest->options );
      | ^~~~~~~~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:362:13: note: declared here
  362 | extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'closePPD':
prnt/cupsext/cupsext.c:1273:9: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1273 | ppdClose( ppd );
      | ^~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:364:14: note: declared here
  364 | extern void ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~
prnt/cupsext/cupsext.c: In function 'getPPD':
prnt/cupsext/cupsext.c:1293:5: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1293 | ppd_file = cupsGetPPD( ( const char * ) printer );
      | ^~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:358:20: note: declared here
  358 | extern const char *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
      | ^~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'getPPDOption':
prnt/cupsext/cupsext.c:1312:9: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1312 | marked_choice = ppdFindMarkedChoice( ppd, option );
      | ^~~~~~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:377:22: note: declared here
  377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
      | ^~~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'findPPDAttribute':
prnt/cupsext/cupsext.c:1342:3: warning: 'ppdFindAttr' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1342 | ppd_attr = ppdFindAttr(ppd, name, spec );
      | ^~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:399:20: note: declared here
  399 | extern ppd_attr_t *ppdFindAttr(ppd_file_t *ppd, const char *name,
      | ^~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'getPPDPageSize':
prnt/cupsext/cupsext.c:1369:9: warning: 'ppdFindMarkedChoice' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1369 | page_size = ppdFindMarkedChoice( ppd, "PageSize" );
      | ^~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:377:22: note: declared here
  377 | extern ppd_choice_t *ppdFindMarkedChoice(ppd_file_t *ppd,
      | ^~~~~~~~~~~~~~~~~~~
prnt/cupsext/cupsext.c:1377:9: warning: 'ppdPageSize' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1377 | size = ppdPageSize( ppd, page_size->text );
      | ^~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:392:20: note: declared here
  392 | extern ppd_size_t *ppdPageSize(ppd_file_t *ppd, const char *name)
      | ^~~~~~~~~~~
prnt/cupsext/cupsext.c:1385:9: warning: 'ppdPageWidth' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1385 | width = ppdPageWidth( ppd, page_size->text );
      | ^~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:394:15: note: declared here
  394 | extern float ppdPageWidth(ppd_file_t *ppd, const char *name)
      | ^~~~~~~~~~~~
prnt/cupsext/cupsext.c:1386:9: warning: 'ppdPageLength' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1386 | length = ppdPageLength( ppd, page_size->text );
      | ^~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:390:15: note: declared here
  390 | extern float ppdPageLength(ppd_file_t *ppd, const char *name)
      | ^~~~~~~~~~~~~
prnt/cupsext/cupsext.c: In function 'setOptions':
prnt/cupsext/cupsext.c:1713:9: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations]
 1713 | cupsMarkOptions( ppd, dest->num_options, dest->options );
      | ^~~~~~~~~~~~~~~
In file included from prnt/cupsext/cupsext.c:81:
/usr/include/cups/ppd.h:362:13: note: declared here
  362 | 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:5678: cupsext_la-cupsext.lo] Error 1
andrew@andrew-MS-7C37:~/hplip-3.12.6$

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.