maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Howto: running PRIVOXY and other debian arm binaries (https://talk.maemo.org/showthread.php?t=1166)

fpp 2006-01-23 22:34

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/wi...unning_PRIVOXY

It can also serve as a template to install other (non-GUI) apps in a similar way.

Enjoy,
fp

rachid 2006-01-24 11:13

hi fp,

i just tried it. but it is not working... :(
after
Code:

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:

Code:

error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory
what should i do?
thanks
rachid

fpp 2006-01-24 12:21

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/mai....4-1.1_arm.deb

I have corrected the Wiki page. Thanks for the feedback, let me know if this works better...
fp

rachid 2006-01-24 12:39

now it's working!
(first i had to touch /var/log/privoxy/jarfile and chmod a+rw jarfile)

neiljerram 2006-01-24 13:27

Quote:

Originally Posted by fpp
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/wi...unning_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

fpp 2006-01-24 22:37

Quote:

Originally Posted by neiljerram
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

Quote:

And would that also update dpkg's database of installed packages correctly?
Dunno... guess there's only one way to find out :-)

kimmoj 2006-06-17 10:20

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.


All times are GMT. The time now is 03:23.

vBulletin® Version 3.8.8