Re: road runner on freebsd
Daniel Lundin <[email protected]> 16 Jul 2002 18:51:55 +0200
| Newsgroups | gmane.network.beep.roadrunner.general |
|---|---|
| Message-ID | <[email protected]> |
Andy Keen <[email protected]> writes: > When compiling on FreeBSD 4.6, I only had to change > /usr/local/include/libxml2/libxml/encoding.h > to include the full path to the iconv.h header file > (/usr/local/include/iconv.h) Hi Andy, It's good to hear from you and nice to know there's interest in our framework. The reason why FreeBSD (and some other platforms, MacOS X comes fresh to mind) fails there is because iconv is not part of the c library and thus (usually) isn't found in a common prefix such as /usr. Somewhat of a kludge for now, but when compiling you can add a path to be searched by running configure script as follows: CFLAGS=-I/usr/local/include ./configure [the usual args] That way you won't have to modify any systemwide header files (which will likely screw up builds of other software). > Although, after compilation, when I run the example (as root), it says > "listen failed: Bind() failed". Do you know what I can do to fix that, > cuz I'd really like to use your library. This is because the listener is a little stupid as of writing. Try changing the hostname (second argument to rr_tcp_listener_new) in the example code and it should work. "0.0.0.0" should work. All in all, the listener is quite clumsy in 0.8, but will be vastly improved. For instance, it lacks IPV6 and multihomed operation, both desirable features. For the latest-and-greatest changes i recommend tracking the CVS version. We've lately (yesterday) reworked and simplified the profile API quite alot, and i'm apparently supposed to produce some short tutorial on the basics of profile-development under RoadRunner. Keep watching the horizon/CVS for that as well. Hope this was of help to you, /Daniel PS. I'm forwarding this to the RoadRunner mailing list as well as it's probably of public interest. -- Daniel Lundin | [email protected] CodeFactory AB | http://www.codefactory.se/