This is a discussion on diff to fix broken .spec file within the SNMP Users forums, part of the Networking and Network Related category; --nextPart5215351.q5FRe48T39 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--nextPart5215351.q5FRe48T39
Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The spec file included with the netsnmp-5.2.1.2 file is broken. The rpmbui= ld=20 =2Dbb of the spec file doesn't work. Part way through the RPM starts=20 installing instead of building for a package. The diff below should help f= ix=20 that. diff a/net-snmp.spec b/net-snmp.spec 82c82 < %{?_with_perl_modules: --with-perl-modules=3D"PREFIX=3D$RPM_BUILD_R= OOT/usr=20 INSTALLDIRS=3Dvendor"} \ =2D-- > %{?_with_perl_modules: --with-perl-modules=3D"PREFIX=3D/usr=20 INSTALLDIRS=3Dvendor"} \ 84c84 < --with-cflags=3D"$RPM_OPT_FLAGS" =2D-- > --with-cflags=3D"$RPM_OPT_FLAGS" --with-install-prefix=3D$RPM_BUIL= D_ROOT =2D-=20 =2D------------------------------------------------- Jeremy M. Guthrie jeremy.guthrie@berbee.com Senior Network Engineer Phone: 608-298-1061 Berbee Fax: 608-288-3007 5520 Research Park Drive NOC: 608-298-1102 Madison, WI 53711 --nextPart5215351.q5FRe48T39 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBDCikaqtjaBHGZBeURAnc+AKCO0iUrLWQkmOeYQO/TMChbDaYcsgCdEoqE xc0Gm0xplpqBrrp4KTmGLXo= =GLXg -----END PGP SIGNATURE----- --nextPart5215351.q5FRe48T39-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|