libpcap in cygwin

2003-12-25 Thread S N A K E
hello everbody ,
i had problem in cygwim i was try to install libpcap-0.8.1
but i have this message

[EMAIL PROTECTED] /home/tmp/libpcap-0.8.1
$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking gcc version... 3
checking for inline... inline
checking for __attribute__... yes
checking for u_int8_t using gcc... yes
checking for u_int16_t using gcc... yes
checking for u_int32_t using gcc... yes
checking how to run the C preprocessor... gcc -E
checking for sys/ioccom.h... yes
checking for sys/sockio.h... yes
checking for ifaddrs.h... yes
checking for limits.h... yes
checking for netinet/if_ether.h... yes
checking for ANSI ioctl definitions... no
configure: error: see the INSTALL for more info
--
can u help me plzzz
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: libpcap in cygwin

2003-12-25 Thread Brian Dessent
S N A K E wrote:
> 
> hello everbody ,
> i had problem in cygwim i was try to install libpcap-0.8.1
> but i have this message

For windows, the libpcap API is provided by WinPCap.  You will have zero
success trying to compile the libpcap from unix, the two systems are
just not the same under the hood.  However, once you've installed
WinPCap (which includes the actual low-level driver, the DLLs, the
headers, and the import libs) all of your regular libpcap-speaking unix
apps will typically compile without too much fuss.  It provides the same
standard libpcap interface.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Mutt + Cygwin on the go

2003-12-25 Thread Miki Tebeka
Hello All,

I've written a little page on my experience with cygwin + mutt + laptops
(reading/sending mail offline).

I'd be glad to hear any comments.

http://www.cs.bgu.ac.il/~tebeka/Geek/HowTo/mutt-cygwin.html


-- 
Bye.
-
Smile, damn it, smile.

lambda msg: {
"name" : "Miki Tebeka",
"email" : "[EMAIL PROTECTED]",
"url" : "http://www.cs.bgu.ac.il/~tebeka";,
"quote" : "The only difference between children and adults is the "\
  "price of the toys"
}[msg]

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Please try the latest snapshot -- it is close to cygwin 1.5.6

2003-12-25 Thread Christopher Faylor
On Thu, Dec 25, 2003 at 04:05:24PM +0930, Trevor Forbes wrote:
>I run the testsuite when I built the dll which gives:
>
>FAIL: msgtest.c (execute)
>FAIL: semtest.c (execute)
>FAIL: shmtest.c (execute)
>FAIL: pthread/mainthreadexits.c (execute)

I think we've already been down the testsuite route.

The {msg,sem,shm}test failures should be obvious.

I'm working on mainthreadexits.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Merry Christmas

2003-12-25 Thread Christopher Faylor
Best wishes to everyone in this holiday season.

-chris

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Problem using export command

2003-12-25 Thread Anjali Bharat Shah
Hi,
  I have a file in which I do the following:

export LD_LIBRARY_PATH=$REI_HOME/lib
export CLASSPATH=$CLASSPATH:$CP:$REI_HOME/classes:.

rm $REI_HOME/classes/*.class
$JAVA_HOME/javac -d classes $REI_HOME/src/*.java
$JAVA_HOME/java ReiEngine $REI_HOME/config.xml

  This file runs without problems in Linux, but under cygwin it gives the
following error:
export: Files\Xinox: bad variable name

  A similar problem was faced by someone who posted a message to the mailing
list. But I found no answer to that and so am posting my message again. If
someone could please help me figure why this error occurs and suggest some
solution, I will be very glad.

Thanking You
Sincerely,
Anjali.

Anjali Bharat Shah
Graduate Student
Computer Science Department
University of Maryland Baltimore County

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem using export command

2003-12-25 Thread Brian Dessent
Anjali Bharat Shah wrote:

> export LD_LIBRARY_PATH=$REI_HOME/lib
> export CLASSPATH=$CLASSPATH:$CP:$REI_HOME/classes:.
> 
> rm $REI_HOME/classes/*.class
> $JAVA_HOME/javac -d classes $REI_HOME/src/*.java
> $JAVA_HOME/java ReiEngine $REI_HOME/config.xml
> 
>   This file runs without problems in Linux, but under cygwin it gives the
> following error:
> export: Files\Xinox: bad variable name
> 
>   A similar problem was faced by someone who posted a message to the mailing
> list. But I found no answer to that and so am posting my message again. If
> someone could please help me figure why this error occurs and suggest some
> solution, I will be very glad.

Your CLASSPATH contains a directory with a space in it, probably
\Program Files.  You'll need to quote it so that the shell sees it all
as one word.

Also, I don't think LD_LIBRARY_PATH has any effect under Cygwin. 
There's no such feature.

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Two mutt issues

2003-12-25 Thread Igor Pechtchanski
On Wed, 24 Dec 2003, Gary R. Van Sickle wrote:

> > I have two problems using mutt on cygwin:
> > 1. I've used this mailcap file:
> > application/*; cygstart %s
> > image/*; cygstart %s
> > text/*; cygstart %s
> > video/*; cygstart %s
> >
> > But it doesn't seem to work, when I try to open a Word attachment it says
> > it's corrupted. When I save it and open it from the explorer it looks OK.
>
> I'd bet this one is a text/binary issue, but I've not looked into it.
> My guess would be that the text/binary logic that I added for saving is
> being bypassed somehow during save-to-temp-then-viewing.

'cygstart' should use the file extension association in Windows to view
the file...  Does mutt save temp files with proper extensions?

To the OP: try copying the temp file and renaming it to the proper
extension, and then run cygstart on it.  Also try mounting /tmp in binary
mode.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Mutt + Cygwin on the go

2003-12-25 Thread Luc Hermitte
Hello.

* On Thu, Dec 25, 2003 at 12:35:01PM +0200, Miki Tebeka <[EMAIL PROTECTED]> wrote:
> I've written a little page on my experience with cygwin + mutt +
> laptops (reading/sending mail offline).
> 
> I'd be glad to hear any comments.
> 
> http://www.cs.bgu.ac.il/~tebeka/Geek/HowTo/mutt-cygwin.html

Your page contains interresting materials.
However, I'm not very fond of the text/* and application/* mailcap
entries -- I'm a litlle bit paranoid, and using w3m which is great to
answer to HTML posts.
text/html;   w3m %s; needsterminal; description=HTML Text; nametemplate=%s.html
text/html;   w3m -dump %s; copiousoutput; description=HTML Text; nametemplate=%s.html

(don't forget in the muttrc:
  alternative_order text/enriched text/plain text 
)


And BTW, I have no problem with cygstart with pdf and rtf documents.

Merry Christmas to all!
-- 
Luc Hermitte
http://hermitte.free.fr/cygwin/ 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Patiler.com yeni üyelerini bekliyor

2003-12-25 Thread Patiler Haber Servisi
Evcil hayvanınız varsa sizleride üyelerimiz arasında görmekten mutluluk duyarız,

www.patiler.com

Bilgi İçin :  [EMAIL PROTECTED]

** Verdiğimiz rahatsızlık için özür dileriz



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Problem using export command

2003-12-25 Thread Brian Dessent
Anjali Bharat Shah wrote:
> 
> Hi Brian,

Please keep replies to the list and not to me directly.

> 1)Your CLASSPATH contains a directory with a space in it, probably
> > \Program Files.  You'll need to quote it so that the shell sees it all
> > as one word.
>   Can you please show how to use quotes for such directories? as in where to
> place the quotes? Also does the export command have to be outside the script
> at the prompt or does it work from inside the script as well?

export CLASSPATH="$CLASSPATH:$CP:$REI_HOME/classes:."

The export will set the variable in the environment of that script and
any processes launched from it.  It cannot change the value of variables
in the environment above it.  To get around this you typically use the
'source' command which runs a script in the context of the current shell
rather than spawning a subshell.

> > 2) Also, I don't think LD_LIBRARY_PATH has any effect under Cygwin.
> > There's no such feature.
> > Can you please suggest the equivalent variable same?

Under Windows, the system searches the PATH for shared libraries
(.DLLs).  I think it also searches the directory of the executable
first, and then tries the PATH.  (It might be the other way around, I
don't know.)

Brian

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/