You need to install "pthread". On Ubuntu, run:
$ sudo apt-get install build-essential
Have you tried running the installer and/or the check utility?
$ python ./check.py
or
$ python ./install.py
-Don
On 5/24/07, M. Belén Cabrera <[EMAIL PROTECTED]> wrote:
hi,
i got this error when i'm trying to install hplip-1.7.4a :
"error: 'make' command failed with status code 2"
then i do
[EMAIL PROTECTED]:~/hplip-1.7.4a$ sudo make
Making all in .
make[1]: se ingresa al directorio `/home/bel/hplip- 1.7.4a'
if g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\"
-DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"1.7.4a\"
-DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 1.7.4a\"
-DPACKAGE_BUGREPORT=\"1.7.4.13\" -DPACKAGE=\"hplip\" -DVERSION=\"1.7.4a\"
-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 -DHAVE_LIBPTHREAD=1
-DHAVE_LIBCRYPTO=1 -DHAVE_LIBUSB=1 -DHAVE_LIBCUPS=1 -DHAVE_LIBM=1
-DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1
-DHAVE_PYTHON2_5_PYTHON_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_USB_H=1
-DHAVE_LIBSNMP=1 -I. -I. -Iip -Iapi -g -O2 -MT hpiod.o -MD -MP -MF
".deps/hpiod.Tpo" -c -o hpiod.o `test -f 'io/hpiod/hpiod.cpp' || echo
'./'`io/hpiod/hpiod.cpp; \
then mv -f ".deps/hpiod.Tpo" ".deps/hpiod.Po"; else rm -f
".deps/hpiod.Tpo"; exit 1; fi
/usr/include/pthread.h:285: error: declaraciones de 'typedef struct
pthread_st* pthread_t' en conflicto
/usr/include/bits/pthreadtypes.h:36: error: 'pthread_t' tiene una
declaración previa como 'typedef long unsigned int pthread_t'
/usr/include/pthread.h:286: error: declaraciones de 'typedef struct
pthread_attr_st* pthread_attr_t' en conflicto
/usr/include/bits/pthreadtypes.h:43: error: 'pthread_attr_t' tiene una
declaración previa como 'typedef union pthread_attr_t pthread_attr_t'
/usr/include/pthread.h:287: error: declaraciones de 'typedef int
pthread_key_t' en conflicto
/usr/include/bits/pthreadtypes.h:109: error: 'pthread_key_t' tiene una
declaración previa como 'typedef unsigned int pthread_key_t'
/usr/include/pthread.h:289: error: declaraciones de 'typedef int
pthread_mutexattr_t' en conflicto
/usr/include/bits/pthreadtypes.h:79: error: 'pthread_mutexattr_t' tiene
una declaración previa como 'typedef union pthread_mutexattr_t
pthread_mutexattr_t'
/usr/include/pthread.h:290: error: declaraciones de 'typedef struct
pthread_mutex_st* pthread_mutex_t' en conflicto
/usr/include/bits/pthreadtypes.h:73: error: 'pthread_mutex_t' tiene una
declaración previa como 'typedef union pthread_mutex_t pthread_mutex_t'
/usr/include/pthread.h:291: error: declaraciones de 'typedef int
pthread_condattr_t' en conflicto
/usr/include/bits/pthreadtypes.h:105: error: 'pthread_condattr_t' tiene
una declaración previa como 'typedef union pthread_condattr_t
pthread_condattr_t'
/usr/include/pthread.h:292: error: declaraciones de 'typedef struct
pthread_cond_st* pthread_cond_t' en conflicto
/usr/include/bits/pthreadtypes.h:99: error: 'pthread_cond_t' tiene una
declaración previa como 'typedef union pthread_cond_t pthread_cond_t'
/usr/include/pthread.h:293: error: declaraciones de 'typedef int
pthread_rwlockattr_t' en conflicto
/usr/include/bits/pthreadtypes.h:142: error: 'pthread_rwlockattr_t' tiene
una declaración previa como 'typedef union pthread_rwlockattr_t
pthread_rwlockattr_t'
/usr/include/pthread.h:294: error: declaraciones de 'typedef struct
pthread_rwlock_st* pthread_rwlock_t' en conflicto
/usr/include/bits/pthreadtypes.h:136: error: 'pthread_rwlock_t' tiene una
declaración previa como 'typedef union pthread_rwlock_t pthread_rwlock_t'
make[1]: *** [hpiod.o] Error 1
make[1]: se sale del directorio `/home/bel/hplip-1.7.4a'
make: *** [all-recursive] Error 1
i use ubuntu 7.04, my printer is a HP PSC 1210.
thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help