Koozali.org: home of the SME Server

Printer & SME 6.5

Offline Chrille

  • *
  • 45
  • +0/-0
Printer & SME 6.5
« on: April 12, 2005, 09:05:56 PM »
Hi All,

One week ago I changed my server at home and at the same time installed 6.0, (also my previous version) got the server working again and after that upgraded to 6.5 RC1. Since I had ordered a new printer I didn't install the old one. Yesterday I got my Canon IP3000 (USB connection) and now I don't know what to do to get my printer to work.
I have tried to add a printer from the server-manager with different settings and when I try to print I see a lot of activities on the LAN but nothing happens. I have the software installed on my clients and I’ve tried to install the printer in windows, I can browse and see the printers in windows, but nothing happens. I have searched the forums but can't see any solution.

I don't now what to do.
Is http://mirror.contribs.org/smeserver/contribs/rvandenaker/beta/e-smith-cups/documentation/howtos/cups-add-printer.html still relevant for 6.5?

Can somebody point me in the right direction?

 :-)

/Chrille

Robert

Printer & SME 6.5
« Reply #1 on: April 13, 2005, 06:12:03 PM »
Since you refer to documentation for CUPS, I assume that's what you use. If you are indeed using CUPS, then things to check for are:
1. Do you still have all the required printing programs installed after the upgrade to SME 6.5? Does the command "which lp" return "/usr/bin/lp"?
2. I believe SME 6.5 uses samba 3, which has somewhat buggy support for CUPS. See http://forums.contribs.org/index.php?topic=25574.0 for a discussion and get a build of e-smith-cups with a workaround from http://mirror.contribs.org/smeserver/contribs/rvandenaker/testing/ .
3. The only version of the cups package that you should be using at this time is 1.1.17-13.3.27.rvda. All other versions, including 1.1.19-8smea1, are obsolete.

Offline Chrille

  • *
  • 45
  • +0/-0
Printer & SME 6.5
« Reply #2 on: May 09, 2005, 10:54:33 PM »
Hi Robert,

I've been away some time and after that I had a friend of mine help me with trying to build a .rpm I did this:

[root@garaget2 home]#  rpm --rebuild cups-1.1.17-13.3.27.rvda.src.rpm Installing cups-1.1.17-13.3.27.rvda.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.58782
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf cups-1.1.17
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/cups-1.1.17-source.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cups-1.1.17
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (cups-1.1.15-initscript.patch):'
Patch #0 (cups-1.1.15-initscript.patch):
+ patch -p1 -b --suffix .noinit -s
+ echo 'Patch #1 (cups-1.1.14-doclink.patch):'
Patch #1 (cups-1.1.14-doclink.patch):
+ patch -p1 -b --suffix .doclink -s
+ echo 'Patch #2 (cups-1.1.16-system-auth.patch):'
Patch #2 (cups-1.1.16-system-auth.patch):
+ patch -p1 -b --suffix .system-auth -s
+ echo 'Patch #3 (cups-1.1.17-backend.patch):'
Patch #3 (cups-1.1.17-backend.patch):
+ patch -p1 -b --suffix .backend -s
+ echo 'Patch #4 (cups-1.1.17-uninit.patch):'
Patch #4 (cups-1.1.17-uninit.patch):
+ patch -p1 -b --suffix .uninit -s
+ echo 'Patch #5 (cups-idefense-v2.patch):'
Patch #5 (cups-idefense-v2.patch):
+ patch -p0 -b --suffix .security -s
+ echo 'Patch #6 (cups-1.1.17-pdftops.patch):'
Patch #6 (cups-1.1.17-pdftops.patch):
+ patch -p1 -b --suffix .pdftops -s
+ echo 'Patch #7 (cups-1.1.17-error.patch):'
Patch #7 (cups-1.1.17-error.patch):
+ patch -p1 -b --suffix .error -s
+ echo 'Patch #8 (cups-1.1.17-rcp.patch):'
Patch #8 (cups-1.1.17-rcp.patch):
+ patch -p1 -b --suffix .rcp -s
+ echo 'Patch #9 (cups-1.1.17-ppdsdat.patch):'
Patch #9 (cups-1.1.17-ppdsdat.patch):
+ patch -p1 -b --suffix .ppdsdat -s
+ echo 'Patch #10 (cups-1.1.17-sigchld.patch):'
Patch #10 (cups-1.1.17-sigchld.patch):
+ patch -p1 -b --suffix .sigchld -s
+ echo 'Patch #11 (cups-1.1.18-str75.patchv2):'
Patch #11 (cups-1.1.18-str75.patchv2):
+ patch -p1 -b --suffix .str75 -s
+ echo 'Patch #12 (cups-1.1.17-sanity.patch):'
Patch #12 (cups-1.1.17-sanity.patch):
+ patch -p1 -b --suffix .sanity -s
+ echo 'Patch #13 (cups-locale.patch):'
Patch #13 (cups-locale.patch):
+ patch -p1 -b --suffix .locale -s
+ echo 'Patch #14 (cups-1.1.17-loop.patch):'
Patch #14 (cups-1.1.17-loop.patch):
+ patch -p1 -b --suffix .loop -s
+ echo 'Patch #15 (cups-multiple.patch):'
Patch #15 (cups-multiple.patch):
+ patch -p1 -b --suffix .multiple -s
+ echo 'Patch #16 (cups-1.1.19-lpstat.patch):'
Patch #16 (cups-1.1.19-lpstat.patch):
+ patch -p1 -b --suffix .lpstat -s
+ echo 'Patch #17 (cups-1.1.17-usb.patch):'
Patch #17 (cups-1.1.17-usb.patch):
+ patch -p1 -b --suffix .usb -s
+ echo 'Patch #18 (cups-encryption.patch):'
Patch #18 (cups-encryption.patch):
+ patch -p1 -b --suffix .encryption -s
+ echo 'Patch #19 (cups-devnull.patch):'
Patch #19 (cups-devnull.patch):
+ patch -p1 -b --suffix .devnull -s
+ echo 'Patch #20 (cups-1.1.17-lpd.patch):'
Patch #20 (cups-1.1.17-lpd.patch):
+ patch -p1 -b --suffix .lpd -s
+ echo 'Patch #21 (cups-str242.patch):'
Patch #21 (cups-str242.patch):
+ patch -p1 -b --suffix .str242 -s
+ echo 'Patch #22 (cups-shutdown.patch):'
Patch #22 (cups-shutdown.patch):
+ patch -p1 -b --suffix .shutdown -s
+ echo 'Patch #23 (cups-zero-len-udp-dos.patch):'
Patch #23 (cups-zero-len-udp-dos.patch):
+ patch -p1 -b --suffix .zero-len-udp-dos -s echo 'Patch #24
+ (cups-str920.patch):'
Patch #24 (cups-str920.patch):
+ patch -p1 -b --suffix .str920 -s
+ echo 'Patch #25 (cups-135378.patch):'
Patch #25 (cups-135378.patch):
+ patch -p1 -b --suffix .135378 -s
+ echo 'Patch #26 (cups-attrs.patch):'
Patch #26 (cups-attrs.patch):
+ patch -p1 -b --suffix .attrs -s
+ echo 'Patch #27 (cups-str1023.patch):'
Patch #27 (cups-str1023.patch):
+ patch -p1 -b --suffix .str1023 -s
+ echo 'Patch #28 (cups-str1024.patch):'
Patch #28 (cups-str1024.patch):
+ patch -p1 -b --suffix .str1024 -s
+ echo 'Patch #29 (cups-idefense.patch):'
Patch #29 (cups-idefense.patch):
+ patch -p1 -b --suffix .idefense -s
+ echo 'Patch #30 (cups-CAN-2005-0064.patch):'
Patch #30 (cups-CAN-2005-0064.patch):
+ patch -p1 -b --suffix .CAN-2005-0064 -s echo 'Patch #99
+ (cups-1.1.17-alnumname.patch):'
Patch #99 (cups-1.1.17-alnumname.patch):
+ patch -p1 -b --suffix .alnumname -s
+ perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
+ perl -pi -e 's,^#(MaxLogSize)\s+0,$1 2000000000,' conf/cupsd.conf.in
+ autoconf
/var/tmp/rpm-tmp.58782: autoconf: command not found
error: Bad exit status from /var/tmp/rpm-tmp.58782 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.58782 (%prep)
[root@garaget2 home]#


=====
As you see there was an error. Could you (or anyone else) please guide me what to do?

Regards,

/Chrille

Robert

Printer & SME 6.5
« Reply #3 on: May 15, 2005, 01:46:54 PM »
Looks like you don't have autoconf installed. The preferred buildhost is a Red Hat 7.3 system with the "software development" task installed. This should include the GNU utilities patch, make, automake, autoconf, aclocal, libtool, the C and C++ compilers from the GNU compiler collection (gcc), and a bunch of standard development libraries. On top of that to compile CUPS optimally you should also have libtiff-devel, libjpeg-devel, and libpng-devel installed.
Also, you should preferably not build as root but as a regular user as explained in section 1 of http://no.longer.valid/phpwiki/index.php/SME%20Server%20interface%20RPM.
You may additionally want to build new i386 rpms for ghostscript, hpijs, and gimp-print.
If you don't have a suitable buildhost yourself, you could post a request on the devinfo mailing list for someone else to build the packages.