So what does "config.log" say?

cat -n work/php-5.2.11/ext/snmp/config.log
     1  This file contains any messages produced by compilers while
     2  running configure, to aid debugging if configure makes a mistake.
     3  
     4  It was created by configure, which was
     5  generated by GNU Autoconf 2.62.  Invocation command line was
     6  
7 $ ./configure --with-snmp=/usr/local --with-openssl-dir=/usr --enable-ucd-snmp-hack --with-php-config=/usr/local/bin/php-config --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd8.0
     8  
     9  ## --------- ##
    10  ## Platform. ##
    11  ## --------- ##
    12  
    13  hostname = core.phs.pcsd
    14  uname -m = i386
    15  uname -r = 8.0-RELEASE
    16  uname -s = FreeBSD
17 uname -v = FreeBSD 8.0-RELEASE #0: Tue Dec 1 14:05:04 EST 2009 [email protected]:/usr/obj/usr/src/sys/GENERICplus
    18  
    19  /usr/bin/uname -p = i386
    20  /bin/uname -X     = unknown
    21  
    22  /bin/arch              = unknown
    23  /usr/bin/arch -k       = unknown
    24  /usr/convex/getsysinfo = unknown
    25  /usr/bin/hostinfo      = unknown
    26  /bin/machine           = unknown
    27  /usr/bin/oslevel       = unknown
    28  /bin/universe          = unknown
    29  
    30  PATH: /sbin
    31  PATH: /bin
    32  PATH: /usr/sbin
    33  PATH: /usr/bin
    34  PATH: /usr/games
    35  PATH: /usr/local/sbin
    36  PATH: /usr/local/bin
    37  PATH: /root/bin
    38  
    39  
    40  ## ----------- ##
    41  ## Core tests. ##
    42  ## ----------- ##
    43  
    44  configure:1999: checking for grep that handles long lines and -e
    45  configure:2059: result: /usr/bin/grep
    46  configure:2064: checking for egrep
    47  configure:2128: result: /usr/bin/grep -E
    48  configure:2133: checking for a sed that does not truncate output
    49  configure:2187: result: /usr/bin/sed
    50  configure:2382: checking for C compiler version
    51  configure:2390: cc --version >&5
    52  cc (GCC) 4.2.1 20070719  [FreeBSD]
    53  Copyright (C) 2007 Free Software Foundation, Inc.
54 This is free software; see the source for copying conditions. There is NO 55 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    56  
    57  configure:2394: $? = 0
    58  configure:2401: cc -v >&5
    59  Using built-in specs.
    60  Target: i386-undermydesk-freebsd
    61  Configured with: FreeBSD/i386 system compiler
    62  Thread model: posix
    63  gcc version 4.2.1 20070719  [FreeBSD]
    64  configure:2405: $? = 0
    65  configure:2412: cc -V >&5
    66  cc: '-V' option must have argument
    67  configure:2416: $? = 1
    68  configure:2439: checking for C compiler default output file name
69 configure:2461: cc -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c >&5
    70  configure:2465: $? = 0
    71  configure:2503: result: a.out
    72  configure:2520: checking whether the C compiler works
    73  configure:2530: ./a.out
    74  configure:2534: $? = 0
    75  configure:2551: result: yes
    76  configure:2558: checking whether we are cross compiling
    77  configure:2560: result: no
    78  configure:2563: checking for suffix of executables
79 configure:2570: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c >&5
    80  configure:2574: $? = 0
    81  configure:2598: result:
    82  configure:2604: checking for suffix of object files
83 configure:2630: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c >&5
    84  configure:2634: $? = 0
    85  configure:2657: result: o
    86  configure:2661: checking whether we are using the GNU C compiler
87 configure:2690: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c >&5
    88  configure:2697: $? = 0
    89  configure:2714: result: yes
    90  configure:2723: checking whether cc accepts -g
    91  configure:2753: cc -c -g  conftest.c >&5
    92  configure:2760: $? = 0
    93  configure:2861: result: yes
    94  configure:2878: checking for cc option to accept ISO C89
95 configure:2952: cc -c -O2 -pipe -march=pentium4 -fno-strict-aliasing conftest.c >&5
    96  configure:2959: $? = 0
    97  configure:2982: result: none needed
    98  configure:3006: checking how to run the C preprocessor
    99  configure:3046: cc -E  conftest.c
   100  configure:3053: $? = 0
   101  configure:3084: cc -E  conftest.c
   102  conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
   103  configure:3091: $? = 1
   104  configure: failed program was:
   105  | /* confdefs.h.  */
   106  | #define PACKAGE_NAME ""
   107  | #define PACKAGE_TARNAME ""
   108  | #define PACKAGE_VERSION ""
   109  | #define PACKAGE_STRING ""
   110  | #define PACKAGE_BUGREPORT ""
   111  | /* end confdefs.h.  */
   112  | #include <ac_nonexistent.h>
   113  configure:3124: result: cc -E
   114  configure:3153: cc -E  conftest.c
   115  configure:3160: $? = 0
   116  configure:3191: cc -E  conftest.c
   117  conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
   118  configure:3198: $? = 1
   119  configure: failed program was:
   120  | /* confdefs.h.  */
   121  | #define PACKAGE_NAME ""
   122  | #define PACKAGE_TARNAME ""
   123  | #define PACKAGE_VERSION ""
   124  | #define PACKAGE_STRING ""
   125  | #define PACKAGE_BUGREPORT ""
   126  | /* end confdefs.h.  */
   127  | #include <ac_nonexistent.h>
   128  configure:3238: checking for icc
   129  configure:3251: result: no
   130  configure:3265: checking for suncc
   131  configure:3278: result: no
   132  configure:3296: checking whether cc understands -c and -o together
   133  configure:3328: cc -c conftest.c -o conftest2.o >&5
   134  configure:3332: $? = 0
   135  configure:3338: cc -c conftest.c -o conftest2.o >&5
   136  configure:3342: $? = 0
   137  configure:3397: result: yes
   138  configure:3413: checking for system library directory
   139  configure:3431: result: lib
   140  configure:3438: checking if compiler supports -R
141 configure:3467: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib conftest.c -R /usr/lib >&5
   142  configure:3474: $? = 0
   143  configure:3496: result: yes
   144  configure:3608: checking build system type
   145  configure:3626: result: i386-portbld-freebsd8.0
   146  configure:3648: checking host system type
   147  configure:3663: result: i386-portbld-freebsd8.0
   148  configure:3685: checking target system type
   149  configure:3700: result: i386-portbld-freebsd8.0
   150  configure:3812: checking for PHP prefix
   151  configure:3814: result: /usr/local
   152  configure:3816: checking for PHP includes
153 configure:3818: result: -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
   154  configure:3820: checking for PHP extension directory
   155  configure:3822: result: /usr/local/lib/php/20060613
   156  configure:3824: checking for PHP installed headers prefix
   157  configure:3826: result: /usr/local/include/php
   158  configure:3829: checking if debug is enabled
   159  configure:3859: result: no
   160  configure:3862: checking if zts is enabled
   161  configure:3892: result: no
   162  configure:3974: checking for re2c
   163  configure:4004: result: no
164 configure:4029: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
   165  configure:4043: checking for gawk
   166  configure:4074: result: no
   167  configure:4043: checking for nawk
   168  configure:4060: found /usr/bin/nawk
   169  configure:4071: result: nawk
   170  configure:4096: checking if nawk is broken
   171  configure:4105: result: no
   172  configure:4119: checking for SNMP support
   173  configure:4162: result: yes, shared
   174  configure:4171: checking OpenSSL dir for SNMP
   175  configure:4189: result: /usr
   176  configure:4198: checking whether to enable UCD SNMP hack
   177  configure:4215: result: yes
   178  configure:5967: checking for snmp_parse_oid in -lnetsnmp
179 configure:6002: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -R/usr/local/lib -L/usr/local/lib -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp >&5 180 /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'
   181  configure:6009: $? = 1
   182  configure: failed program was:
   183  | /* confdefs.h.  */
   184  | #define PACKAGE_NAME ""
   185  | #define PACKAGE_TARNAME ""
   186  | #define PACKAGE_VERSION ""
   187  | #define PACKAGE_STRING ""
   188  | #define PACKAGE_BUGREPORT ""
   189  | #define HAVE_NET_SNMP 1
   190  | /* end confdefs.h.  */
   191  |
   192  | /* Override any GCC internal prototype to avoid an error.
   193  |    Use char because int might match the return type of a GCC
   194  |    builtin and then its argument prototype would still apply.  */
   195  | #ifdef __cplusplus
   196  | extern "C"
   197  | #endif
   198  | char snmp_parse_oid ();
   199  | int
   200  | main ()
   201  | {
   202  | return snmp_parse_oid ();
   203  |   ;
   204  |   return 0;
   205  | }
   206  configure:6032: result: no
   207  configure:6155: checking for init_snmp in -lnetsnmp
208 configure:6190: cc -o conftest -O2 -pipe -march=pentium4 -fno-strict-aliasing -R/usr/local/lib -L/usr/local/lib -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib -lnetsnmp -lelf -lm -lkvm -ldevstat conftest.c -lnetsnmp >&5 209 /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'
   210  configure:6197: $? = 1
   211  configure: failed program was:
   212  | /* confdefs.h.  */
   213  | #define PACKAGE_NAME ""
   214  | #define PACKAGE_TARNAME ""
   215  | #define PACKAGE_VERSION ""
   216  | #define PACKAGE_STRING ""
   217  | #define PACKAGE_BUGREPORT ""
   218  | #define HAVE_NET_SNMP 1
   219  | /* end confdefs.h.  */
   220  |
   221  | /* Override any GCC internal prototype to avoid an error.
   222  |    Use char because int might match the return type of a GCC
   223  |    builtin and then its argument prototype would still apply.  */
   224  | #ifdef __cplusplus
   225  | extern "C"
   226  | #endif
   227  | char init_snmp ();
   228  | int
   229  | main ()
   230  | {
   231  | return init_snmp ();
   232  |   ;
   233  |   return 0;
   234  | }
   235  configure:6220: result: no
236 configure:6241: error: SNMP sanity check failed. Please check config.log for more information.
   237  
   238  ## ---------------- ##
   239  ## Cache variables. ##
   240  ## ---------------- ##
   241  
   242  ac_cv_build=i386-portbld-freebsd8.0
   243  ac_cv_c_compiler_gnu=yes
   244  ac_cv_env_CC_set=set
   245  ac_cv_env_CC_value=cc
   246  ac_cv_env_CFLAGS_set=set
247 ac_cv_env_CFLAGS_value='-O2 -pipe -march=pentium4 -fno-strict-aliasing'
   248  ac_cv_env_CPPFLAGS_set=''
   249  ac_cv_env_CPPFLAGS_value=''
   250  ac_cv_env_CPP_set=''
   251  ac_cv_env_CPP_value=''
   252  ac_cv_env_LDFLAGS_set=set
253 ac_cv_env_LDFLAGS_value=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib'
   254  ac_cv_env_LIBS_set=''
   255  ac_cv_env_LIBS_value=''
   256  ac_cv_env_build_alias_set=set
   257  ac_cv_env_build_alias_value=i386-portbld-freebsd8.0
   258  ac_cv_env_host_alias_set=''
   259  ac_cv_env_host_alias_value=''
   260  ac_cv_env_target_alias_set=''
   261  ac_cv_env_target_alias_value=''
   262  ac_cv_host=i386-portbld-freebsd8.0
   263  ac_cv_lib_netsnmp___init_snmp=no
   264  ac_cv_lib_netsnmp___snmp_parse_oid=no
   265  ac_cv_objext=o
   266  ac_cv_path_EGREP='/usr/bin/grep -E'
   267  ac_cv_path_GREP=/usr/bin/grep
   268  ac_cv_prog_AWK=nawk
   269  ac_cv_prog_CPP='cc -E'
   270  ac_cv_prog_cc_c89=''
   271  ac_cv_prog_cc_cc_c_o=yes
   272  ac_cv_prog_cc_g=yes
   273  ac_cv_target=i386-portbld-freebsd8.0
   274  lt_cv_path_SED=/usr/bin/sed
   275  lt_cv_sys_max_cmd_len=262144
   276  php_cv_cc_dashr=yes
   277  
   278  ## ----------------- ##
   279  ## Output variables. ##
   280  ## ----------------- ##
   281  
   282  AR=''
   283  AWK='nawk'
   284  CC='cc'
   285  CFLAGS='-O2 -pipe -march=pentium4 -fno-strict-aliasing'
286 CONFIGURE_COMMAND=' '\''./configure'\'' '\''--with-snmp=/usr/local'\'' '\''--with-openssl-dir=/usr'\'' '\''--enable-ucd-snmp-hack'\'' '\''--with-php-config=/usr/local/bin/php-config'\'' '\''--prefix=/usr/local'\'' '\''--mandir=/usr/local/man'\'' '\''--infodir=/usr/local/info/'\'' '\''--build=i386-portbld-freebsd8.0'\''' 287 CONFIGURE_OPTIONS=' '\''--with-snmp=/usr/local'\'' '\''--with-openssl-dir=/usr'\'' '\''--enable-ucd-snmp-hack'\'' '\''--with-php-config=/usr/local/bin/php-config'\'' '\''--prefix=/usr/local'\'' '\''--mandir=/usr/local/man'\'' '\''--infodir=/usr/local/info/'\'' '\''--build=i386-portbld-freebsd8.0'\'''
   288  CPP='cc -E'
   289  CPPFLAGS=''
   290  DEFS=''
   291  ECHO='echo'
   292  ECHO_C=''
   293  ECHO_N='-n'
   294  ECHO_T=''
   295  EGREP='/usr/bin/grep -E'
   296  EXEEXT=''
   297  GREP='/usr/bin/grep'
   298  LDFLAGS=' -L/usr/lib -lcrypto -lssl -rpath=/usr/lib:/usr/local/lib'
   299  LIBOBJS=''
   300  LIBS=''
   301  LIBTOOL=''
   302  LN_S=''
   303  LTLIBOBJS=''
   304  OBJEXT='o'
   305  OPENSSL_INCDIR_OPT=''
   306  PACKAGE_BUGREPORT=''
   307  PACKAGE_NAME=''
   308  PACKAGE_STRING=''
   309  PACKAGE_TARNAME=''
   310  PACKAGE_VERSION=''
   311  PATH_SEPARATOR=':'
   312  PKG_CONFIG=''
   313  RANLIB=''
   314  RE2C='exit 0;'
   315  SED='/usr/bin/sed'
   316  SHELL='/bin/sh'
   317  SHLIB_DL_SUFFIX_NAME='so'
   318  SHLIB_SUFFIX_NAME='so'
   319  SNMP_CONFIG='/usr/local/bin/net-snmp-config'
   320  STRIP=''
   321  ac_ct_CC=''
   322  bindir='${exec_prefix}/bin'
   323  build='i386-portbld-freebsd8.0'
   324  build_alias='i386-portbld-freebsd8.0'
   325  build_cpu='i386'
   326  build_os='freebsd8.0'
   327  build_vendor='portbld'
   328  datadir='${datarootdir}'
   329  datarootdir='${prefix}/share'
   330  docdir='${datarootdir}/doc/${PACKAGE}'
   331  dvidir='${docdir}'
   332  exec_prefix='NONE'
   333  host='i386-portbld-freebsd8.0'
   334  host_alias='i386-portbld-freebsd8.0'
   335  host_cpu='i386'
   336  host_os='freebsd8.0'
   337  host_vendor='portbld'
   338  htmldir='${docdir}'
   339  includedir='${prefix}/include'
   340  infodir='/usr/local/info'
   341  libdir='${exec_prefix}/lib'
   342  libexecdir='${exec_prefix}/libexec'
   343  localedir='${datarootdir}/locale'
   344  localstatedir='${prefix}/var'
   345  mandir='/usr/local/man'
   346  oldincludedir='/usr/include'
   347  pdfdir='${docdir}'
   348  prefix='/usr/local'
   349  program_transform_name='s,x,x,'
   350  psdir='${docdir}'
   351  sbindir='${exec_prefix}/sbin'
   352  sharedstatedir='${prefix}/com'
   353  sysconfdir='${prefix}/etc'
   354  target='i386-portbld-freebsd8.0'
   355  target_alias=''
   356  target_cpu='i386'
   357  target_os='freebsd8.0'
   358  target_vendor='portbld'
   359  
   360  ## ----------- ##
   361  ## confdefs.h. ##
   362  ## ----------- ##
   363  
   364  #define PACKAGE_NAME ""
   365  #define PACKAGE_TARNAME ""
   366  #define PACKAGE_VERSION ""
   367  #define PACKAGE_STRING ""
   368  #define PACKAGE_BUGREPORT ""
   369  #define HAVE_NET_SNMP 1
   370  
   371  configure: exit 1
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to