installation problems for net-snmp-5.3.1

"arif hussain" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I want to install net-snmp-5.3.1,


but it gives these errors
*****************************************************************************************
$./configure
$make
.
.
.
.
host/hr_swinst.c:44:24: error: rpm/rpmlib.h: No such file or directory
host/hr_swinst.c:45:24: error: rpm/header.h: No such file or directory
host/hr_swinst.c:49:26: error: rpm/rpmmacro.h: No such file or directory
host/hr_swinst.c:112: error: expected specifier-qualifier-list before
'rpmdb'
host/hr_swinst.c: In function 'init_hr_swinst':
host/hr_swinst.c:210: warning: assignment makes pointer from integer without
a cast
host/hr_swinst.c: In function 'var_hrswinst':
host/hr_swinst.c:452: error: 'int_32' undeclared (first use in this
function)
host/hr_swinst.c:452: error: (Each undeclared identifier is reported only
once
host/hr_swinst.c:452: error: for each function it appears in.)
host/hr_swinst.c:452: error: 'rpm_data' undeclared (first use in this
function)
host/hr_swinst.c:453: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:453: error: 'RPMTAG_INSTALLTIME' undeclared (first use in
this function)
host/hr_swinst.c: In function 'Check_HRSW_cache':
host/hr_swinst.c:528: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c:530: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c: In function 'Init_HR_SWInst':
host/hr_swinst.c:561: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c:563: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c: In function 'Save_HR_SW_info':
host/hr_swinst.c:620: error: 'SWI_t' has no member named 'swi_prevx'
host/hr_swinst.c:622: error: 'Header' undeclared (first use in this
function)
host/hr_swinst.c:622: error: expected ';' before 'h'
host/hr_swinst.c:637: error: 'h' undeclared (first use in this function)
host/hr_swinst.c:637: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c:642: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:643: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:644: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:645: error: 'SWI_t' has no member named 'swi_prevx'
host/hr_swinst.c:647: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:647: error: 'RPMTAG_NAME' undeclared (first use in this
function)
host/hr_swinst.c:648: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:648: error: 'RPMTAG_VERSION' undeclared (first use in this
function)
host/hr_swinst.c:650: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:650: error: 'RPMTAG_RELEASE' undeclared (first use in this
function)
host/hr_swinst.c: In function 'Release_HRSW_token':
host/hr_swinst.c:671: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:672: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:673: error: 'SWI_t' has no member named 'swi_h'
host/hr_swinst.c:674: error: 'SWI_t' has no member named 'swi_prevx'
host/hr_swinst.c: In function 'End_HR_SWInst':
host/hr_swinst.c:685: error: 'SWI_t' has no member named 'swi_rpmdb'
host/hr_swinst.c:686: error: 'SWI_t' has no member named 'swi_rpmdb'
make[2]: *** [host/hr_swinst.lo] Error 1
make[2]: Leaving directory
`/home/arif/Desktop/net-snmp-5.3.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/arif/Desktop/net-snmp-5.3.1/agent'
make: *** [subdirs] Error 1

*****************************************************************************************


previously  i installed  net-snmp-5.2.1 its perl Makefile.PL.....

before installing 5.3.1, i done make uninstall, is that ok or still i do
some more ,   please guide me....




-- 
Regard's

Arif Hussain

+919945273717

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.