ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] pylibnet ?..
@ 2007-02-07 15:18 Dmytro O. Redchuk
  2007-02-07 15:57 ` Alexey Morsov
  0 siblings, 1 reply; 3+ messages in thread
From: Dmytro O. Redchuk @ 2007-02-07 15:18 UTC (permalink / raw)
  To: ALT Community

Добрый день.

   Никто не собирал pylibnet ?..
   ( http://pylibnet.sourceforge.net/ )

   Попробовал -- ругается. Думает, шо я программист, шо всё пойму.

   Видел perl-libnet в дистрибутиве, но уже как-то не хочется...
   почему-то...


   Никто не поможет?
   Окей, завтра ещё попробую попробовать...

-- 
  _,-=._              /|_/|
  `-.}   `=._,.-=-._.,  @ @._,
     `._ _,-.   )      _,.-'
        `    G.m-"^m`m'        Dmytro O. Redchuk



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] pylibnet ?..
  2007-02-07 15:18 [Comm] pylibnet ? Dmytro O. Redchuk
@ 2007-02-07 15:57 ` Alexey Morsov
  2007-02-08  8:27   ` Dmytro O. Redchuk
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Morsov @ 2007-02-07 15:57 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

On Wed, Feb 07, 2007 at 05:18:54PM +0200, Dmytro O. Redchuk wrote:
> Добрый день.
> 
>    Никто не собирал pylibnet ?..
>    ( http://pylibnet.sourceforge.net/ )
> 
>    Попробовал -- ругается. Думает, шо я программист, шо всё пойму.
А что конкретно ругается и когда?

Вообще-то чего-то мне кажется что оно померло
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)


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Comm] pylibnet ?..
  2007-02-07 15:57 ` Alexey Morsov
@ 2007-02-08  8:27   ` Dmytro O. Redchuk
  0 siblings, 0 replies; 3+ messages in thread
From: Dmytro O. Redchuk @ 2007-02-08  8:27 UTC (permalink / raw)
  To: ALT Linux Community

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-08  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 15:18 [Comm] pylibnet ? Dmytro O. Redchuk
2007-02-07 15:57 ` Alexey Morsov
2007-02-08  8:27   ` Dmytro O. Redchuk

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git