Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printer problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tskuzzy
n00b
n00b


Joined: 13 Aug 2008
Posts: 70

PostPosted: Sun Nov 16, 2008 2:02 am    Post subject: Printer problem Reply with quote

I'm trying to get my printer to work with Gentoo, but I keep getting errors. I followed the instructions here: http://www.gentoo.org/doc/en/printing-howto.xml
My printer is a USB port, HP Photosmart 7760.

I followed all the directions correctly (to my knowledge), yet when I print a test page from the CUPS printer administration page, I get the following error:
Code:
/usr/libexec/cups/filter/foomatic-rip failed


I then tried to work-around this problem (since I couldn't find a good solution on the internet) by using the HPLIP driver: http://www.gentoo.org/doc/en/printing-howto.xml#hplip
Unfortunately, I get a package block when emerging hplip:
Code:
# emerge -vp hplip

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/xv-3.10a-r15  USE="jpeg png tiff" 3,539 kB
[ebuild  N    ] dev-python/sip-4.7.3  USE="-debug" 436 kB           
[ebuild  N    ] dev-python/ctypes-1.0.1-r1  USE="-doc" 376 kB       
[ebuild  N    ] dev-python/dbus-python-0.82.4  USE="-test" 463 kB   
[ebuild  N    ] dev-python/imaging-1.1.5  USE="X scanner -doc -tk" 420 kB
[ebuild  N    ] media-gfx/xsane-0.995  USE="gimp jpeg nls png tiff -lcms" 3,231 kB
[ebuild  N    ] x11-libs/qscintilla-2.1-r1  USE="examples python qt4 -debug -doc" 1,824 kB
[ebuild  N    ] dev-python/PyQt-3.17.4  USE="examples -debug -doc" 786 kB                 
[ebuild  N    ] net-print/hplip-2.8.7  USE="dbus gtk ppds qt3 qt4 scanner -cupsddk -doc -fax -minimal -parport -snmp" 10,752 kB
[ebuild     UD] x11-libs/qt-4.3.3 [4.4.1] USE="accessibility%* cups%* dbus%* examples%* gif%* jpeg%* opengl png%* qt3support ssl%* tiff%* zlib%* -debug% -doc% (-firebird) -glib% -mng% -mysql% -nas% -nis% -odbc% -pch% -postgres% -sqlite% -sqlite3% -xinerama%" INPUT_DEVICES="-wacom%" 41,350 kB                                                                                                                 
[ebuild  N    ] dev-python/PyQt4-4.3.3  USE="examples -debug -doc" 6,047 kB                                                                                                                               
[ebuild  N    ] dev-python/qscintilla-python-2.1  USE="qt4" 0 kB                                                                                                                                           
[uninstall    ] x11-libs/qt-xmlpatterns-4.4.1  USE="-debug -pch"                                                                                                                                           
[uninstall    ] x11-libs/qt-assistant-4.4.1  USE="-debug -pch"                                                                                                                                             
[blocks b     ] <=x11-libs/qt-4.4.0_alpha:4 ("<=x11-libs/qt-4.4.0_alpha:4" is blocking x11-libs/qt-dbus-4.4.1, x11-libs/qt-script-4.4.1, x11-libs/qt-qt3support-4.4.1, x11-libs/qt-core-4.4.1-r1, x11-libs/qt-assistant-4.4.1, x11-libs/qt-gui-4.4.1, x11-libs/qt-sql-4.4.1, x11-libs/qt-xmlpatterns-4.4.1, x11-libs/qt-test-4.4.1, x11-libs/qt-svg-4.4.1, x11-libs/qt-opengl-4.4.1, x11-libs/qt-webkit-4.4.1)       
[blocks B     ] x11-libs/qt-core ("x11-libs/qt-core" is blocking x11-libs/qt-4.3.3)                                                                                                                       
[blocks B     ] <=x11-libs/qt-4.4.0_alpha:4 ("<=x11-libs/qt-4.4.0_alpha:4" is blocking x11-libs/qt-dbus-4.4.1, x11-libs/qt-script-4.4.1, x11-libs/qt-qt3support-4.4.1, x11-libs/qt-core-4.4.1-r1, x11-libs/qt-assistant-4.4.1, x11-libs/qt-gui-4.4.1, x11-libs/qt-sql-4.4.1, x11-libs/qt-xmlpatterns-4.4.1, x11-libs/qt-test-4.4.1, x11-libs/qt-svg-4.4.1, x11-libs/qt-opengl-4.4.1, x11-libs/qt-webkit-4.4.1)       

Total: 12 packages (1 downgrade, 11 new, 2 uninstalls), Size of downloads: 69,218 kB
Conflict: 3 blocks (2 unsatisfied)


Suggestions?
Back to top
View user's profile Send private message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Sun Nov 16, 2008 2:15 am    Post subject: Reply with quote

1. I suggest installing hplip with "-qt3" (with qt3 it looks ugly and at least on gnome the tray icon is not in the tray, while with qt4 it works great)
2. You need to check what package needs such a weird version of qt. Run 'equery depends qt' and post the output.

BTW I'm using hplip with a HP DJ6940 over ethernet and it works better then with the windows driver.
Back to top
View user's profile Send private message
tskuzzy
n00b
n00b


Joined: 13 Aug 2008
Posts: 70

PostPosted: Sun Nov 16, 2008 3:20 am    Post subject: Reply with quote

Ok:
Code:
# USE="-qt3" emerge -vp hplip

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/xv-3.10a-r15  USE="jpeg png tiff" 3,539 kB
[ebuild  N    ] dev-python/sip-4.7.3  USE="-debug" 436 kB           
[ebuild  N    ] dev-python/dbus-python-0.82.4  USE="-test" 463 kB   
[ebuild  N    ] dev-python/imaging-1.1.5  USE="X scanner -doc -tk" 420 kB
[ebuild  N    ] media-gfx/xsane-0.995  USE="gimp jpeg nls png tiff -lcms" 3,231 kB
[ebuild     UD] x11-libs/qt-4.3.3 [4.4.1] USE="accessibility%* cups%* dbus%* examples%* gif%* jpeg%* opengl png%* qt3support ssl%* tiff%* zlib%* -debug% -doc% (-firebird) -glib% -mng% -mysql% -nas% -nis% -odbc% -pch% -postgres% -sqlite% -sqlite3% -xinerama%" INPUT_DEVICES="-wacom%" 41,350 kB                                                                                                                 
[ebuild  N    ] dev-python/PyQt4-4.3.3  USE="examples -debug -doc" 6,047 kB                                                                                                                               
[ebuild  N    ] net-print/hplip-2.8.7  USE="dbus gtk ppds qt4 scanner -cupsddk -doc -fax -minimal -parport -qt3 -snmp" 10,752 kB                                                                           
[uninstall    ] x11-libs/qt-xmlpatterns-4.4.1  USE="-debug -pch"                                                                                                                                           
[uninstall    ] x11-libs/qt-assistant-4.4.1  USE="-debug -pch"                                                                                                                                             
[blocks b     ] <=x11-libs/qt-4.4.0_alpha:4 ("<=x11-libs/qt-4.4.0_alpha:4" is blocking x11-libs/qt-dbus-4.4.1, x11-libs/qt-script-4.4.1, x11-libs/qt-qt3support-4.4.1, x11-libs/qt-core-4.4.1-r1, x11-libs/qt-assistant-4.4.1, x11-libs/qt-gui-4.4.1, x11-libs/qt-sql-4.4.1, x11-libs/qt-xmlpatterns-4.4.1, x11-libs/qt-test-4.4.1, x11-libs/qt-svg-4.4.1, x11-libs/qt-opengl-4.4.1, x11-libs/qt-webkit-4.4.1)       
[blocks B     ] x11-libs/qt-core ("x11-libs/qt-core" is blocking x11-libs/qt-4.3.3)                                                                                                                       
[blocks B     ] <=x11-libs/qt-4.4.0_alpha:4 ("<=x11-libs/qt-4.4.0_alpha:4" is blocking x11-libs/qt-dbus-4.4.1, x11-libs/qt-script-4.4.1, x11-libs/qt-qt3support-4.4.1, x11-libs/qt-core-4.4.1-r1, x11-libs/qt-assistant-4.4.1, x11-libs/qt-gui-4.4.1, x11-libs/qt-sql-4.4.1, x11-libs/qt-xmlpatterns-4.4.1, x11-libs/qt-test-4.4.1, x11-libs/qt-svg-4.4.1, x11-libs/qt-opengl-4.4.1, x11-libs/qt-webkit-4.4.1)       

Total: 8 packages (1 downgrade, 7 new, 2 uninstalls), Size of downloads: 66,234 kB
Conflict: 3 blocks (2 unsatisfied)


And:
Code:
# equery depends qt
/usr/lib/portage/pym/portage_util.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_util module was replaced by portage.util
/usr/lib/portage/pym/portage_checksum.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_checksum module was replaced by portage.checksum
/usr/lib/portage/pym/output.py:39: DeprecationWarning: DEPRECATION NOTICE: The output module was replaced by portage.output
[ Searching for packages depending on qt... ]
app-crypt/pinentry-0.7.5 (qt3? x11-libs/qt:3)
app-crypt/qca-2.0.1 (>=x11-libs/qt-4.2.0:4)
app-emulation/virtualbox-ose-1.6.4 (!headless? x11-libs/qt:3)
app-i18n/scim-qtimm-0.9.4 (x11-libs/qt:3)
app-office/koffice-1.6.3-r2 (=x11-libs/qt-3*)
app-text/djvu-3.5.21 (qt3? x11-libs/qt:3)
app-text/poppler-bindings-0.10.0-r1 (qt3? >=x11-libs/qt-3.3:3)
                                    (qt4? >=x11-libs/qt-4.3:4)
dev-libs/dbus-qt3-old-0.70 (=x11-libs/qt-3*)
dev-util/cmake-2.6.1 (qt4? >=x11-libs/qt-4.3:4)
kde-base/arts-3.5.9 (x11-libs/qt:3)
kde-base/kdelibs-3.5.9-r4 (>=x11-libs/qt-3.3.3:3)
kde-base/kwin-3.5.9-r1 (=x11-libs/qt-3*)
kde-base/qimageblitz-0.0.4 (>=x11-libs/qt-4.2.0:4)
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Nov 16, 2008 11:51 am    Post subject: Reply with quote

Verify if you have ghostscript-gpl installed, in this case you can try to substitute it with ghostscript-esp.

An also better way to proper remove the qt3 is set the global use flags to "qt4 qt3supoort -qt3" (warn, verify if i have wrtote the use correctly and it require a long rebuild operation if you use a kde-based system).
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum