![]() |
2007-09-27
, 16:57
|
Posts: 147 |
Thanked: 12 times |
Joined on Aug 2007
@ Washington State
|
#2
|
![]() |
2007-09-27
, 17:18
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#3
|
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
![]() |
2007-09-27
, 18:36
|
|
Posts: 114 |
Thanked: 12 times |
Joined on Jul 2007
@ Somewhere, most of the time.
|
#4
|
![]() |
2007-09-27
, 19:02
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#5
|
you better add
before ldconfig.Code:export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
![]() |
2007-09-27
, 20:45
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#6
|
![]() |
2007-09-27
, 20:55
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#7
|
![]() |
2007-09-28
, 00:42
|
Posts: 662 |
Thanked: 238 times |
Joined on Jul 2007
|
#8
|
![]() |
2007-09-28
, 08:18
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#9
|
![]() |
2007-09-28
, 08:57
|
|
Posts: 12 |
Thanked: 0 times |
Joined on Apr 2006
@ Neuchatel, Switzerland
|
#10
|
cups 1.2.12
espgs 8.15.4
openldap 2.3.38
openssl 0.98e
openslp 1.2.1
jpeg 6b
libpng 1.2.20
tiff 3.8.2
zlib 1.2.3
samba 3.0.25c
(kerberos support was not installed, cups 1.2 does not support it)
100MB uncompressed, with the majority of the data in /usr/local
Cups itself is installed in /usr
INSTALLATION INSTRUCTIONS
1) DISABLE DOCPURGE
docpurge is located in /usr/sbin (/usr/sbin/docpurge) I am not really familiar with docpurge, but I do know it will delete any files located it /usr/share/doc/ and this is where cups resides. Fix by running the following:
mv /usr/sbin/docpurge /usr/sbin/docpurge-disabled
If anyone else knows how to exclude the /usr/share/doc dir from docpurge, please let me know.
2) Download Tarball 30MB
http://penguinbait.com/CUPS12.tar.bz2
or
Special Thanks to debernardis
http://www.debernardis.it/n800/CUPS12.tar.bz2
3) Open xterm or ssh session
sudo gainroot, or ssh as root
cd /
tar jxvf /path/to/CUPS12.tar.bz2
4) Update libraries
If /etc/ld.so.conf contains /usr/local/lib the run (cat /etc/ld.so.conf)
ldconfig
If /etc/ld.so.conf does not contain /usr/local/lib then run
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
5) Start Cups
/etc/init.d/cups start
cups will start on boot, as long as /usr/local is available during boot.
6) Open Web Browser
http://localhost:631
INFORMATION
When you make changes in cups, it wll prompt you for a USER and PASSWORD. This is the root account on the n800, (or 770 untested) (default password is rootme)
I have been able to print the cups test pages, and if you set the default printer, you can print from command line also by piping to lpr.
For example:
cat /etc/hosts | lpr
PS this has no headers, so if you want to compile apps with cups support and you need the headers, PM me, and I will send you the full tarball.
I look forward to some success stories!!! Please PM me if you have mirrors!
Last edited by penguinbait; 2007-09-27 at 20:41.