[Spread-users] Unable to install spreadlogd on FC 5
Sono Chhibber
sono at chibroc.com
Sat May 12 02:52:28 EDT 2007
On Fri, 11 May 2007 09:12:27 -0400, Theo Schlossnagle wrote
> 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.
Tried to google an answer on the hint you dropped Theo and I tried adding in
'-lpthread' into a few spots within the makefile.
Kept getting this:
"linker input file unused because linking not done"
And finally the same error :/
Unfortunately I am not entirely sure what I am doing still. Would you be able
to provide a touch more guidance with this?
>
> > 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/
Thank You,
Sono
More information about the Spread-users
mailing list