免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 825 | 回复: 4
打印 上一主题 下一主题

[系统管理] 对于configure测试编译代码的环境,报出的缺件,是否有快捷的方法补全? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-07-01 00:42 |只看该作者 |倒序浏览
如跑了一次这个:
  1. root@LinPrint cups-2.1.4]# ./configure
  2. checking for gawk... gawk
  3. checking for clang... no
  4. checking for cc... cc
  5. checking whether the C compiler works... yes
  6. checking for C compiler default output file name... a.out
  7. checking for suffix of executables...
  8. checking whether we are cross compiling... no
  9. checking for suffix of object files... o
  10. checking whether we are using the GNU C compiler... yes
  11. checking whether cc accepts -g... yes
  12. checking for cc option to accept ISO C89... none needed
  13. checking how to run the C preprocessor... cc -E
  14. checking for clang++... no
  15. checking for c++... no
  16. checking for g++... no
  17. checking whether we are using the GNU C++ compiler... no
  18. checking whether g++ accepts -g... no
  19. checking for ranlib... ranlib
  20. checking for ar... /usr/bin/ar
  21. checking for chmod... /bin/chmod
  22. checking for gzip... /bin/gzip
  23. checking for ld... /usr/bin/ld
  24. checking for ln... /bin/ln
  25. checking for mv... /bin/mv
  26. checking for rm... /bin/rm
  27. checking for rmdir... /bin/rmdir
  28. checking for sed... /bin/sed
  29. checking for xdg-open... no
  30. checking for install-sh script... using /root/cups-2.1.4/install-sh
  31. checking for pkg-config... /usr/bin/pkg-config
  32. checking for library containing abs... none required
  33. checking for library containing crypt... -lcrypt
  34. checking for library containing fmod... -lm
  35. checking for library containing getspent... none required
  36. checking for grep that handles long lines and -e... /bin/grep
  37. checking for egrep... /bin/grep -E
  38. checking for ANSI C header files... yes
  39. checking for sys/types.h... yes
  40. checking for sys/stat.h... yes
  41. checking for stdlib.h... yes
  42. checking for string.h... yes
  43. checking for memory.h... yes
  44. checking for strings.h... yes
  45. checking for inttypes.h... yes
  46. checking for stdint.h... yes
  47. checking for unistd.h... yes
  48. checking for stdlib.h... (cached) yes
  49. checking crypt.h usability... yes
  50. checking crypt.h presence... yes
  51. checking for crypt.h... yes
  52. checking langinfo.h usability... yes
  53. checking langinfo.h presence... yes
  54. checking for langinfo.h... yes
  55. checking malloc.h usability... yes
  56. checking malloc.h presence... yes
  57. checking for malloc.h... yes
  58. checking shadow.h usability... yes
  59. checking shadow.h presence... yes
  60. checking for shadow.h... yes
  61. checking for stdint.h... (cached) yes
  62. checking for string.h... (cached) yes
  63. checking for strings.h... (cached) yes
  64. checking bstring.h usability... no
  65. checking bstring.h presence... no
  66. checking for bstring.h... no
  67. checking sys/ioctl.h usability... yes
  68. checking sys/ioctl.h presence... yes
  69. checking for sys/ioctl.h... yes
  70. checking sys/param.h usability... yes
  71. checking sys/param.h presence... yes
  72. checking for sys/param.h... yes
  73. checking sys/ucred.h usability... no
  74. checking sys/ucred.h presence... no
  75. checking for sys/ucred.h... no
  76. checking asl.h usability... no
  77. checking asl.h presence... no
  78. checking for asl.h... no
  79. checking iconv.h usability... yes
  80. checking iconv.h presence... yes
  81. checking for iconv.h... yes
  82. checking for library containing iconv_open... none required
  83. checking for library containing libiconv_open... no
  84. checking mxml.h usability... no
  85. checking mxml.h presence... no
  86. checking for mxml.h... no
  87. checking sys/mount.h usability... yes
  88. checking sys/mount.h presence... yes
  89. checking for sys/mount.h... yes
  90. checking sys/statfs.h usability... yes
  91. checking sys/statfs.h presence... yes
  92. checking for sys/statfs.h... yes
  93. checking sys/statvfs.h usability... yes
  94. checking sys/statvfs.h presence... yes
  95. checking for sys/statvfs.h... yes
  96. checking sys/vfs.h usability... yes
  97. checking sys/vfs.h presence... yes
  98. checking for sys/vfs.h... yes
  99. checking for statfs... yes
  100. checking for statvfs... yes
  101. checking for strdup... yes
  102. checking for strlcat... no
  103. checking for strlcpy... no
  104. checking for snprintf... yes
  105. checking for vsnprintf... yes
  106. checking for random... yes
  107. checking for lrand48... yes
  108. checking for arc4random... no
  109. checking for geteuid... yes
  110. checking for setpgid... yes
  111. checking for vsyslog... yes
  112. checking for sigaction... yes
  113. checking for waitpid... yes
  114. checking for wait3... yes
  115. checking for posix_spawn... yes
  116. checking for tm_gmtoff member in tm structure... yes
  117. checking for st_gen member in stat structure... no
  118. checking for removefile... no
  119. checking for libusb-1.0... no
  120. checking zlib.h usability... yes
  121. checking zlib.h presence... yes
  122. checking for zlib.h... yes
  123. checking for gzgets in -lz... yes
  124. checking for inflateCopy in -lz... yes
  125. checking for library containing acl_init... no
  126. checking for DBUS... no
  127. checking whether compiler supports -fstack-protector... yes
  128. checking whether compiler supports -fPIE... yes
  129. checking whether compiler supports -Wno-unused-result... yes
  130. checking whether compiler supports -Wsign-conversion... yes
  131. checking whether compiler supports -Wno-tautological-compare... yes
  132. checking for resolv.h... yes
  133. checking for library containing socket... none required
  134. checking for library containing gethostbyaddr... none required
  135. checking for library containing getifaddrs... none required
  136. checking for library containing hstrerror... none required
  137. checking for library containing rresvport_af... none required
  138. checking for library containing __res_init... none required
  139. checking for library containing getaddrinfo... none required
  140. checking for library containing getnameinfo... none required
  141. checking for struct sockaddr.sa_len... no
  142. checking sys/sockio.h usability... no
  143. checking sys/sockio.h presence... no
  144. checking for sys/sockio.h... no
  145. checking for poll... yes
  146. checking for epoll_create... yes
  147. checking for kqueue... no
  148. checking for krb5-config... /usr/bin/krb5-config
  149. checking krb5.h usability... yes
  150. checking krb5.h presence... yes
  151. checking for krb5.h... yes
  152. checking gssapi.h usability... yes
  153. checking gssapi.h presence... yes
  154. checking for gssapi.h... yes
  155. checking gssapi/gssapi.h usability... yes
  156. checking gssapi/gssapi.h presence... yes
  157. checking for gssapi/gssapi.h... yes
  158. checking for __ApplePrivate_gss_acquire_cred_ex_f... no
  159. checking for GSS_C_NT_HOSTBASED_SERVICE... yes
  160. checking pthread.h usability... yes
  161. checking pthread.h presence... yes
  162. checking for pthread.h... yes
  163. checking for pthread_create using -lpthreads... no
  164. checking for pthread_create using -lpthread... yes
  165. checking for libgnutls-config... no
  166. checking for libgcrypt-config... no
  167. checking for dlopen in -ldl... yes
  168. checking for pam_start in -lpam... yes
  169. checking for pam_set_item in -lpam... yes
  170. checking for pam_setcred in -lpam... yes
  171. checking security/pam_appl.h usability... yes
  172. checking security/pam_appl.h presence... yes
  173. checking for security/pam_appl.h... yes
  174. checking for special C compiler options needed for large files... no
  175. checking for _FILE_OFFSET_BITS value needed for large files... 64
  176. checking for long long int... yes
  177. checking for strtoll... yes
  178. checking for Avahi... no
  179. checking dns_sd.h usability... no
  180. checking dns_sd.h presence... no
  181. checking for dns_sd.h... no
  182. checking for launch_msg... no
  183. checking launch.h usability... no
  184. checking launch.h presence... no
  185. checking for launch.h... no
  186. checking for libsystemd... no
  187. checking for default print user... lp
  188. checking for default print group... lp
  189. checking for default system groups... "sys root"
  190. checking for java... no
  191. checking for perl... /usr/bin/perl
  192. checking for php-cgi... no
  193. checking for php... no
  194. checking for python... /usr/bin/python
  195. configure: creating ./config.status
  196. config.status: creating Makedefs
  197. config.status: creating conf/cups-files.conf
  198. config.status: creating conf/cupsd.conf
  199. config.status: creating conf/mime.convs
  200. config.status: creating conf/pam.std
  201. config.status: creating conf/snmp.conf
  202. config.status: creating cups-config
  203. config.status: creating desktop/cups.desktop
  204. config.status: creating doc/index.html
  205. config.status: creating man/client.conf.man
  206. config.status: creating man/cups-files.conf.man
  207. config.status: creating man/cups-lpd.man
  208. config.status: creating man/cups-snmp.man
  209. config.status: creating man/cupsaddsmb.man
  210. config.status: creating man/cupsd.conf.man
  211. config.status: creating man/cupsd.man
  212. config.status: creating man/lpoptions.man
  213. config.status: creating scheduler/cups-lpd.xinetd
  214. config.status: creating scheduler/cups.sh
  215. config.status: creating scheduler/cups.xml
  216. config.status: creating scheduler/org.cups.cups-lpd.plist
  217. config.status: creating scheduler/org.cups.cups-lpdAT.service
  218. config.status: creating scheduler/org.cups.cupsd.path
  219. config.status: creating scheduler/org.cups.cupsd.service
  220. config.status: creating scheduler/org.cups.cupsd.socket
  221. config.status: creating templates/header.tmpl
  222. config.status: creating packaging/cups.list
  223. config.status: creating doc/de/index.html
  224. config.status: creating templates/de/header.tmpl
  225. config.status: creating doc/es/index.html
  226. config.status: creating templates/es/header.tmpl
  227. config.status: creating doc/ja/index.html
  228. config.status: creating templates/ja/header.tmpl
  229. config.status: creating doc/pt_BR/index.html
  230. config.status: creating templates/pt_BR/header.tmpl
  231. config.status: creating doc/ru/index.html
  232. config.status: creating templates/ru/header.tmpl
  233. config.status: creating config.h
  234. config.status: config.h is unchanged
  235. [root@LinPrint cups-2.1.4]#
复制代码
看上去缺的东西多多的,
是否有办法把缺的件,一个yum -y install xxxxxxx方便得快快的。。。
有一些字眼我大致上看了一下,听都没听过。。。
这个cups-pdf的Online Document也还真没有提到编译环境需要一些什么组件。。。


其实我想问的并不是为了cups-pdf而已,如果以后万一遇上个缺90多个组件的代码真的要手工一个一个来吗?。。。。

感谢高手可以解答我,谢谢!!!!

论坛徽章:
72
20周年集字徽章-20	
日期:2020-10-28 14:04:30操作系统版块每日发帖之星
日期:2016-07-13 06:20:0015-16赛季CBA联赛之广夏
日期:2016-07-10 09:04:02数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00操作系统版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-04 06:20:00数据库技术版块每日发帖之星
日期:2016-07-03 06:20:00操作系统版块每日发帖之星
日期:2016-07-03 06:20:00数据库技术版块每日发帖之星
日期:2016-07-02 06:20:00操作系统版块每日发帖之星
日期:2016-07-02 06:20:00
2 [报告]
发表于 2016-07-01 09:44 |只看该作者
我都是一个一个安装的

论坛徽章:
72
20周年集字徽章-20	
日期:2020-10-28 14:04:30操作系统版块每日发帖之星
日期:2016-07-13 06:20:0015-16赛季CBA联赛之广夏
日期:2016-07-10 09:04:02数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00操作系统版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-04 06:20:00数据库技术版块每日发帖之星
日期:2016-07-03 06:20:00操作系统版块每日发帖之星
日期:2016-07-03 06:20:00数据库技术版块每日发帖之星
日期:2016-07-02 06:20:00操作系统版块每日发帖之星
日期:2016-07-02 06:20:00
3 [报告]
发表于 2016-07-01 09:45 |只看该作者
应该没有什么捷径,因为configure缺少的东西可能并不是安装包的名称,所以没有办法直接安装

论坛徽章:
0
4 [报告]
发表于 2016-07-01 17:12 |只看该作者
谢谢大家解答,最后搞定了。

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
5 [报告]
发表于 2016-07-05 08:27 |只看该作者
这个只能自己解决,缺什么安装什么
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP