|
Building net-snmp-5.1 rpm from source: msg#00278network.net-snmp.user
Hi All, I am currently attempting to build a Linux/x86 rpm package to be installed on a bunch of machines I administer. So far, I have: 1. A cvs sandbox of the main branch (in ~/src/nsnmp/net-snmp) 2. The net-snmp-5.1.tar.gz source file copied into dist/rpm/SOURCES >From there, I attempt to build a 'plain' rpm: $ cd ~/src/nsnmp/net-snmp $ cd dist $ make RELEASE=1 WITH_PERL=0 EMBED_PERL=0 And from there, the actual compilation stage appears to complete as expected. Unfortunately (for me :), I have a problem when it comes to the 'install' stage - rather than installing the files into rpm/BUILD, the build process appears to be attempting to carry out a normal install (i.e. it is trying to place includes into /usr/include, libs into /usr/lib etc.) The output from the build at the start of the install stage is as follows: + umask 022 + cd /<snip>/src/nsnmp/net-snmp/dist/rpm/BUILD + cd net-snmp-5.1 + rm -rf /tmp/net-snmp-root + make DESTDIR=/tmp/net-snmp-root install make[1]: Entering directory '/<snip>/src/nsnmp/net-snmp/dist/rpm/BUILD/net-snmp-5.1' creating directory /usr/include/net-snmp/net-snmp mkdir /usr/include/net-snmp mkdir: cannot create directory `usr/include/net-snmp': Permission denied ... <snip lots of similar errors> ... The root of my problem would appear to be that the DESTDIR=<path> part of the 'make ... install' line is being ignored. My current suspicion is that the version of libtool (1.5) I have installed on my system (a Suse 9.0 box) is causing problems with the build. Has anyone else out there ran into similar issues? How did you resolve them? If you haven't had any issues building an rpm from the source - can I ask which version of libtool / automake / autoconf you have installed? Thanks in advance for any suggestions. Regards, Garry C. Marshall ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Net-snmp-users mailing list Net-snmp-users@xxxxxxxxxxxxxxxxxxxxx Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | sub-agent: 00278, Nagaich, Nitin |
|---|---|
| Next by Date: | Re: sub-agent: 00278, Dave Shield |
| Previous by Thread: | sub-agenti: 00278, Nagaich, Nitin |
| Next by Thread: | response time calculation: 00278, balaji rajagopalan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |