LinuxQuestions.org
Help answer threads with 0 replies.
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-30-2013, 06:16 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 281

Rep: Reputation: 16
Slackware- cups


I was trying to installed cups 1.7 from and I did the following:

Code:
./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var -mandir=/usr/man --infodir=/usr/info --docdir=/usr/doc/cups-1.7rc1 --build=i686-slackware-linux CFLAGS="-O2 -march=i486 -mtune=i686" CXXFLAGS="-O2 -march=i686 -mtune=i686"

make

make check (did run until the end as I did as root)

mkdir /tmp/cups17

make install DESTDIR=/tmp/cups17

when I went to folder its enty, :-(
make install DESTDIR=/tmp/cups17 gives:

Code:
Making all in cups...
Installing data files in cups...
Installing data files in test...
Installing sample ipptool files in /usr/share/cups/ipptool...
Installing data files in filter...
Installing data files in backend...
Installing data files in berkeley...
Installing data files in cgi-bin...
Installing data files in monitor...
Installing data files in notifier...
Installing data files in ppdc...
Installing data files in scheduler...
Creating /usr/lib/cups/driver...
Creating /etc/cups...
Creating /etc/cups/interfaces...
Creating /etc/cups/ppd...
Creating /etc/cups/ssl...
Creating /var/run/cups...
Creating /var/run/cups/certs...
Creating /var/log/cups...
Creating /var/spool/cups...
Creating /var/spool/cups/tmp...
Creating /var/cache/cups...
Installing init scripts...
Installing data files in systemv...
Installing data files in conf...
Installing data files in data...
Installing data files in desktop...
Installing cups.conf in /etc/dbus-1...
Installing desktop menu...
Installing desktop icons...
Installing data files in locale...
Installing data files in man...
Converting man pages to HTML...
    cancel.1.gz...
    cups-config.1.gz...
    cupstestdsc.1.gz...
    cupstestppd.1.gz...
    ipptool.1.gz...
    lp.1.gz...
    lpoptions.1.gz...
    lppasswd.1.gz...
    lpq.1.gz...
    lprm.1.gz...
    lpr.1.gz...
    lpstat.1.gz...
    ppdc.1.gz...
    ppdhtml.1.gz...
    ppdi.1.gz...
    ppdmerge.1.gz...
    ppdpo.1.gz...
    classes.conf.5.gz...
    client.conf.5.gz...
    cups-files.conf.5.gz...
    cups-snmp.conf.5.gz...
    cupsd.conf.5.gz...
    ipptoolfile.5.gz...
    mailto.conf.5.gz...
    mime.convs.5.gz...
    mime.types.5.gz...
    ppdcfile.5.gz...
    printers.conf.5.gz...
    subscriptions.conf.5.gz...
    backend.7.gz...
    filter.7.gz...
    notifier.7.gz...
    cupsaccept.8.gz...
    cupsaddsmb.8.gz...
    cupsctl.8.gz...
    cupsfilter.8.gz...
    cups-deviced.8.gz...
    cups-driverd.8.gz...
    cups-lpd.8.gz...
    cups-snmp.8.gz...
    cupsd.8.gz...
    cupsenable.8.gz...
    lpadmin.8.gz...
    lpinfo.8.gz...
    lpmove.8.gz...
    lpc.8.gz...
Installing cancel.1.gz in /usr/man/man1...
Installing cups-config.1.gz in /usr/man/man1...
Installing cupstestdsc.1.gz in /usr/man/man1...
Installing cupstestppd.1.gz in /usr/man/man1...
Installing ipptool.1.gz in /usr/man/man1...
Installing lp.1.gz in /usr/man/man1...
Installing lpoptions.1.gz in /usr/man/man1...
Installing lppasswd.1.gz in /usr/man/man1...
Installing lpq.1.gz in /usr/man/man1...
Installing lprm.1.gz in /usr/man/man1...
Installing lpr.1.gz in /usr/man/man1...
Installing lpstat.1.gz in /usr/man/man1...
Installing ppdc.1.gz in /usr/man/man1...
Installing ppdhtml.1.gz in /usr/man/man1...
Installing ppdi.1.gz in /usr/man/man1...
Installing ppdmerge.1.gz in /usr/man/man1...
Installing ppdpo.1.gz in /usr/man/man1...
Installing classes.conf.5.gz in /usr/man/man5...
Installing client.conf.5.gz in /usr/man/man5...
Installing cups-files.conf.5.gz in /usr/man/man5...
Installing cups-snmp.conf.5.gz in /usr/man/man5...
Installing cupsd.conf.5.gz in /usr/man/man5...
Installing ipptoolfile.5.gz in /usr/man/man5...
Installing mailto.conf.5.gz in /usr/man/man5...
Installing mime.convs.5.gz in /usr/man/man5...
Installing mime.types.5.gz in /usr/man/man5...
Installing ppdcfile.5.gz in /usr/man/man5...
Installing printers.conf.5.gz in /usr/man/man5...
Installing subscriptions.conf.5.gz in /usr/man/man5...
Installing backend.7.gz in /usr/man/man7...
Installing filter.7.gz in /usr/man/man7...
Installing notifier.7.gz in /usr/man/man7...
Installing cupsaccept.8.gz in /usr/man/man8...
Installing cupsaddsmb.8.gz in /usr/man/man8...
Installing cupsctl.8.gz in /usr/man/man8...
Installing cupsfilter.8.gz in /usr/man/man8...
Installing cups-deviced.8.gz in /usr/man/man8...
Installing cups-driverd.8.gz in /usr/man/man8...
Installing cups-lpd.8.gz in /usr/man/man8...
Installing cups-snmp.8.gz in /usr/man/man8...
Installing cupsd.8.gz in /usr/man/man8...
Installing cupsenable.8.gz in /usr/man/man8...
Installing lpadmin.8.gz in /usr/man/man8...
Installing lpinfo.8.gz in /usr/man/man8...
Installing lpmove.8.gz in /usr/man/man8...
Installing lpc.8.gz in /usr/man/man8...
Installing data files in doc...
install: images/generic.png does not exist
Installing data files in examples...
Installing data files in templates...
Installing cups-config script...
Installing header files in cups...
Installing header files into /usr/include/cups...
Installing header files in test...
Installing header files in filter...
Installing header files in backend...
Installing header files in berkeley...
Installing header files in cgi-bin...
Installing header files in /usr/include/cups...
Installing header files in monitor...
Installing header files in notifier...
Installing header files in ppdc...
Installing header files in /usr/include/cups...
Installing header files in scheduler...
Installing header files in /usr/include/cups...
Installing header files in systemv...
Installing header files in conf...
Installing header files in data...
Installing header files in desktop...
Installing header files in locale...
Installing header files in man...
Installing header files in doc...
Installing header files in examples...
Installing header files in templates...
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=i486 -mtune=i686 -I/usr/include/libusb-1.0   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/p11-kit-1    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT 
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=i686 -mtune=i686 -I/usr/include/p11-kit-1    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT 
Using CC=clang
Using CXX=clang
Using DSOFLAGS=-L../cups  -Wl,-soname,libs -shared -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -fPIE -Wl,-pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE
Using LIBS=-lcups  -lgnutls   -lgcrypt -lgpg-error  -lz -lpthread -lm -lcrypt   -lz
Making libraries in cups...
Making libraries in test...
Making libraries in filter...
Making libraries in backend...
Making libraries in berkeley...
Making libraries in cgi-bin...
Making libraries in monitor...
Making libraries in notifier...
Making libraries in ppdc...
Making libraries in scheduler...
Making libraries in systemv...
Making libraries in conf...
Making libraries in data...
Making libraries in desktop...
Making libraries in locale...
Making libraries in man...
Making libraries in doc...
Making libraries in examples...
Making libraries in templates...
Installing libraries in cups...
Installing libraries in /usr/lib...
Installing libraries in test...
Installing libraries in filter...
Installing libraries in backend...
Installing libraries in berkeley...
Installing libraries in cgi-bin...
Installing libraries in /usr/lib...
Installing libraries in monitor...
Installing libraries in notifier...
Installing libraries in ppdc...
Installing libraries in /usr/lib...
Installing libraries in scheduler...
Installing libraries in /usr/lib...
Installing libraries in systemv...
Installing libraries in conf...
Installing libraries in data...
Installing libraries in desktop...
Installing libraries in locale...
Installing libraries in man...
Installing libraries in doc...
Installing libraries in examples...
Installing libraries in templates...
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=i486 -mtune=i686 -I/usr/include/libusb-1.0   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/p11-kit-1    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT 
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -O2 -march=i686 -mtune=i686 -I/usr/include/p11-kit-1    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT 
Using CC=clang
Using CXX=clang
Using DSOFLAGS=-L../cups  -Wl,-soname,all -shared -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -fPIE -Wl,-pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector -Wno-tautological-compare -D_GNU_SOURCE
Using LIBS=-lcups  -lgnutls   -lgcrypt -lgpg-error  -lz -lpthread -lm -lcrypt   -lz
Making all in cups...
Making all in test...
Making all in filter...
Making all in backend...
Making all in berkeley...
Making all in cgi-bin...
Making all in monitor...
Making all in notifier...
Making all in ppdc...
Making all in scheduler...
Making all in systemv...
Making all in conf...
Making all in data...
Making all in desktop...
Making all in locale...
Making all in man...
Converting man pages to HTML...
    cancel.1.gz...
    cups-config.1.gz...
    cupstestdsc.1.gz...
    cupstestppd.1.gz...
    ipptool.1.gz...
    lp.1.gz...
    lpoptions.1.gz...
    lppasswd.1.gz...
    lpq.1.gz...
    lprm.1.gz...
    lpr.1.gz...
    lpstat.1.gz...
    ppdc.1.gz...
    ppdhtml.1.gz...
    ppdi.1.gz...
    ppdmerge.1.gz...
    ppdpo.1.gz...
    classes.conf.5.gz...
    client.conf.5.gz...
    cups-files.conf.5.gz...
    cups-snmp.conf.5.gz...
    cupsd.conf.5.gz...
    ipptoolfile.5.gz...
    mailto.conf.5.gz...
    mime.convs.5.gz...
    mime.types.5.gz...
    ppdcfile.5.gz...
    printers.conf.5.gz...
    subscriptions.conf.5.gz...
    backend.7.gz...
    filter.7.gz...
    notifier.7.gz...
    cupsaccept.8.gz...
    cupsaddsmb.8.gz...
    cupsctl.8.gz...
    cupsfilter.8.gz...
    cups-deviced.8.gz...
    cups-driverd.8.gz...
    cups-lpd.8.gz...
    cups-snmp.8.gz...
    cupsd.8.gz...
    cupsenable.8.gz...
    lpadmin.8.gz...
    lpinfo.8.gz...
    lpmove.8.gz...
    lpc.8.gz...
Making all in doc...
Making all in examples...
Making all in templates...
Installing programs in cups...
Installing programs in test...
Installing ipptool in /usr/bin...
Installing programs in filter...
Installing programs in backend...
Installing backends in /usr/lib/cups/backend
Installing programs in berkeley...
Installing Berkeley user printing commands in /usr/bin...
Installing Berkeley admin printing commands in /usr/bin...
Installing programs in cgi-bin...
Installing programs in monitor...
Installing programs in notifier...
Installing notifiers in /usr/lib/cups/notifier...
Installing programs in ppdc...
Installing PPD compiler programs...
Installing programs in scheduler...
Installing programs in /usr/sbin...
Installing programs in /usr/lib/cups/daemon...
Installing programs in systemv...
Installing System V admin printing commands in /usr/sbin
Installing System V user printing commands in /usr/bin
Installing programs in conf...
Installing programs in data...
Installing programs in desktop...
Installing programs in locale...
Installing programs in man...

Now do I need to reverse all these?

Last edited by PeterUK; 07-30-2013 at 06:18 PM.
 
Old 07-30-2013, 06:24 PM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
Removed.

Last edited by WhiteWolf1776; 07-30-2013 at 07:17 PM. Reason: wro
 
Old 07-30-2013, 06:42 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
cups uses this rather than DESTDIR:

Code:
make BUILDROOT=<destdir> install
Build the package with that instead and you'll be fine once you install it. It'll copy over the stuff that was spammed to your root.
 
Old 07-30-2013, 06:48 PM   #4
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
I did:

Quote:
bash-4.2# make uninstall
Uninstalling in cups...
/usr/bin/rmdir: failed to remove '/usr/lib': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/include/cups': Directory not empty
Uninstalling in test...
Uninstalling sample ipptool files from /usr/share/cups/ipptool...
Uninstalling in filter...
/usr/bin/rmdir: failed to remove '/usr/lib/cups/filter': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/lib/cups': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/lib': Directory not empty
Uninstalling in backend...
/usr/bin/rmdir: failed to remove '/usr/lib/cups/apple': No such file or directory
/usr/bin/rmdir: failed to remove '/usr/lib/cups/backend': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/lib/cups': Directory not empty
Uninstalling in berkeley...
/usr/bin/rmdir: failed to remove '/usr/sbin': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/bin': Directory not empty
Uninstalling in cgi-bin...
/usr/bin/rmdir: failed to remove '/usr/lib': Directory not empty
/usr/bin/rmdir: failed to remove '/usr/include/cups': Directory not empty
Uninstalling in monitor...
/usr/bin/rmdir: failed to remove '/usr/lib/cups': Directory not empty
Uninstalling in notifier...
/usr/bin/rmdir: failed to remove '/usr/lib/cups': Directory not empty
Uninstalling in ppdc...
/usr/bin/rmdir: failed to remove '/usr/share/cups/drv': Directory not empty
make[1]: *** [uninstall] Error 1
make: *** [uninstall] Error 1
:-?
 
Old 07-30-2013, 07:01 PM   #5
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
UPDATE:

I did give a random number to the package like:

makepkg -l y -c n /tmp/cups-1.7-i686_SBo.tgz

and then:

upgradepkg --install-new /tmp/cups-1.7-i686_SBo.tgz

and now I have boths:

bash-4.2# ls /var/log/packages | grep cups
cups-1.5.4-i486-2
cups-1.7-i686_SBo
pycups-1.9.61-i486-1

Should not that updated it?
 
Old 07-30-2013, 07:18 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Looks like the package name isn't quite right. Something like cups-1.7-i686-1_SBo.tgz would have been better. Missing a dash there.

You should be able to remove it with "removepkg cups-1.7-i686_SBo" though.
 
Old 07-31-2013, 04:19 AM   #7
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by volkerdi View Post
Looks like the package name isn't quite right. Something like cups-1.7-i686-1_SBo.tgz would have been better. Missing a dash there.

You should be able to remove it with "removepkg cups-1.7-i686_SBo" though.
Thanks volkerdi!

removing (removepkg) will leave you 1.5 but it would not work.

creating a package with that extra "-1" will remove 1.5 and keep it cleaner! I have not tested to see it 1.7 make any different in the printing issue.
 
Old 07-31-2013, 04:40 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
please note that 1.7 is still in RC1
 
  


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
Slackware 13 and CUPS brokenjohn Slackware 9 03-05-2010 03:10 AM
CUPS and Slackware 9.1 chestnut Linux - Newbie 13 01-26-2004 09:43 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
cups and slackware 9 deNiro Slackware 6 07-07-2003 12:31 AM
Slackware 8.1 and CUPS lordjaggy Slackware 7 10-09-2002 11:30 PM

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

All times are GMT -5. The time now is 02:39 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