[Sumover-dev] Re: Reg: VIC on OS X

Akhila akhila844 at gmail.com
Tue Aug 11 15:56:16 BST 2009


Hello Douglas,

Can you help me in splitting the ports? Sending and receiving..
Are there any other instructions for compiling vic on mac? I tried around 5
times changing the name of hostname and it worked for only LOCALHOST and
does not work after I quit terminal. How do I link static libraries for vic?
And what libraries do I need to include while 'make'?

Thank you for taking time to reply me. It's really helping me understand vic
better.

Regards,
Akhila

On Mon, Aug 10, 2009 at 9:25 PM, Douglas Kosovic <douglask at itee.uq.edu.au>wrote:

>  Hi Akhila,
>
>
>
> The 15.8MB vic binary may be a Fat binary that contains both Intel and
> PowerPC executables.
>
>
>
> Sorry, I have no idea what could be causing the network issue you are
> seeing.
>
>
>
>
>
> Doug
>
>
>
> *From:* Akhila [mailto:akhila844 at gmail.com]
> *Sent:* Tuesday, 11 August 2009 10:05 AM
> *To:* Douglas Kosovic
> *Cc:* sumover-dev at cs.ucl.ac.uk
> *Subject:* Re: Reg: VIC on OS X
>
>
>
> Hello Douglas,
>
> Thanks for the information. But I see that ai_addrlen is always initialized
> zero and I have not modified any code related to that.
>
> I changed my hostname using
>
> $sudo sethostname LOCALHOST
>
> I compiled vic-mpeg4  and I was able to send and receive for sometime. But
> after I close my terminal, I have the same problem again. Why is this so?
>
> Thanks
>
> Regards,
> Akhila
>
> On Mon, Aug 10, 2009 at 5:15 PM, Douglas Kosovic <douglask at itee.uq.edu.au>
> wrote:
>
> Hi Akhila,
>
>
>
> I made vic to work with my application but it's still posing some problems
> which I don't comprehend completely.
>
> I get this message everytime I run vic.
>
> vic: getaddrinfo: LOCALHOST: Bad hints
>
> What does addrinfo has to do with vic? Does hostname play any role in vic?
>
>
>
> The error message seems to be coming from the IPv6 code in
> common/src/net_udp.c
>
> Is there any reason you need to build vic with IPv6 support or use IPv6? If
> you look at the net_udp.c, gethostname is used to get the hostname.
>
> But looking at Apples getaddrinfo implementation:
>
>
> http://www.google.com/codesearch/p?hl=en&sa=N&cd=2&ct=rc#6qb5uNIi0eg/Libinfo-129.2/gen.subproj/getaddrinfo.c&q=getaddrinfo
>
> The error message only happens if hints->ai_addrlen isn't initilised to
> zero. In your modifications have you forgotten to initialise ai_addrlen to
> zero somewhere?
>
>
>
> And one thing I observed is, the vic I compiled is 7.3 MB but the one from
> the website is 15.8MB. Why is the difference? Are there any additional
> steps
> to compile vic? Please let me know.
>
>
>
> 7.3 MB is about the same size I have for vic on linux, 15.8 MB seems pretty
> large, I don't have a Mac handy, but can't rember vic being that large for
> the version I built (it may be statically linked with Tcl/Tk I guess).
>
>
> Cheers,
> Doug
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oakham.cs.ucl.ac.uk/pipermail/sumover-dev/attachments/20090811/eb07c691/attachment.html


More information about the Sumover-dev mailing list