FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
why are you building cups ???
it is installed by default !
and if for some reason it is not ( removed from the default install )
you the code above
"yum install cups"
you also need to be root to use the "system config printer" Gnome GUI
as a normal user launch it
Then a pop up window will ask for the root password
if you are using the root login to the gui hack that program will not work
the password pop-up will not show
no Josh,
following your link was the first thing i did:
[CODE]
Compile:
$ make
Get extra files from the web, such as .ICM profiles for color correction,
and firmware. Select the model number for your printer:
$ ./getweb P1005 # Get HP LaserJet P1005 firmware file
$ ./getweb P1006 # Get HP LaserJet P1006 firmware file
$ ./getweb P1007 # Get HP LaserJet P1007 firmware file
$ ./getweb P1008 # Get HP LaserJet P1008 firmware file
$ ./getweb P1505 # Get HP LaserJet P1505 firmware file
Install driver, foomatic XML files, and extra files:
$ su OR $ sudo make install
# make install
(Optional) Configure hotplug (USB; HP LJ P1005/P1006/P1007/P1008/P1505):
# make install-hotplug OR $ sudo make install-hotplug
(Optional) If you use CUPS, restart the spooler:
# make cups OR $ sudo make cups
[\CODE]
last step, "make cups", fails.
[CODE]
if [ -x /etc/init.d/cups ]; then \
/etc/init.d/cups restart; \
elif [ -x /etc/rc.d/rc.cups ]; then \
/etc/rc.d/rc.cups restart; \
elif [ -x /etc/init.d/cupsys ]; then \
/etc/init.d/cupsys restart; \
elif [ -x /etc/init.d/cupsd ]; then \
/etc/init.d/cupsd restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh ]; then \
/usr/local/etc/rc.d/cups.sh restart; \
elif [ -x /usr/local/etc/rc.d/cups.sh.sample ]; then \
cp /usr/local/etc/rc.d/cups.sh.sample /usr/local/etc/rc.d/cups.sh; \
/usr/local/etc/rc.d/cups.sh restart; \
fi
Stopping cups: [FAILED]
Starting cups: [FAILED]
make: *** [cups] Error 1
Stop building cups and just install it the yum way. Then, install hplip and hplip-gui. You can then add your printer using the system config printer thing in the system menu and go to the hp gui program in the system menu. One of the options will be to "Install Printer Driver". You should click this and follow instructions. Then you should click "Download Firmware" and the printer should make noise. You are finished.
sorry guys, i was out of town and didn't solved this issue :-(
in fact, cups was installed in the yum way but doesnt start (system-admin-services---->cups)
i also installed hplip, but setup process fails:
Code:
/usr/bin/hp-setup&
[1] 24875
[root@duke8814 foo2zjs]#
HP Linux Imaging and Printing System (ver. 3.10.9)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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.
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
[1]+ Aborted (core dumped) /usr/bin/hp-setup
when i use system-config-printer, the "add" button continuous disabled (gray color), so no printers are available to be installled
with fedora you DO NEED to be root to edit the printer
but from the gnome gui a pop up asking for the root password should pop up
also from the recomended web interface a user name/ password pop up will show
use 'root" and your root password http://localhost:631
then tell firefox to remember it .
[root@duke8814 duke3214]# lsusb
Bus 002 Device 004: ID 03f0:3e17 Hewlett-Packard LaserJet P1006
Bus 002 Device 003: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler
Bus 001 Device 003: ID 0458:0708 KYE Systems Corp. (Mouse Systems)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code:
the hosts table:
[root@duke8814 duke3214]# cat /etc/hosts
192.168.0.2 duke8814 # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost localhost4
::1 duke8814 localhost6.localdomain6 localhost6
but daemond seems to be up:
[root@duke8814 duke3214]# netstat -nl | grep 631
[root@duke8814 duke3214]# lsof -i :631
but, rc.cups doesnt exist:
[root@duke8814 rc.d]# ls /etc/rc.d/rc.cups -la
ls: cannot access /etc/rc.d/rc.cups: No such file or directory
Can you verify that you have the cups service running? And if anything, nmap localhost and see if there are any ports being opened for cups. That's what I would do just to rule out a bad port number or whatever.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.