[Spread-users] Unable to install spreadlogd on FC 5
Theo Schlossnagle
jesus at omniti.com
Fri May 11 09:12:27 EDT 2007
On May 10, 2007, at 11:17 PM, Sono Chhibber wrote:
> Hey!
>
> 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
>
> Here is the current state of thing.
>
> I have tried to compile on two different systems.
>
> The first machine:
> Linux 2.6.17-1.2187_FC5 i686 athlon i386 GNU/Linux
>
> when I run make, I receive the following output:
> [[ .. snip .. ]]
> /usr/local/lib/libspread.a(sp.to): In function `sp_initialize_locks':
> ../../libspread/sp.c:251: undefined reference to `pthread_atfork'
> collect2: ld returned 1 exit status
> make: *** [spreadlogd] Error 1
Sounds like you need -lpthread in your link line.
> The second machine:
> Linux 2.6.15-1.2054_FC5 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
>
> when I run make, I receive the following out:
> [[ .. snip .. ]]
> 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
No ideas on this one. Looks like maybe perl.h on that box needs
something included prior to using it.
You could compile without perl support if you like -- that would
likely solve this second problem. Otherwise, some C-skills are needed.
// Theo Schlossnagle
// Principal at OmniTI: http://omniti.com
// Esoteric Curio: http://www.lethargy.org/~jesus/
More information about the Spread-users
mailing list