LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 694|回复: 2

为什么make install privoxy会这样?(已解决)

[复制链接]
发表于 2006-12-5 18:45:50 | 显示全部楼层 |阅读模式
id: privoxy: No such user
******************************************************************
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

已经按足INSTALL来做了
发表于 2006-12-5 19:57:15 | 显示全部楼层
具体你是如何做的?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 21:39:40 | 显示全部楼层
  1. nvidia@linux-z0ya:~/Desktop/privoxy-3.0.3-stable> make
  2. ***
  3. *** To build this program, you must run
  4. *** autoheader && autoconf && ./configure and then run GNU make.
  5. ***
  6. *** Shall I do this for you now? (y/n) y
  7. autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
  8. autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
  9. autoheader: WARNING: is deprecated and discouraged.
  10. autoheader:
  11. autoheader: WARNING: Using the third argument of `AC_DEFINE' and
  12. autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
  13. autoheader: WARNING: `acconfig.h':
  14. autoheader:
  15. autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
  16. autoheader:             [Define if a function `main' is needed.])
  17. autoheader:
  18. autoheader: WARNING: More sophisticated templates can also be produced, see the
  19. autoheader: WARNING: documentation.
  20. configure.in:662: warning: AC_CANONICAL_HOST invoked multiple times
  21. autoconf/specific.m4:393: AC_MINGW32 is expanded from...
  22. configure.in:662: the top level
  23. configure.in:663: warning: AC_CANONICAL_HOST invoked multiple times
  24. autoconf/specific.m4:363: AC_CYGWIN is expanded from...
  25. configure.in:663: the top level
  26. configure.in:662: warning: AC_CANONICAL_HOST invoked multiple times
  27. autoconf/specific.m4:393: AC_MINGW32 is expanded from...
  28. configure.in:662: the top level
  29. configure.in:663: warning: AC_CANONICAL_HOST invoked multiple times
  30. autoconf/specific.m4:363: AC_CYGWIN is expanded from...
  31. configure.in:663: the top level
  32. checking build system type... i686-pc-linux-gnu
  33. checking host system type... i686-pc-linux-gnu
  34. checking for gcc... gcc
  35. checking for C compiler default output file name... a.out
  36. checking whether the C compiler works... yes
  37. checking whether we are cross compiling... no
  38. checking for suffix of executables...
  39. checking for suffix of object files... o
  40. checking whether we are using the GNU C compiler... yes
  41. checking whether gcc accepts -g... yes
  42. checking for gcc option to accept ANSI C... none needed
  43. checking how to run the C preprocessor... gcc -E
  44. checking for a BSD-compatible install... /usr/bin/install -c
  45. checking whether ln -s works... yes
  46. checking whether make sets $(MAKE)... yes
  47. checking for gawk... gawk
  48. checking for gdb... yes
  49. checking for groups... /usr/bin/groups
  50. checking for id... /usr/bin/id
  51. configure: WARNING: There is no user 'privoxy' on this system
  52. checking for user... none specified
  53. checking for group... none specified
  54. checking for w3m... w3m
  55. checking for db2html... no
  56. checking for docbook2html... no
  57. checking for rpm... rpm
  58. checking for jade... no
  59. checking for openjade... no
  60. checking for man2html... no
  61. checking for /usr/share/sgml/docbook/dsssl-stylesheets... no
  62. checking for /usr/share/sgml/docbkdsl... no
  63. checking for /usr/share/sgml/docbook-dsssl... no
  64. checking for /usr/local/share/sgml/docbook/dsssl/modular... no
  65. checking for /usr/share/sgml/docbook/stylesheet/dsssl/modular/... no
  66. checking for /usr/share/sgml/CATALOG.docbk30... no
  67. checking for /usr/share/sgml/CATALOG.docbk31... no
  68. checking for /usr/share/sgml/CATALOG.docbk31... no
  69. checking for /usr/local/share/sgml/docbook/3.0/docbook.cat... no
  70. checking for /usr/local/share/sgml/docbook/3.1/docbook.cat... no
  71. checking for /usr/share/sgml/docbook/dtd/3.1/docbook.cat... no
  72. checking for egrep... grep -E
  73. checking for ANSI C header files... yes
  74. checking for sys/types.h... yes
  75. checking for sys/stat.h... yes
  76. checking for stdlib.h... yes
  77. checking for string.h... yes
  78. checking for memory.h... yes
  79. checking for strings.h... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unistd.h... yes
  83. checking pthread.h usability... yes
  84. checking pthread.h presence... yes
  85. checking for pthread.h... yes
  86. Using POSIX threads
  87. checking for gethostbyname in -lnsl... yes
  88. checking for gethostbyaddr_r... yes
  89. checking signature of gethostbyaddr_r... 8 args
  90. checking for gethostbyname_r... yes
  91. checking signature of gethostbyname_r... 6 args
  92. checking for gmtime_r... yes
  93. checking signature of gmtime_r... ok
  94. checking for localtime_r... yes
  95. checking signature of localtime_r... ok
  96. checking for socklen_t... yes
  97. checking for ANSI C header files... (cached) yes
  98. checking for dirent.h that defines DIR... yes
  99. checking for library containing opendir... none required
  100. checking for an ANSI C-conforming const... yes
  101. checking for size_t... yes
  102. checking for pid_t... yes
  103. checking whether time.h and sys/time.h may both be included... yes
  104. checking whether struct tm is in sys/time.h or time.h... time.h
  105. checking for int... yes
  106. checking size of int... 4
  107. checking for char *... yes
  108. checking size of char *... 4
  109. checking for long... yes
  110. checking size of long... 4
  111. checking for long long... yes
  112. checking size of long long... 8
  113. checking for size_t... (cached) yes
  114. checking size of size_t... 4
  115. checking OS.h usability... no
  116. checking OS.h presence... no
  117. checking for OS.h... no
  118. checking arpa/inet.h usability... yes
  119. checking arpa/inet.h presence... yes
  120. checking for arpa/inet.h... yes
  121. checking errno.h usability... yes
  122. checking errno.h presence... yes
  123. checking for errno.h... yes
  124. checking fcntl.h usability... yes
  125. checking fcntl.h presence... yes
  126. checking for fcntl.h... yes
  127. checking limits.h usability... yes
  128. checking limits.h presence... yes
  129. checking for limits.h... yes
  130. checking locale.h usability... yes
  131. checking locale.h presence... yes
  132. checking for locale.h... yes
  133. checking netdb.h usability... yes
  134. checking netdb.h presence... yes
  135. checking for netdb.h... yes
  136. checking netinet/in.h usability... yes
  137. checking netinet/in.h presence... yes
  138. checking for netinet/in.h... yes
  139. checking stddef.h usability... yes
  140. checking stddef.h presence... yes
  141. checking for stddef.h... yes
  142. checking for stdlib.h... (cached) yes
  143. checking for string.h... (cached) yes
  144. checking sys/ioctl.h usability... yes
  145. checking sys/ioctl.h presence... yes
  146. checking for sys/ioctl.h... yes
  147. checking sys/socket.h usability... yes
  148. checking sys/socket.h presence... yes
  149. checking for sys/socket.h... yes
  150. checking sys/time.h usability... yes
  151. checking sys/time.h presence... yes
  152. checking for sys/time.h... yes
  153. checking sys/timeb.h usability... yes
  154. checking sys/timeb.h presence... yes
  155. checking for sys/timeb.h... yes
  156. checking sys/wait.h usability... yes
  157. checking sys/wait.h presence... yes
  158. checking for sys/wait.h... yes
  159. checking for unistd.h... (cached) yes
  160. checking for strerror... yes
  161. checking for bcopy... yes
  162. checking for memmove... yes
  163. checking whether gcc needs -traditional... no
  164. checking whether setpgrp takes no argument... yes
  165. checking return type of signal handlers... void
  166. checking for atexit... yes
  167. checking for getcwd... yes
  168. checking for gethostbyaddr... yes
  169. checking for gethostbyname... yes
  170. checking for inet_ntoa... yes
  171. checking for localtime_r... (cached) yes
  172. checking for memchr... yes
  173. checking for memmove... (cached) yes
  174. checking for memset... yes
  175. checking for regcomp... yes
  176. checking for select... yes
  177. checking for setlocale... yes
  178. checking for socket... yes
  179. checking for strchr... yes
  180. checking for strdup... yes
  181. checking for strerror... (cached) yes
  182. checking for strftime... yes
  183. checking for strstr... yes
  184. checking for strtoul... yes
  185. checking for pcre_compile in -lpcre... yes
  186. checking pcre.h usability... yes
  187. checking pcre.h presence... yes
  188. checking for pcre.h... yes
  189. checking for regcomp in -lpcreposix... yes
  190. checking pcreposix.h usability... yes
  191. checking pcreposix.h presence... yes
  192. checking for pcreposix.h... yes
  193. checking for pcrs_compile in -lpcrs... no
  194. using libpcre
  195. using built-in static pcrs
  196. configure: creating ./config.status
  197. config.status: creating GNUmakefile
  198. config.status: creating doc/source/ldp.dsl
  199. config.status: creating config.h
  200. gmake[1]: Entering directory `/home/nvidia/Desktop/privoxy-3.0.3-stable'
  201. gcc -c -pipe -O2   -pthread -Wall   actions.c -o actions.o
  202. gcc -c -pipe -O2   -pthread -Wall   cgi.c -o cgi.o
  203. gcc -c -pipe -O2   -pthread -Wall   cgiedit.c -o cgiedit.o
  204. gcc -c -pipe -O2   -pthread -Wall   cgisimple.c -o cgisimple.o
  205. gcc -c -pipe -O2   -pthread -Wall   deanimate.c -o deanimate.o
  206. gcc -c -pipe -O2   -pthread -Wall   encode.c -o encode.o
  207. gcc -c -pipe -O2   -pthread -Wall   errlog.c -o errlog.o
  208. gcc -c -pipe -O2   -pthread -Wall   filters.c -o filters.o
  209. gcc -c -pipe -O2   -pthread -Wall   gateway.c -o gateway.o
  210. gcc -c -pipe -O2   -pthread -Wall   jbsockets.c -o jbsockets.o
  211. gcc -c -pipe -O2   -pthread -Wall   jcc.c -o jcc.o
  212. gcc -c -pipe -O2   -pthread -Wall   killpopup.c -o killpopup.o
  213. gcc -c -pipe -O2   -pthread -Wall   list.c -o list.o
  214. list.c: In function ‘list_is_valid’:
  215. list.c:253: warning: statement with no effect
  216. gcc -c -pipe -O2   -pthread -Wall   loadcfg.c -o loadcfg.o
  217. gcc -c -pipe -O2   -pthread -Wall   loaders.c -o loaders.o
  218. gcc -c -pipe -O2   -pthread -Wall   miscutil.c -o miscutil.o
  219. gcc -c -pipe -O2   -pthread -Wall   parsers.c -o parsers.o
  220. gcc -c -pipe -O2   -pthread -Wall   ssplit.c -o ssplit.o
  221. gcc -c -pipe -O2   -pthread -Wall   urlmatch.c -o urlmatch.o
  222. gcc -c -pipe -O2   -pthread -Wall   pcrs.c -o pcrs.o
  223. gcc  -pthread -o privoxy actions.o cgi.o cgiedit.o cgisimple.o deanimate.o encode.o errlog.o filters.o gateway.o jbsockets.o jcc.o killpopup.o list.o loadcfg.o loaders.o miscutil.o parsers.o ssplit.o urlmatch.o  pcrs.o   -lnsl  -lpcre -lpcreposix
  224. grep -v '^#MASTER#' default.action.master > default.action
  225. gmake[1]: Leaving directory `/home/nvidia/Desktop/privoxy-3.0.3-stable'
  226. nvidia@linux-z0ya:~/Desktop/privoxy-3.0.3-stable> sudo su
  227. root's password:
  228. Sorry, try again.
  229. root's password:
  230. linux-z0ya:/home/nvidia/Desktop/privoxy-3.0.3-stable # make install
  231. Creating directories, and preparing Privoxy 3.0.3 installation
  232. chmod 0755 ./mkinstalldirs
  233. Installing privoxy executable to /usr/local/sbin
  234. /usr/bin/install -c -m 0755    privoxy /usr/local/sbin
  235. Installing FAQ, Manual, and other docs to /usr/local/share/doc/privoxy
  236. Installing man page to /usr/local/man/man1/privoxy.1
  237. /usr/bin/install -c -m 0664 privoxy.1  /usr/local/man/man1/privoxy.1
  238. Rewriting config for this installation
  239. sed 's+confdir .+confdir /usr/local/etc/privoxy+' config | \
  240. sed 's+logdir .+logdir /var/log/privoxy+' >config.updated
  241. mv config config.base
  242. mv config.updated config
  243. Installing templates to /usr/local/etc/privoxy/templates
  244. id: privoxy: No such user
  245. ******************************************************************
  246. WARNING! WARNING! installing config files as root!
  247. It is strongly recommended to run privoxy as a non-root user,
  248. and to install the config files as that user and/or group!
  249. Please read INSTALL, and create a privoxy user and group!
  250. *******************************************************************
  251. make: *** [install] Error 1
  252. linux-z0ya:/home/nvidia/Desktop/privoxy-3.0.3-stable #
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表