Advertisement
Guest User

pmacct 1.5.0 rc1 compile

a guest
Oct 15th, 2014
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.55 KB | None | 0 0
  1. pmacct-1.5.0rc1$ ./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc/pmacct --enable-64bit --enable-pgsql --enable-sqlite3 --disable-so
  2. creating cache ./config.cache
  3. checking for a BSD compatible install... /usr/bin/install -c
  4. checking whether build environment is sane... yes
  5. checking whether make sets ${MAKE}... yes
  6. checking for working aclocal-1.4... missing
  7. checking for working autoconf... found
  8. checking for working automake-1.4... missing
  9. checking for working autoheader... found
  10. checking for working makeinfo... found
  11. checking for gcc... gcc
  12. checking whether the C compiler (gcc ) works... yes
  13. checking whether the C compiler (gcc ) is a cross-compiler... no
  14. checking whether we are using GNU C... yes
  15. checking whether gcc accepts -g... yes
  16. checking OS... Linux
  17. checking hardware... x86_64
  18. checking for ranlib... ranlib
  19. checking whether to enable debugging compiler options... no
  20. checking whether to relax compiler optimizations... no
  21. checking for gmake... gmake
  22. checking whether gmake sets ${MAKE}... yes
  23. checking for __progname... yes
  24. checking for extra flags needed to export symbols... --export-dynamic
  25. checking for static inline... yes
  26. checking endianess... little
  27. checking unaligned accesses... ok
  28. checking whether to enable L2 features... yes
  29. checking whether to enable IPv6 code... no
  30. checking whether to enable IP prefix labels... checking default locations for pcap.h... found in /usr/include
  31. checking default locations for libpcap... no
  32. checking for pcap_dispatch in -lpcap... yes
  33. checking for pcap_setnonblock in -lpcap... yes
  34. checking packet capture type... linux
  35. checking whether to enable MySQL support... checking how to run the C preprocessor... gcc -E
  36. no
  37. checking whether to enable PostgreSQL support... yes
  38. checking default locations for libpq... found in /usr/lib64
  39. checking default locations for libpq-fe.h... found in /usr/include
  40. checking whether to enable MongoDB support... no
  41. checking whether to enable SQLite3 support... yes
  42. checking default locations for libsqlite3... found in /usr/lib64
  43. checking default locations for sqlite3.h... found in /usr/include
  44. checking whether to enable RabbitMQ/AMQP support... no
  45. checking whether to enable GeoIP support... no
  46. checking whether to enable Jansson support... no
  47. checking whether to disable shared objects... yes
  48. checking for ANSI C header files... yes
  49. checking for sys/wait.h that is POSIX.1 compatible... yes
  50. checking for getopt.h... yes
  51. checking for sys/select.h... yes
  52. checking for sys/time.h... yes
  53. checking for u_int64_t in sys/types.h... yes
  54. checking for u_int32_t in sys/types.h... yes
  55. checking for u_int16_t in sys/types.h... yes
  56. checking for u_int8_t in sys/types.h... yes
  57. checking for uint64_t in sys/types.h... no
  58. checking for uint32_t in sys/types.h... no
  59. checking for uint16_t in sys/types.h... no
  60. checking for uint8_t in sys/types.h... no
  61. checking whether to enable 64bit counters... yes
  62. checking whether to enable multithreading in pmacct... yes
  63. checking whether to enable ULOG support... no
  64. checking return type of signal handlers... void
  65. checking for strlcpy... no
  66. checking for vsnprintf... yes
  67. checking for setproctitle... no
  68. checking for mallopt... yes
  69.  
  70. PLATFORM ..... : x86_64
  71. OS ........... : Linux 2.6.32-431.5.1.el6.x86_64 (build.syd.squiz.net.au)
  72. COMPILER ..... : gcc
  73. CFLAGS ....... : -O2 -g -O2
  74. LIBS ......... : -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz -lpthread
  75. SERVER_LIBS ...: -lnfprobe_plugin -Lnfprobe_plugin/ -lsfprobe_plugin -Lsfprobe_plugin/ -lbgp -Lbgp/ -ltee_plugin -Ltee_plugin/ -lisis -Lisis/
  76. LDFLAGS ...... : -Wl,--export-dynamic
  77.  
  78. Now type 'make' to compile the source code.
  79.  
  80. Are you willing to get in touch with other pmacct users?
  81. Join the pmacct mailing-list by sending a message to pmacct-discussion-subscribe@pmacct.net
  82.  
  83. Need for documentation and examples?
  84. Read the README file or go to http://wiki.pmacct.net/
  85.  
  86.  
  87. updating cache ./config.cache
  88. creating ./config.status
  89. creating Makefile
  90. creating src/Makefile
  91. creating src/nfprobe_plugin/Makefile
  92. creating src/sfprobe_plugin/Makefile
  93. creating src/bgp/Makefile
  94. creating src/tee_plugin/Makefile
  95. creating src/isis/Makefile
  96.  
  97.  
  98. pmacct-1.5.0rc1$ cat config.log
  99. This file contains any messages produced by compilers while
  100. running configure, to aid debugging if configure makes a mistake.
  101.  
  102. configure:624: checking for a BSD compatible install
  103. configure:677: checking whether build environment is sane
  104. configure:734: checking whether make sets ${MAKE}
  105. configure:780: checking for working aclocal-1.4
  106. configure:793: checking for working autoconf
  107. configure:806: checking for working automake-1.4
  108. configure:819: checking for working autoheader
  109. configure:832: checking for working makeinfo
  110. configure:856: checking for gcc
  111. configure:969: checking whether the C compiler (gcc ) works
  112. configure:985: gcc -o conftest conftest.c 1>&5
  113. configure:1011: checking whether the C compiler (gcc ) is a cross-compiler
  114. configure:1016: checking whether we are using GNU C
  115. configure:1025: gcc -E conftest.c
  116. configure:1044: checking whether gcc accepts -g
  117. configure:1080: checking OS
  118. configure:1084: checking hardware
  119. configure:1090: checking for ranlib
  120. configure:1139: checking whether to enable debugging compiler options
  121. configure:1157: checking whether to relax compiler optimizations
  122. configure:1210: checking for gmake
  123. configure:1269: checking whether gmake sets ${MAKE}
  124. configure:1297: checking for __progname
  125. configure:1306: gcc -o conftest -O2 -g -O2 conftest.c 1>&5
  126. configure:1322: checking for extra flags needed to export symbols
  127. configure:1339: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c 1>&5
  128. configure:1377: checking for static inline
  129. configure:1393: gcc -c -O2 -g -O2 conftest.c 1>&5
  130. configure:1410: checking endianess
  131. configure:1428: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c 1>&5
  132. configure: In function 'main':
  133. configure:1424: warning: incompatible implicit declaration of built-in function 'exit'
  134. configure:1468: checking unaligned accesses
  135. configure:1515: checking whether to enable L2 features
  136. configure:1540: checking whether to enable IPv6 code
  137. configure:1720: checking whether to enable IP prefix labels
  138. configure:1769: checking default locations for pcap.h
  139. configure:1847: checking default locations for libpcap
  140. configure:1869: checking for pcap_dispatch in -lpcap
  141. configure:1888: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap 1>&5
  142. configure:1920: checking for pcap_setnonblock in -lpcap
  143. configure:1939: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -lpcap 1>&5
  144. configure:1965: checking packet capture type
  145. configure:2005: checking whether to enable MySQL support
  146. configure:2007: checking how to run the C preprocessor
  147. configure:2028: gcc -E conftest.c >/dev/null 2>conftest.out
  148. configure:2318: checking whether to enable PostgreSQL support
  149. configure:2357: checking default locations for libpq
  150. configure:2463: checking default locations for libpq-fe.h
  151. configure:2535: checking whether to enable MongoDB support
  152. configure:2742: checking whether to enable SQLite3 support
  153. configure:2781: checking default locations for libsqlite3
  154. configure:2887: checking default locations for sqlite3.h
  155. configure:2958: checking whether to enable RabbitMQ/AMQP support
  156. configure:3165: checking whether to enable GeoIP support
  157. configure:3371: checking whether to enable Jansson support
  158. configure:3577: checking whether to disable shared objects
  159. configure:3790: checking for ANSI C header files
  160. configure:3803: gcc -E conftest.c >/dev/null 2>conftest.out
  161. configure:3870: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz 1>&5
  162. configure: In function 'main':
  163. configure:3865: warning: incompatible implicit declaration of built-in function 'exit'
  164. configure:3894: checking for sys/wait.h that is POSIX.1 compatible
  165. configure:3915: gcc -c -O2 -g -O2 conftest.c 1>&5
  166. configure:3939: checking for getopt.h
  167. configure:3949: gcc -E conftest.c >/dev/null 2>conftest.out
  168. configure:3939: checking for sys/select.h
  169. configure:3949: gcc -E conftest.c >/dev/null 2>conftest.out
  170. configure:3939: checking for sys/time.h
  171. configure:3949: gcc -E conftest.c >/dev/null 2>conftest.out
  172. configure:3977: checking for u_int64_t in sys/types.h
  173. configure:3992: gcc -c -O2 -g -O2 conftest.c 1>&5
  174. configure:4017: checking for u_int32_t in sys/types.h
  175. configure:4032: gcc -c -O2 -g -O2 conftest.c 1>&5
  176. configure:4057: checking for u_int16_t in sys/types.h
  177. configure:4072: gcc -c -O2 -g -O2 conftest.c 1>&5
  178. configure:4097: checking for u_int8_t in sys/types.h
  179. configure:4112: gcc -c -O2 -g -O2 conftest.c 1>&5
  180. configure:4137: checking for uint64_t in sys/types.h
  181. configure:4152: gcc -c -O2 -g -O2 conftest.c 1>&5
  182. configure: In function 'main':
  183. configure:4148: error: 'uint64_t' undeclared (first use in this function)
  184. configure:4148: error: (Each undeclared identifier is reported only once
  185. configure:4148: error: for each function it appears in.)
  186. configure: failed program was:
  187. #line 4145 "configure"
  188. #include "confdefs.h"
  189. #include <sys/types.h>
  190. int main() {
  191. int x = sizeof(uint64_t); x = x;
  192. ; return 0; }
  193. configure:4177: checking for uint32_t in sys/types.h
  194. configure:4192: gcc -c -O2 -g -O2 conftest.c 1>&5
  195. configure: In function 'main':
  196. configure:4188: error: 'uint32_t' undeclared (first use in this function)
  197. configure:4188: error: (Each undeclared identifier is reported only once
  198. configure:4188: error: for each function it appears in.)
  199. configure: failed program was:
  200. #line 4185 "configure"
  201. #include "confdefs.h"
  202. #include <sys/types.h>
  203. int main() {
  204. int x = sizeof(uint32_t); x = x;
  205. ; return 0; }
  206. configure:4217: checking for uint16_t in sys/types.h
  207. configure:4232: gcc -c -O2 -g -O2 conftest.c 1>&5
  208. configure: In function 'main':
  209. configure:4228: error: 'uint16_t' undeclared (first use in this function)
  210. configure:4228: error: (Each undeclared identifier is reported only once
  211. configure:4228: error: for each function it appears in.)
  212. configure: failed program was:
  213. #line 4225 "configure"
  214. #include "confdefs.h"
  215. #include <sys/types.h>
  216. int main() {
  217. int x = sizeof(uint16_t); x = x;
  218. ; return 0; }
  219. configure:4257: checking for uint8_t in sys/types.h
  220. configure:4272: gcc -c -O2 -g -O2 conftest.c 1>&5
  221. configure: In function 'main':
  222. configure:4268: error: 'uint8_t' undeclared (first use in this function)
  223. configure:4268: error: (Each undeclared identifier is reported only once
  224. configure:4268: error: for each function it appears in.)
  225. configure: failed program was:
  226. #line 4265 "configure"
  227. #include "confdefs.h"
  228. #include <sys/types.h>
  229. int main() {
  230. int x = sizeof(uint8_t); x = x;
  231. ; return 0; }
  232. configure:4298: checking whether to enable 64bit counters
  233. configure:4323: checking whether to enable multithreading in pmacct
  234. configure:4387: checking whether to enable ULOG support
  235. configure:4405: checking return type of signal handlers
  236. configure:4427: gcc -c -O2 -g -O2 conftest.c 1>&5
  237. configure:4449: checking for strlcpy
  238. configure:4477: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz -lpthread 1>&5
  239. /tmp/cc3CbA1H.o: In function `main':
  240. /home/build/1/pmacct-1.5.0rc1/configure:4471: undefined reference to `strlcpy'
  241. collect2: ld returned 1 exit status
  242. configure: failed program was:
  243. #line 4454 "configure"
  244. #include "confdefs.h"
  245. /* System header to define __stub macros and hopefully few prototypes,
  246. which can conflict with char strlcpy(); below. */
  247. #include <assert.h>
  248. /* Override any gcc2 internal prototype to avoid an error. */
  249. /* We use char because int might match the return type of a gcc2
  250. builtin and then its argument prototype would still apply. */
  251. char strlcpy();
  252.  
  253. int main() {
  254.  
  255. /* The GNU C library defines this for functions which it implements
  256. to always fail with ENOSYS. Some functions are actually named
  257. something starting with __ and the normal name is an alias. */
  258. #if defined (__stub_strlcpy) || defined (__stub___strlcpy)
  259. choke me
  260. #else
  261. strlcpy();
  262. #endif
  263.  
  264. ; return 0; }
  265. configure:4449: checking for vsnprintf
  266. configure:4477: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz -lpthread 1>&5
  267. configure:4461: warning: conflicting types for built-in function 'vsnprintf'
  268. configure:4449: checking for setproctitle
  269. configure:4477: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz -lpthread 1>&5
  270. /tmp/ccRTTEKl.o: In function `main':
  271. /home/build/1/pmacct-1.5.0rc1/configure:4471: undefined reference to `setproctitle'
  272. collect2: ld returned 1 exit status
  273. configure: failed program was:
  274. #line 4454 "configure"
  275. #include "confdefs.h"
  276. /* System header to define __stub macros and hopefully few prototypes,
  277. which can conflict with char setproctitle(); below. */
  278. #include <assert.h>
  279. /* Override any gcc2 internal prototype to avoid an error. */
  280. /* We use char because int might match the return type of a gcc2
  281. builtin and then its argument prototype would still apply. */
  282. char setproctitle();
  283.  
  284. int main() {
  285.  
  286. /* The GNU C library defines this for functions which it implements
  287. to always fail with ENOSYS. Some functions are actually named
  288. something starting with __ and the normal name is an alias. */
  289. #if defined (__stub_setproctitle) || defined (__stub___setproctitle)
  290. choke me
  291. #else
  292. setproctitle();
  293. #endif
  294.  
  295. ; return 0; }
  296. configure:4449: checking for mallopt
  297. configure:4477: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic conftest.c -lpcap -L/usr/lib64 -lpq -L/usr/lib64 -lsqlite3 -lm -lz -lpthread 1>&5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement