LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2004, 04:38 PM   #1
erraticassassin
Member
 
Registered: Feb 2004
Distribution: Slackware 13.1
Posts: 131

Rep: Reputation: 18
Using checkinstall to reinstall CUPS


I've been following the instructions in another thread ( Printing In Slack 9.1 - HowTo ) regarding reinstalling CUPS in order to smooth over printer configuration, but have hit a couple of snags.

1) The previous thread suggested using checkinstall to create a CUPS package and install it. I have downloaded checkinstall from linuxpackages.net and have used it as directed. Partway through the packaging process I get an error message saying "Copying to temporary directories - FAILED!"

If I then follow the process through, install the package that checkinstall creates and try to run CUPS, I get an error message saying 'Child exited - status 2' or something similar. (Apologies for the vagueness, but I was so ticked off I didn't write down the exact message because I was too busy biting through my desk.)

Using removepkg then generates a whole list of messages saying 'deleting empty directory' followed by the directory name, which suggests that the necessary files aren't going where they should... but why?

2) The instructions in the previous thread run along the lines of :

tar -xzvf cups*
cd cups
./configure
make
checkinstall

Having followed these and found that the last step went awry, I decided to try something else and typed 'make install'. Again, lots of nice messages generated - nothing leapt out as being wrong this time around. But again, attempting to start CUPS came up with a similar 'Child exited' message, but with 98 replacing 2.

Presumably I am missing something blindingly obvious, but if someone could point me in the write direction I'd be much obliged.
 
Old 07-07-2004, 04:41 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I don't know if it help but checkinstall need to be run as root, while try to avoid be root when running make, be root just for checkinstall.
 
Old 07-14-2004, 01:05 PM   #3
erraticassassin
Member
 
Registered: Feb 2004
Distribution: Slackware 13.1
Posts: 131

Original Poster
Rep: Reputation: 18
Just in case anyone's been following this thread with bated breath waiting to know the outcome...

Er, checkinstall still doesn't seem to work. Not entirely sure why. Eventually I just gave it up as a bad job and reinstalled CUPS from the original Slack disks and it works fine.

Moral of the story:

1) Don't blindly follow someone else's suggestions without knowing what you're doing, as I have done - your mileage may vary.

2) Don't bl***dy well complicate things when you don't have to!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
Checkinstall in 5.1.1 Kroenecker Linux From Scratch 5 07-13-2004 11:37 AM
checkinstall... marsques Linux - Software 3 05-25-2004 12:56 PM
Using 'checkinstall' gonzalo76 Slackware 20 05-20-2004 06:09 PM
Checkinstall ... durden2.0 Linux - Software 1 07-02-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration