From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 8 Feb 2007 10:27:13 +0200 From: "Dmytro O. Redchuk" To: ALT Linux Community Message-ID: <20070208082713.GF23685@ldc.net> References: <20070207151854.GD23685@ldc.net> <20070207155711.GE13147@ricom.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070207155711.GE13147@ricom.ru> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.88.3/2534/Thu Feb 8 05:28:17 2007 on backup.ldc.net X-Virus-Status: Clean Subject: Re: [Comm] pylibnet ?.. X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Community List-Id: ALT Linux Community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Feb 2007 08:27:16 -0000 Archived-At: List-Archive: List-Post: On Wed, Feb 07, 2007 at 06:57:11PM +0300, Alexey Morsov wrote: > On Wed, Feb 07, 2007 at 05:18:54PM +0200, Dmytro O. Redchuk wrote: > > Добрый день. > > > > Никто не собирал pylibnet ?.. > > ( http://pylibnet.sourceforge.net/ ) > > > > Попробовал -- ругается. Думает, шо я программист, шо всё пойму. > А что конкретно ругается и когда? После правки makefile гаснет на: [fox@fox src]$ make /usr/bin/swig -python libnet.i libnet.i:56: Warning(116): %except is deprecated. Use %exception instead. libnet.i:95: Warning(113): %addmethods is now %extend libnet.i:66: Warning(450): Deprecated typemap feature ($source/$target). libnet.i:66: Warning(450): The use of $source and $target in a typemap declaration is deprecated. For typemaps related to argument input (in,ignore,default,arginit,check), replace $source by $input and $target by $1. For typemaps related to return values (out, argout,ret,except), replace $source by $1 and $target by $result. See the file Doc/Manual/Typemaps.html for complete details. libnet.i:70: Warning(450): Deprecated typemap feature ($source/$target). libnet.i:74: Warning(450): Deprecated typemap feature ($source/$target). libnet.i:78: Warning(450): Deprecated typemap feature ($source/$target). libnet.i:84: Warning(450): Deprecated typemap feature ($source/$target). libnet.i:89: Warning(450): Deprecated typemap feature ($source/$target). gcc -g `libnet-config --defines` -I/usr/include/python2.3 -I/usr/include/libnet -c libnet_wrap.c libnet_wrap.c: In function `_wrap_ARP_H_get': libnet_wrap.c:843: error: `ARP_H' undeclared (first use in this function) libnet_wrap.c:843: error: (Each undeclared identifier is reported only once libnet_wrap.c:843: error: for each function it appears in.) libnet_wrap.c: In function `_wrap_DNS_H_get': libnet_wrap.c:857: error: `DNS_H' undeclared (first use in this function) libnet_wrap.c: In function `_wrap_ETH_H_get': libnet_wrap.c:871: error: `ETH_H' undeclared (first use in this function) libnet_wrap.c: In function `_wrap_ICMP_H_get': и так далее. Глянул вчера мельком -- все эти прописаны в /usr/include/libnet/libnet-headers.h, который должен, по идее, вызываться из /usr/include/libnet.h, кажись. > > Вообще-то чего-то мне кажется что оно померло > Posted By: davidma > Date: 2001-10-15 12:22 > ^^^^^ Да вот я гуглю... Кто-то собирался переписывать (в их рассылках бегало), но я пока в растерянности :-) > Summary: python libnet 1.0 released > > A python module for the libnet packet construction library is now > available. Requires SWIG (www.swig.org) and libnet > (www.packetfactory.net/libnet). A linux binary is also available. > > This was built and tested for python 1.52 so your mileage may vary. > ^^^^^ Угу. но попробовать можно :-) > > -- > > С уважением, > Алексей Морсов > системный администратор ЗАО "ИК "Риком-Траст" > > Jabber: samurai@www.fondmarket.ru > www.ricom.ru > www.fondmarket.ru > > NP: One Piece - We Are! (One Piece Best Songs Collection) > -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk