Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 11:58:16 +0100
From:      "Rainer Duffner" <rainer@ultra-secure.de>
To:        freebsd-ports@freebsd.org
Subject:   php4 with SNMP is broken
Message-ID:  <20030123105816.87937.qmail@bsd.ultra-secure.de>

next in thread | raw e-mail | index | archive | help
Hi, 

while building mod_php4 with SNMP-support, I get: 

Making all in snmp
/bin/sh /usr/ports/www/mod_php4/work/php-4.2.3/libtool --silent 
 --mode=compile cc  -I. -I/usr/ports/www/mod_php4/work/php-4.2.3/ext/snmp 
 -I/usr/ports/www/mod_php4/work/php-4.2.3/main 
 -I/usr/ports/www/mod_php4/work/php-4.2.3 -I/usr/local/include/apache 
 -I/usr/ports/www/mod_php4/work/php-4.2.3/Zend -I/usr/local/include/libxml2 
 -I/usr/local/include -I/usr/local/include/freetype2/freetype 
 -I/usr/local/include/mysql 
 -I/usr/ports/www/mod_php4/work/php-4.2.3/ext/xmlrpc/libxmlrpc  
 -DHARD_SERVER_LIMIT=512 -DDOCUMENT_LOCATION="/usr/local/www/data/" 
 -DDEFAULT_PATH="/usr/local/bin:/bin:/usr/bin" 
 -DACCEPT_FILTER_NAME="httpready" -DMOD_SSL=208112 -DEAPI -DEAPI_MM 
 -DUSE_EXPAT -I/usr/ports/www/mod_php4/work/php-4.2.3/TSRM -O -pipe 
 -I/usr/local/include -I/usr/local/include/pgsql -prefer-pic  -c snmp.c
snmp.c:63: snmp_api.h: No such file or directory
snmp.c:64: snmp_client.h: No such file or directory
snmp.c:65: snmp_impl.h: No such file or directory
snmp.c:66: snmp.h: No such file or directory
snmp.c:67: parse.h: No such file or directory
snmp.c:68: mib.h: No such file or directory
snmp.c:69: version.h: No such file or directory
snmp.c:80: syntax error before `objid_mib'
snmp.c:80: warning: data definition has no type or storage class
snmp.c: In function `zm_info_snmp':
snmp.c:133: `VersionInfo' undeclared (first use in this function)
snmp.c:133: (Each undeclared identifier is reported only once
snmp.c:133: for each function it appears in.)
snmp.c: In function `php_snmp':
snmp.c:153: storage size of `session' isn't known
snmp.c:157: syntax error before `name'
snmp.c:160: syntax error before `root'
snmp.c:164: `SNMP_DEFAULT_TIMEOUT' undeclared (first use in thi
***** 

But I've got that installed: 

monitoring# ll /usr/local/include/net-snmp/library/snmp*
 -rw-r--r--  1 root  wheel   1175 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp-tc.h
 -rw-r--r--  1 root  wheel  11653 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp.h
 -rw-r--r--  1 root  wheel   2521 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpCallbackDomain.h
 -rw-r--r--  1 root  wheel    695 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpTCPDomain.h
 -rw-r--r--  1 root  wheel    515 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpTCPIPv6Domain.h
 -rw-r--r--  1 root  wheel   1291 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpUDPDomain.h
 -rw-r--r--  1 root  wheel   1287 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpUDPIPv6Domain.h
 -rw-r--r--  1 root  wheel    735 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpUnixDomain.h
 -rw-r--r--  1 root  wheel   1932 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_alarm.h
 -rw-r--r--  1 root  wheel  39040 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_api.h
 -rw-r--r--  1 root  wheel   1035 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_assert.h
 -rw-r--r--  1 root  wheel   4199 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_client.h
 -rw-r--r--  1 root  wheel   9269 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_debug.h
 -rw-r--r--  1 root  wheel   2650 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_enum.h
 -rw-r--r--  1 root  wheel   4330 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_impl.h
 -rw-r--r--  1 root  wheel   1401 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_locking.h
 -rw-r--r--  1 root  wheel   2228 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_logging.h
 -rw-r--r--  1 root  wheel    525 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_parse_args.h
 -rw-r--r--  1 root  wheel   4622 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_secmod.h
 -rw-r--r--  1 root  wheel   4645 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmp_transport.h
 -rw-r--r--  1 root  wheel  10752 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpusm.h
 -rw-r--r--  1 root  wheel    119 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpv3-security-includes.h
 -rw-r--r--  1 root  wheel   2259 Nov 28 13:36 
/usr/local/include/net-snmp/library/snmpv3.h 


Where do I add this include-path ? 

Thanks 

Rainer
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rainer Duffner                   Munich
rainer@ultra-secure.de          Germany
http://www.i-duffner.de        Freising
========================================
    When shall we three meet again
  In thunder, lightning, or in rain?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030123105816.87937.qmail>