From: SourceForge.net <no...@so...> - 2006-08-18 22:43:41
|
Support Requests item #1477389, was opened at 2006-04-27 00:09 Message generated for change (Comment added) made by hal9 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=1477389&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: None Status: Pending Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: make install error Initial Comment: I get this error when running make install as root: mv config config.base mv config.updated config Installing templates to /usr/local/etc/privoxy/templates ****************************************************************** WARNING! WARNING! installing config files as root! It is strongly recommended to run privoxy as a non-root user, and to install the config files as that user and/or group! Please read INSTALL, and create a privoxy user and group! ******************************************************************* make: *** [install] Error 1 root@garrettp:/usr/privoxy/privoxy-3.0.3-stable# I created the privoxy user, but obviously cannot run make install as the privoxy user. The INSTALL file, and the user guide did not provide any information on this sort of problem. When I run privoxy, this is what happens: root@garrettp:/usr/privoxy/privoxy-3.0.3-stable# privoxy Apr 26 23:05:11 Privoxy(16384) Info: loading configuration file '/usr/privoxy/privoxy-3.0.3-stable/config': Apr 26 23:05:11 Privoxy(16384) Fatal error: can't load actions file '/usr/local/etc/privoxy/standard.action': error finding file: No such file or directory Here is my uname -a string: root@garrettp:/usr/privoxy/privoxy-3.0.3-stable# uname -a Linux garrettp 2.4.31 #6 Sun Jun 5 19:04:47 PDT 2005 i686 unknown unknown GNU/Linux ---------------------------------------------------------------------- >Comment By: Hal Burgiss (hal9) Date: 2006-08-18 18:43 Message: Logged In: YES user_id=322640 David, just so you know, most of the docs in the old devel branch were not get updated. Well, none of them actually. It was just too much work. And most of these were set up to built from sgml sources prior to a release. Not that it couldn't be done another way, but this allowed easy modular "recycling" of doc content items. ---------------------------------------------------------------------- Comment By: Hal Burgiss (hal9) Date: 2006-08-18 18:34 Message: Logged In: YES user_id=322640 http://ijbswa.cvs.sourceforge.net/ijbswa/current/INSTALL?view=markup&pathrev=v_3_1_archive_branch The INSTALL file should contain instructions just for this. If not, perhaps you have somehow gotten an older (way older) version, or maybe somehow its gotten stepped on in David's very commendable reorganization efforts. Or it just doesn't work any more. It might be good to know what version you have, where it was gotten and when in case older versions of this file are getting out of sequence. ---------------------------------------------------------------------- Comment By: Alastair (agbrowne) Date: 2006-08-18 17:16 Message: Logged In: YES user_id=1579049 No one seems to have answered this question, so I will. I had to work it out for myself. Simply creating the privoxy user will not do. Simplest thing is to tell you exactly what I did, then you can repeat it/modify it for your case. Create the user privoxy:- # useradd -g nobody -h /dev/null privoxy Go to the source directory for privoxy and do the following as root:- # make uninstall Then do the following as a normal user (assuming GNU make) > ./configure --privoxy-user=privoxy --privoxy-group=nobody . . . > make . . . Then as root do:- # make install Everything then works. if you do ./configure --help then you will see that there is an option to set the privoxy user and group. This defaults to user=privoxy group=privoxy. I assume that if you create a user called privoxy and put it in the (newky created) group called privoxy then the install will work OK first time. All of this should be in the documentation and it is a pity that a *REALLY* good piece of software is ruined by the omission of this point (developers, take note). ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-05-07 20:41 Message: Logged In: NO no ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-05-07 20:41 Message: Logged In: NO no ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=1477389&group_id=11118 |