From owner-freebsd-questions Wed Feb 13 7:45:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 5A37537B400 for ; Wed, 13 Feb 2002 07:44:59 -0800 (PST) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) with ESMTP id g1DFjQC65509; Wed, 13 Feb 2002 10:45:26 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Wed, 13 Feb 2002 10:45:26 -0500 (EST) From: Joe Clarke To: Martin Chandler Cc: freebsd-questions@FreeBSD.ORG Subject: Re: net-snmp port problems In-Reply-To: <5.0.2.6.2.20020213162806.025fdfa8@mail.tvt.ne.jp> Message-ID: <20020213104243.G65221-101000@shumai.marcuscom.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1555394694-1013615126=:65221" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1555394694-1013615126=:65221 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 13 Feb 2002, Martin Chandler wrote: > hello, > > I have been trying to upgrade net-snmp to deal with the recent security > issues as per Ports Security Advisory FreeBSD-SA-02:11. I have used cvs to > get the updated port, but when I try to make install it fails trying to > find ../libtool I had written a different version of this port which worked for me. Can you try applying the attached patch to /usr/ports/net-snmp/Makefile, and then add the attached patch-ltmain.sh to /usr/ports/net/net-snmp/files, and see if things work better for you? Joe > > ===> Building for ucd-snmp-4.2.3 > cc -E -I./agent/mibgroup -I. -I. -DDONT_INC_STRUCTS -DBINDIR=/usr/local/bin > -x c -DPREFIX=/usr/local -DLIBDIR=/usr/local/lib > -DDATADIR=/usr/local/share ./sedscript.in | egrep '^s[/#]' | sed > 's/REMOVEME//g;s# */#/#g;s/ *#/#/g;s#/ *#/#g;s/# g/#g/;' > sedscript > sed -f sedscript ./EXAMPLE.conf.def > EXAMPLE.conf > for i in snmplib agent apps local ov man ; do ( cd $i ; make ) ; > done > /bin/sh ../libtool --mode=compile cc -DINET6 -O -pipe -Dfreebsd4 -I. -I.. > -I. -I./.. -c -o snmp_client.lo snmp_client.c > ./libtool: Can't open ../libtool: No such file or directory > *** Error code 2 > > Stop in /usr/ports/net/net-snmp/work/ucd-snmp-4.2.3/snmplib. > *** Error code 1 > > There is no libtool script in /usr/ports/net/net-snmp/work/ucd-snmp-4.2.3, > but I notice there was one in the old ucd-snmp 4.2 that I had running > before. Where did it go, and is there anything I can do to work around it? > > I am not subscribed to this list, so please cc replies to me at chand@tvt.ne.jp > > Thanks, > Martin > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > --0-1555394694-1013615126=:65221 Content-Type: APPLICATION/octet-stream; name="net-snmp_patches.tar.gz" Content-Transfer-Encoding: BASE64 Content-ID: <20020213104526.K65221@shumai.marcuscom.com> Content-Description: Content-Disposition: attachment; filename="net-snmp_patches.tar.gz" H4sIAAeKajwAA+2U3U/bSBDAeXX+ipFryhWzju04gQZFl9ACjRRAIuGuT+fa 8SZedbMbeddHkfjjO/4A2krt3QvcPexPcrzZndn58sxF8pmuGKfeNtHLfOdZ CHx/EEWwAxX+D2+k3w8ADqNe2PejQRABBKHvhzvgP48731MqnRQAO4WU+ldy tzml/CUcelkIIXDx8A3Igq2tP2kGZzSFoAeBP4zCYb8HVT06rus+iv4o1Rv6 rdR4DCQYHAQ+uPg6hPG4Ax24mEwvF/icXo+slHG+Gp8VlJ7M36PNNQqQm/lp PLlZXL27ujyL/0CxMOg1u7PpyeLqajay7qjqkOnlfDGZzebx/AMetJutyNls cj4fWYRkTCUpp4RrzlIFhBSU00RRwtZCFrTjnl/exJWl6fnN9WlzCTr5uBNP rs/n7ggVqagvUnlSYMCE3DKdkw1LyUZmJadqZOdSafvhZC1KwrMOeGwFGSZK 0Oy3k8ni3Yc3nf+60D+hbntM1CZhwlPPMwD+of+DKOw99X+v7v/Q9P/LUPX/ Y/Ut7OCg6x91w0Pw3w77wTAcWIEX1K3/C6moafsw8o8OBuDW77d151sA+2Sf CKpTle2/qTcAXsF7KfY0cCY+Q9U4uEqXUArNOOicQuLJEo8zT0lgClbsC828 Vvn4uOO2165whjT3uu297VSBTFJVWRAU21bnTHme1wqhfu3WkzOTLGsc0BK7 dlvPDCkg4RwkelOAulOabhRgVwu6pEolxd2DO7inqdJgO2nJeBajtpaSx5Xl mC9tGIGN88U+rgITdZ6i4LBfD0hcHB0EYZOpFatmkPUKpgI/Sd4kYqtomUmC lxZoE1ayACbwd5Nohi5uy2IrFVVVbOhIt1RFN2Wiu0q4oq1FsESyoaNPDl3m EuyPTjW/bbgH56OqZhqFPbX7l7ff3d3d+4TSDM3XGraTsaLrVGsbfbMclctb jJM1/sXbQq7BeRAHJ8M0PGlUCkUpgP6d8H+tBPf3QL8wDc7vGNFjRi6Su5QC +yYvuNJsCW1eDrBysipIXQki0J5sSlGd2vD6datQlRbjevoDTYzfSv9fJ7XB YDAYDAaDwWAwGAwGg8FgMBgMBoPBYDAYDD/nK3ZvK+EAKAAA --0-1555394694-1013615126=:65221-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message