[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] building libevent from git on *BSD



On Jan 23, 2010, at 10:03 PM, Tom Pusateri wrote:

> 
> On Jan 22, 2010, at 11:50 PM, Nick Mathewson wrote:
>> One thing: I'm a little confused by the line numbers in your compile
>> output.  In current git master
>> (the head right now is ff3f6cd42b8), the function evutil_inet_ntop
>> runs from line 1377 to line 1471.  All of the errors from your output
>> in that function are between lines 385 and 389.  Is it possible that
>> you cloned from a wrong source, or that something munged your compiler
>> output as you were sending it?
>> 
>> The canonical place to clone from, just for reference, is
>>    git clone git://levent.git.sourceforge.net/gitroot/levent/libevent
>> You can also do
>>   git clone git://levent.git.sourceforge.net/gitroot/levent/levent
>> 
>> and get the same respository.
>> 
> 
> I guess I got the wrong repository. Google sent me to github:
> 
> git://github.com/zeitgeist/libevent.git
> 
> I'll try the repo above.
> 
> Thanks,
> Tom

Sorry about the confusion. Using the correct repository builds fine.

There is a small change to a test case that is needed for FreeBSD:

rock% git diff
diff --git a/test/test-ratelim.c b/test/test-ratelim.c
index ed3d41a..542691a 100644
--- a/test/test-ratelim.c
+++ b/test/test-ratelim.c
@@ -33,6 +33,9 @@
 #ifdef WIN32
 #include <winsock2.h>
 #include <ws2tcpip.h>
+#else
+#include <sys/socket.h>
+#include <netinet/in.h>
 #endif
 
 #include <event2/bufferevent.h>

***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.