[Spread-users] [PATCH] spreadlogd compile problem (was: Unable to install spreadlogd on FC 5)

Peter Poeml poeml at suse.de
Tue Jun 16 19:30:10 EDT 2009


Hi!

This is a followup to a very old message, from 2007, about a compile
problem with spreadlogd:
http://www.spread.org/pipermail/spread-users/2007-May/003326.html

I ran into the same issue today, using a tarball I found at
http://www.backhand.org/mod_log_spread/spreadlogd.tar.gz 
and which contains a "spreadlogd-2.0.0" directory dated 2006.

I am attaching a patch which fixes the problem for me.

> Been trying hard to get spread, mod_log_spread and spreadlogd up and running
> the past few days.  After doing a little digging I realized the most
> appropriate place to post seems like the spread mailing list.
> 
> I am so close!! but have run into a errors when running "make" on spreadlogd
[...]
> In file included from
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/perl.h:2120,
>                 from perl.c:3:
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/handy.h:151: error: two
> or more data types in declaration specifiers
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE/handy.h:151: warning:
> useless type name in empty declaration
> make: *** [perl.o] Error 1

The problem was that the packaged perl.h header file #defines I32 int,
which the system perl.h expect to define itself. Changing the header
include order to include the system perl.h first solves this.

Thanks,
Peter
-- 
Contact: admin at opensuse.org (a.k.a. ftpadmin at suse.com)
         #opensuse-mirrors on freenode.net
Info: http://en.opensuse.org/Mirror_Infrastructure
 
SUSE LINUX Products GmbH
Research & Development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spreadlogd-2.0.0-perl-compile.patch
Type: text/x-patch
Size: 951 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20090617/b9c8c5ed/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20090617/b9c8c5ed/attachment-0001.bin 


More information about the Spread-users mailing list