I ran into a problem with srandomdev in compiling the adaptor. I found a message from Mike Schrag that offered a fix (getting rid of some if defs)
This is my edit for Adaptors/random.c
/* doesn't work with CentOS 7
static int rnd_initialize(strtbl *options)
{
int ret = 0;
#if !defined(MACOS)
time_t now;
time(&now);
srandom(now);
#else
srandomdev();
#endif
return ret;
}
*/
// update from Mike Schrag in 2010
static int rnd_initialize(strtbl *options)
{
int ret = 0;
time_t now;
time(&now);
srandom(now);
return ret;
}
after that the compilation went smoothly.
I haven’t put these machines in heavy rotation but that’s the plan soon.
CentOS 7 has more changes than I initially thought and I’m trying to embrace
the FirewallD and SELinux environment. I’m actually liking FirewallD and I am
not hating SELinux quite as much as I used to.
Larry Mills-Gahl
[email protected]
> On Mar 3, 2015, at 10:22 AM, Daniele Corti <[email protected]> wrote:
>
> Hi Nilton,
> I've installed a Test Machine in CentOS 7 just the passed week, so I can give
> you some advices.
>
> First, I've used CentOS 7 form my last 2 WO servers, but I've never used the
> YUM repo to install WOTaskd and WOMonitor, I really prefer use the manual
> installation from
> https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux
> <https://wiki.wocommunity.org/display/documentation/Deploying+on+Linux>
>
> The guide works quite well also in CentOS 7, just, as you notice, there is
> not a prebuilded adaptor for apache 2.4, so I have to compile it on the
> server. (
> https://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux
>
> <https://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux>
> )
>
> One thing: when I run the compiling procedure, the procedure throws ad error
> on one of the versions, so I've to enter the folder of Apache2.4 and run
> "make CC=gcc" again in order to compile the apache module.
>
> The other parts seem to works fine.
>
> Feel free to contact me, if you have some problems.
>
> Bye,
>
> 2015-03-03 15:14 GMT+01:00 Nilton Lessa <[email protected]
> <mailto:[email protected]>>:
> Hi list,
>
> Anyone with previous experience using the WO mod in a CentOS 7.0
> /Apache/2.4.6 deployment?
>
> Any problems noticed?
>
> Isn’t there a prebuilt module, is there?
>
> thank you very much for help and advices.
>
> Cheers.
>
> Nilton
>
> Nilton Lessa
> Moleque de Ideias
> [email protected] <mailto:[email protected]>
> 55-21-27047356
> 55-21-991840247
>
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected]
> <mailto:[email protected]>)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
> <https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com>
>
> This email sent to [email protected] <mailto:[email protected]>
>
>
>
> --
> Daniele Corti
> --
> I DON'T DoubleClick
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
>
> This email sent to [email protected]
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
