Gå til innhold

Installering av HP deskjet i linux (slackware 12)


Anbefalte innlegg

Hey, fått koblet til hp deskjet 895cxi og har installert cups, når jeg prøver og installer hplip.

 

får jeg dette, etter at jeg har skrevet make install

 

 /bin/sh ./libtool --mode=install /usr/bin/ginstall -c  'hpmudext.la' '/usr/lib/python2.5/site-packages/hpmudext.la'
libtool: install: error: cannot install `hpmudext.la' to a directory not ending in /usr/local/lib/python2.5/site-packages
make[1]: *** [install-hpmudextLTLIBRARIES] Error 1
make[1]: Leaving directory `/root/hplip-2.7.6'
make: *** [install-am] Error 2

 

hva kan være feil?

 

 

EDIT:

 

skriver ./hp fra installasjons mappa:

root@tuxbox:~/hplip-2.7.6# ./hp
direct hp:/usb/DeskJet_895C?serial=MY96J1B0V8FB "HP DeskJet 895C" "HP DeskJet 895C USB MY96J1B0V8FB HPLIP" "MFG:HP;MDL:DeskJet 895C;CLS:PRINTER;DES:DeskJet 895C;SN:MY96J1B0V8FB;"

 

lsusb:

root@tuxbox:~/hplip-2.7.6# lsusb
Bus 1 Device 3: ID 058f:9254 Alcor Micro Corp. Hub
Bus 1 Device 2: ID 03f0:0004 Hewlett-Packard DeskJet 895c
Bus 1 Device 1: ID 0000:0000

 

og den feilen jeg får når jeg prøver og kjørenoe som helst, som hp-info eller hp-print og de kommandoene der:

 

root@tuxbox:~/hplip-2.7.6# hp-info
error: HPMUDEXT could not be loaded. Please check HPLIP installation.

Endret av m-momr
Lenke til kommentar
Videoannonse
Annonse

da har jeg fjerna hplip med make uninstall fra installasjons mappen, og installert fra slackware cd'en

                                      ┌─────────Installing package ==>hplip-1.7.4a-i486-2<== [required]────────────┐
                                      │ hplip (HP print/scan/fax support)                                          │
                                      │                                                                            │
                                      │ HPLIP is an HP developed solution for printing, scanning, and faxing       │
                                      │ with HP inkjet and laser based printers in Linux.                          │
                                      │                                                                            │
                                      │ The HPLIP project provides printing support for more than 1000 printer     │
                                      │ models, including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),   │
                                      │ Business Inkjet, LaserJet, and LaserJet MFP.                               │
                                      │                                                                            │
                                      │ For more information, see:  http://hplip.sf.net                            │
                                      │                                                                            │
                                      │                                                                            │
                                      │ Size: Compressed: 13829 K, uncompressed: 19060 K.                          │
                                      └────────────────────────────────────────────────────────────────────────────┘

Done installing packages.

 

så prøver jeg hp-info:

 

error: HPMUDEXT could not be loaded. Please check HPLIP installation.

Endret av m-momr
Lenke til kommentar

dette kommer med hp-check:

 

Klikk for å se/fjerne innholdet nedenfor
root@tuxbox:~# hp-check

HP Linux Imaging and Printing System (ver. 1.7.4a)
Dependency/Version Check Utility ver. 8.0

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Initializing. Please wait...                                    Saving output in                                                                               log file: hp-check.log

---------------
| SYSTEM INFO |
---------------

Basic system information:                                                      L                                                                              inux tuxbox 2.6.21.5-smp #2 SMP Tue Jun 19 14:58:11 CDT 2007 i686 Pentium III (C                                                                              oppermine) GenuineIntel GNU/Linux

Distribution:
unknown 0.0

HPOJ running?                                                                  N                                                                              o, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.1 installed

Checking PyQt version...
error: Not found!

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...                                                           S                                                                              tatus: scheduler is running                                                    V                                                                              ersion: 1.3rc2

----------------
| DEPENDENCIES |
----------------

Checking for dependency cups - Common Unix Printing System...                  O                                                                              K, found.

Checking for dependency cups-devel- Common Unix Printing System development file                                                                              s...
OK, found.

Checking for dependency gcc - GNU Project C and C++ Compiler...               OK                                                                              , found.

Checking for dependency GhostScript - PostScript and PDF language interpreter an                                                                              d previewer...                                                                 O                                                                              K, found.

Checking for dependency libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency libjpeg - JPEG library...
OK, found.

Checking for dependency libnetsnmp-devel - SNMP networking library development f                                                                              iles...
OK, found.

Checking for dependency libpthread - POSIX threads library...
OK, found.

Checking for dependency libusb - USB library...                                O                                                                              K, found.

Checking for dependency make - GNU make utility to maintain groups of programs..                                                                              .                                                                              O                                                                              K, found.

Checking for dependency ppdev - Parallel port support kernel module....
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may                                                                               not function properly.

Checking for dependency PyQt - Qt interface for Python...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this depe                                                                              ndency is installed before installing or running HPLIP.

Checking for dependency python-devel - Python development files...
OK, found.

Checking for dependency Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.

Checking for dependency sane - Scanning library...
OK, found.

Checking for dependency sane-devel - Scanning library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency scanimage - Shell scanning program...                                                                                                OK, found.

Checking for dependency xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL dependency. Some HPLIP functionality may not function properly.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 1.7.4a currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf

[hpiod]
# port=0 (dynamic IP port)
port=2208
[hpssd]
# port=0 (dynamic IP port)
port=2207

[hplip]
version=1.7.4a
jdprobe=0

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-1.7.4a

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=1
pp-build=1
gui-build=1
scanner-build=1
fax-build=1
cups11-build=0
installinitd=
chkconfig=
internal-tag=1.7.4.13


----------------------
| INSTALLED PRINTERS |
----------------------

warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
error: NOT FOUND! Please reinstall HPLIP and check for the proper installation of hpmudext.

Checking 'scanext' SANE scanning extension...
error: NOT FOUND! Please reinstall HPLIP and check for the proper installation of scanext.

-----------------
| USB I/O SETUP |
-----------------

Checking proper HPLIP I/O setup (USB I/O only)...

Is user 'marius' a member of the 'lp' group?
warning: NO (HPLIP USB I/O users must be member of 'lp' group)
note: This may not be a problem if this user will not be printing using HPLIP USB I/O.


-----------
| SUMMARY |
-----------

error: 10 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

root@tuxbox:~#

Lenke til kommentar

root@tuxbox:~/PyQt-x11-gpl-3.17.3# python configure.py
This is the GPL version of PyQt 3.17.3 (licensed under the GNU General Public
License) for Python 2.5.1 on linux2.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? y
Do you accept the terms of the license? yes
qextscintillaglobal.h could not be found in /usr/lib/qt/include and so the
qtext module will not be built. If QScintilla is installed then use the -n
argument to explicitly specify the correct directory.
Checking to see if the qtcanvas module should be built...
Checking to see if the qtnetwork module should be built...
Checking to see if the qttable module should be built...
Checking to see if the qtxml module should be built...
Checking to see if the qtgl module should be built...
Checking to see if the qtui module should be built...
Checking to see if the qtsql module should be built...
Checking to see if the QAssistantClient class is available...
Creating features file...
Error: Unable to build mkfeatures utility.
root@tuxbox:~/PyQt-x11-gpl-3.17.3#

 

hplip krever ørten forskjellige dep. hvorfor fixer ikke pkgtool det?

 

når jeg har fjernet hplip med make uninstall fra installsjons mappa til hplip og fjerner alt med pkgtool hvorfor fungere da fortsatt hp-* kommandoene?

 

og hvorfor er det sånn at når jeg prøver og installere en dep. så krever den en annen dep. og når jeg installerer den, krever den en annen, som ikke kan installeres fordi den krever den dep. som jeg prøver og installere i første omgang?

 

 

EDIT: ERROR-ERROR-ERROR-ERROR-ERROR-ERROR-ERROR-ERROR

Endret av m-momr
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...