Advertisement
Guest User

pmacct 1.5.0 compile

a guest
Oct 15th, 2014
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. pmacct-1.5.0$ ./configure --prefix=/usr --bindir=/usr/sbin --sysconfdir=/etc/pmacct --enable-64bit --enable-pgsql --enable-sqlite3 --disable-so
  2. loading 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 whether to disable linking against shared objects... yes
  22. checking for gmake... gmake
  23. checking whether gmake sets ${MAKE}... yes
  24. checking for __progname... yes
  25. checking for extra flags needed to export symbols... none
  26. checking for static inline... yes
  27. checking endianess... little
  28. checking unaligned accesses... ok
  29. checking whether to enable L2 features... yes
  30. checking whether to enable IPv6 code... no
  31. checking whether to enable IP prefix labels... checking default locations for pcap.h... found in /usr/include
  32. checking default locations for libpcap... no
  33. checking for pcap_dispatch in -lpcap... no
  34. configure: error:
  35. ERROR: missing pcap library. Refer to: http://www.tcpdump.org/
  36.  
  37.  
  38. pmacct-1.5.0$ cat config.log
  39. This file contains any messages produced by compilers while
  40. running configure, to aid debugging if configure makes a mistake.
  41.  
  42. configure:624: checking for a BSD compatible install
  43. configure:677: checking whether build environment is sane
  44. configure:734: checking whether make sets ${MAKE}
  45. configure:780: checking for working aclocal-1.4
  46. configure:793: checking for working autoconf
  47. configure:806: checking for working automake-1.4
  48. configure:819: checking for working autoheader
  49. configure:832: checking for working makeinfo
  50. configure:856: checking for gcc
  51. configure:969: checking whether the C compiler (gcc ) works
  52. configure:985: gcc -o conftest conftest.c 1>&5
  53. configure:1011: checking whether the C compiler (gcc ) is a cross-compiler
  54. configure:1016: checking whether we are using GNU C
  55. configure:1025: gcc -E conftest.c
  56. configure:1044: checking whether gcc accepts -g
  57. configure:1080: checking OS
  58. configure:1084: checking hardware
  59. configure:1090: checking for ranlib
  60. configure:1139: checking whether to enable debugging compiler options
  61. configure:1157: checking whether to relax compiler optimizations
  62. configure:1171: checking whether to disable linking against shared objects
  63. configure:1414: checking for gmake
  64. configure:1473: checking whether gmake sets ${MAKE}
  65. configure:1501: checking for __progname
  66. configure:1510: gcc -o conftest -O2 -g -O2 -static conftest.c 1>&5
  67. configure:1526: checking for extra flags needed to export symbols
  68. configure:1543: gcc -o conftest -O2 -g -O2 -Wl,--export-dynamic -static conftest.c 1>&5
  69. /usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in `/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libc.a(strcmp.o)' can not be used when making an executable; recompile with -fPIE and relink with -pie
  70. collect2: ld returned 1 exit status
  71. configure: failed program was:
  72. #line 1536 "configure"
  73. #include "confdefs.h"
  74.  
  75. int main() {
  76.  
  77. ; return 0; }
  78. configure:1559: gcc -o conftest -O2 -g -O2 -Wl,-Bexport -static conftest.c 1>&5
  79. /usr/bin/ld: unrecognized option '-Bexport'
  80. /usr/bin/ld: use the --help option for usage information
  81. collect2: ld returned 1 exit status
  82. configure: failed program was:
  83. #line 1552 "configure"
  84. #include "confdefs.h"
  85.  
  86. int main() {
  87.  
  88. ; return 0; }
  89. configure:1581: checking for static inline
  90. configure:1597: gcc -c -O2 -g -O2 conftest.c 1>&5
  91. configure:1614: checking endianess
  92. configure:1632: gcc -o conftest -O2 -g -O2 -static conftest.c 1>&5
  93. configure: In function 'main':
  94. configure:1628: warning: incompatible implicit declaration of built-in function 'exit'
  95. configure:1672: checking unaligned accesses
  96. configure:1719: checking whether to enable L2 features
  97. configure:1744: checking whether to enable IPv6 code
  98. configure:1924: checking whether to enable IP prefix labels
  99. configure:1973: checking default locations for pcap.h
  100. configure:2051: checking default locations for libpcap
  101. configure:2073: checking for pcap_dispatch in -lpcap
  102. configure:2092: gcc -o conftest -O2 -g -O2 -static conftest.c -lpcap 1>&5
  103. /usr/bin/ld: cannot find -lpcap
  104. collect2: ld returned 1 exit status
  105. configure: failed program was:
  106. #line 2081 "configure"
  107. #include "confdefs.h"
  108. /* Override any gcc2 internal prototype to avoid an error. */
  109. /* We use char because int might match the return type of a gcc2
  110. builtin and then its argument prototype would still apply. */
  111. char pcap_dispatch();
  112.  
  113. int main() {
  114. pcap_dispatch()
  115. ; return 0; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement