View Full Version : Howto: running PRIVOXY and other debian arm binaries
Recently I needed PRIVOXY badly and got the unported debian ARM binary to run on the 770, using bits and pieces of info from the maemo wiki and the ITT forums.
I summed it up in a somewhat lenghty entry in the Wiki :
http://www.internettablettalk.com/wiki/index.php/Networking:Installing_and_running_PRIVOXY
It can also serve as a template to install other (non-GUI) apps in a similar way.
Enjoy,
fp
rachid
01-24-2006, 07:13 AM
hi fp,
i just tried it. but it is not working... :(
after
sudo gainroot
dpkg -X libpcre3-dev_6.4-1.1_arm.deb /
dpkg -X privoxy_3.0.3-5_arm.deb /
/usr/sbin/privoxy --no-daemon --user user /etc/privoxy/config
i got:
error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
what should i do?
thanks
rachid
Sorry, my bad ! I cut'n'pasted too hastily and selected a "dev" version by mistake.
Try it with :
ftp://ftp.debian.org/debian/pool/main/p/pcre3/libpcre3_6.4-1.1_arm.deb
I have corrected the Wiki page. Thanks for the feedback, let me know if this works better...
fp
rachid
01-24-2006, 08:39 AM
now it's working!
(first i had to touch /var/log/privoxy/jarfile and chmod a+rw jarfile)
neiljerram
01-24-2006, 09:27 AM
Recently I needed PRIVOXY badly and got the unported debian ARM binary to run on the 770, using bits and pieces of info from the maemo wiki and the ITT forums.
I summed it up in a somewhat lenghty entry in the Wiki :
http://www.internettablettalk.com/wiki/index.php/Networking:Installing_and_running_PRIVOXY
It can also serve as a template to install other (non-GUI) apps in a similar way.
Enjoy,
fp
Many thanks, very useful.
Suppose one wanted to install under /var/lib/install as other stuff is: would I work just to chroot before using dpkg -X ?
And would that also update dpkg's database of installed packages correctly?
Regards,
Neil
Many thanks, very useful.
Suppose one wanted to install under /var/lib/install as other stuff is: would I work just to chroot before using dpkg -X ?I haven't tried, but I think this would do it :
dpkg -X package.deb /var/lib/install
And would that also update dpkg's database of installed packages correctly?
Dunno... guess there's only one way to find out :-)
kimmoj
06-17-2006, 06:20 AM
I would strongly recommend some changes in the Privoxy main config (in /etc/privoxy/config) - for instance, commenting out all DEBUG lines to turn off all logging. The last thing one needs is an ever-growing log on a 770, I'd think.
Also, I would presume that the buffer-limit setting should be made smaller than the default of 4MB per thread, but I haven't had time to experiment myself yet to see how it runs on the 770.
Otherwise two thumbs up for the Wiki page, I thought I'd weep for joy when I saw installations for setting up Privoxy. I just can't surf without it anymore, and one doesn't want ads cluttering up what little space there is on a pocket device like the 770. :)
I added to the great wiki page above with some info I found out as I was installing Privoxy myself. May be worth a look for people who want Privoxy to run all the time (like me.)
PS. dpkg -X just blindly extracts the files to where they should go. To my knowledge there is no way to "back out" of having done a dpkg -X beyond manually deleting or re-flashing the device of course.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.