Re: [Cppcms-users] Linking trouble when trying to build on OSX (Snow Leopard)
Brought to you by:
artyom-beilis
From: doug l. <bi...@gm...> - 2012-04-07 11:17:26
|
Hi -- adding "#include <sys.time.h>" to the includes in private/send_timeout.h did indeed fix this. I've just run the tests, and one failed -- the timeout write one: 99% tests passed, 1 tests failed out of 93 Total Test time (real) = 245.05 sec The following tests FAILED: 23 - http_timeouts_test_write (Failed) Errors while running CTest make: *** [test] Error 8 I'm guessing that this is for a similar reason, and is a require needed in a test file? Anyway, I'm guessing I can be happy with that, and am proceeding with the install. Cheers, Doug. On 6 April 2012 22:13, Artyom Beilis <art...@ya...> wrote: > > > > >________________________________ > > From: doug livesey <bi...@gm...> > >To: Artyom Beilis <art...@ya...>; > cpp...@li... > >Sent: Friday, April 6, 2012 6:36 PM > >Subject: Re: [Cppcms-users] Linking trouble when trying to build on OSX > (Snow Leopard) > > > > > >Hi -- that fixed that problem, thanks very much. > >Unfortunately, I now get this error a little further along in the build > process: > > > > > > [snip] > >/Users/douglivesey/src/cppcms-1.0.1/src/send_timeout.cpp:26:17: error: > aggregate 'cppcms::impl::set_send_timeout(booster::aio::stream_socket&, > int, booster::system::error_code&)::timeval tv' has incomplete type and > cannot be defined > > [snip] > > > > > >Am I perhaps missing a dependency? I thought I'd installed everything. > >Anyway, thanks very much for your advice, and Happy Passover to you, too! > :) > > > I hadn't tested CppCMS with gcc-4.7 yet, I assume there is a missing header > time.h, add it and see if it helps. > > Artyom > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |