Re: Trouble installing Beanstalk 1.7 on Ubuntu 10.04

139 views
Skip to first unread message

进中关

unread,
Oct 13, 2012, 2:36:32 AM10/13/12
to beansta...@googlegroups.com
maybe you should try to install using the source code

2012/10/13 Aaron Golub <oldba...@gmail.com>:
> Hi,
> I'm attempting to install/upgrade Beanstalkd to v 1.7 on Ubuntu 10.04. I
> tried installing using apt-get install beanstalkd, but it keeps wanting to
> install v 1.4x. I'm already running v 1.5. So when installing using
> the.deb package from ubuntu.com
> (http://security.ubuntu.com/ubuntu/pool/universe/b/beanstalkd/beanstalkd_1.7-1_amd64.deb)
> I can't seem to get around this error:
>
> dpkg: dependency problems prevent configuration of beanstalkd:
> beanstalkd depends on libc6 (>= 2.14); however:
> Version of libc6 on system is 2.11.1-0ubuntu7.8.
>
>
> I've yet to find a way to install libc6 without upgrading all the way to
> Ubuntu 12.04, which I'm not prepared to do. Is anyone else experiencing
> this? Is there a workaround that I'm not familiar with?
> Any help would be greatly appreciated.
> Thanks,
> Aaron
>
> --
> You received this message because you are subscribed to the Google Groups
> "beanstalk-talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/beanstalk-talk/-/CyyLeOj5KI4J.
> To post to this group, send email to beansta...@googlegroups.com.
> To unsubscribe from this group, send email to
> beanstalk-tal...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/beanstalk-talk?hl=en.

Aaron Golub

unread,
Oct 16, 2012, 7:10:07 PM10/16/12
to beansta...@googlegroups.com
I tried that, and this is the response I get when running the "make" command.  I have no idea how to even google this mess:


cc -Wall -Werror   -c -o conn.o conn.c
conn.c:1:20: error: stdint.h: No such file or directory
conn.c:2:19: error: stdio.h: No such file or directory
conn.c:3:20: error: stdlib.h: No such file or directory
conn.c:4:20: error: string.h: No such file or directory
conn.c:5:19: error: errno.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/limits.h:11,
                 from conn.c:6:
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/limits.h:122:61: error: limits.h: No such file or directory
conn.c:7:20: error: unistd.h: No such file or directory
In file included from conn.c:8:
dat.h:4: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤int32Б─≥
dat.h:5: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤uint32Б─≥
dat.h:6: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤int64Б─≥
dat.h:7: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤uint64Б─≥
dat.h:28: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤size_tБ─≥
dat.h:75: error: expected specifier-qualifier-list before Б─≤uint64Б─≥
dat.h:98: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤int64Б─≥
dat.h:103: error: expected specifier-qualifier-list before Б─≤size_tБ─≥
dat.h:125: error: expected specifier-qualifier-list before Б─≤uint64Б─≥
dat.h:148: error: expected specifier-qualifier-list before Б─≤size_tБ─≥
dat.h:168: error: expected specifier-qualifier-list before Б─≤int64Б─≥
dat.h:185: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤nanosecondsБ─≥
dat.h:200: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤int64Б─≥
dat.h:200: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤int64Б─≥
dat.h:201: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤uint64Б─≥
dat.h:205: error: expected Б─≤)Б─≥ before Б─≤job_idБ─≥
dat.h:220: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤total_jobsБ─≥
dat.h:223: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤get_all_jobs_usedБ─≥
dat.h:244: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤primesБ─≥
dat.h:247: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤job_data_size_limitБ─≥
dat.h:273: error: expected specifier-qualifier-list before Б─≤int64Б─≥
dat.h:332: error: expected specifier-qualifier-list before Б─≤int64Б─≥
conn.c:17: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤size_tБ─≥
conn.c:24: error: expected declaration specifiers or Б─≤...Б─≥ before Б─≤size_tБ─≥
conn.c: In function Б─≤make_connБ─≥:
conn.c:37: error: Б─≤NULLБ─≥ undeclared (first use in this function)
conn.c:37: error: (Each undeclared identifier is reported only once
conn.c:37: error: for each function it appears in.)
conn.c:39: error: Б─≤ConnБ─≥ has no member named Б─≤watchБ─≥
conn.c:40: error: Б─≤ConnБ─≥ has no member named Б─≤watchБ─≥
cc1: warnings being treated as errors
conn.c:41: error: implicit declaration of function Б─≤freeБ─≥
conn.c:41: error: incompatible implicit declaration of built-in function Б─≤freeБ─≥
conn.c:50: error: Б─≤ConnБ─≥ has no member named Б─≤pending_timeoutБ─≥
conn.c:51: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c:52: error: Б─≤ConnБ─≥ has no member named Б─≤reserved_jobsБ─≥
conn.c: In function Б─≤has_reserved_jobБ─≥:
conn.c:105: error: Б─≤ConnБ─≥ has no member named Б─≤reserved_jobsБ─≥
conn.c: At top level:
conn.c:110: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or Б─≤__attribute__Б─≥ before Б─≤conntickatБ─≥
conn.c: In function Б─≤connwantБ─≥:
conn.c:138: error: Б─≤ConnБ─≥ has no member named Б─≤rwБ─≥
conn.c: In function Б─≤connschedБ─≥:
conn.c:146: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c:147: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c:149: error: Б─≤ConnБ─≥ has no member named Б─≤tickatБ─≥
conn.c:149: error: implicit declaration of function Б─≤conntickatБ─≥
conn.c:150: error: Б─≤ConnБ─≥ has no member named Б─≤tickatБ─≥
conn.c: In function Б─≤connsoonestjobБ─≥:
conn.c:161: error: Б─≤NULLБ─≥ undeclared (first use in this function)
conn.c:162: error: Б─≤ConnБ─≥ has no member named Б─≤soonest_jobБ─≥
conn.c:165: error: Б─≤ConnБ─≥ has no member named Б─≤reserved_jobsБ─≥
conn.c:165: error: Б─≤ConnБ─≥ has no member named Б─≤reserved_jobsБ─≥
conn.c:166: error: Б─≤JobrecБ─≥ has no member named Б─≤deadline_atБ─≥
conn.c:166: error: Б─≤JobrecБ─≥ has no member named Б─≤deadline_atБ─≥
conn.c:169: error: Б─≤ConnБ─≥ has no member named Б─≤soonest_jobБ─≥
conn.c: In function Б─≤conndeadlinesoonБ─≥:
conn.c:179: error: Б─≤int64Б─≥ undeclared (first use in this function)
conn.c:179: error: expected Б─≤;Б─≥ before Б─≤tБ─≥
conn.c:182: error: Б─≤tБ─≥ undeclared (first use in this function)
conn.c:182: error: Б─≤JobrecБ─≥ has no member named Б─≤deadline_atБ─≥
conn.c: In function Б─≤conn_readyБ─≥:
conn.c:188: error: Б─≤size_tБ─≥ undeclared (first use in this function)
conn.c:188: error: expected Б─≤;Б─≥ before Б─≤iБ─≥
conn.c:190: error: Б─≤iБ─≥ undeclared (first use in this function)
conn.c:190: error: Б─≤ConnБ─≥ has no member named Б─≤watchБ─≥
conn.c:191: error: Б─≤ConnБ─≥ has no member named Б─≤watchБ─≥
conn.c: In function Б─≤connlessБ─≥:
conn.c:200: error: Б─≤ConnБ─≥ has no member named Б─≤tickatБ─≥
conn.c:200: error: Б─≤ConnБ─≥ has no member named Б─≤tickatБ─≥
conn.c: In function Б─≤connrecБ─≥:
conn.c:207: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c: In function Б─≤conncloseБ─≥:
conn.c:215: error: implicit declaration of function Б─≤closeБ─≥
conn.c:217: error: implicit declaration of function Б─≤printfБ─≥
conn.c:217: error: incompatible implicit declaration of built-in function Б─≤printfБ─≥
conn.c:220: error: Б─≤ConnБ─≥ has no member named Б─≤in_jobБ─≥
conn.c:223: error: Б─≤ConnБ─≥ has no member named Б─≤out_jobБ─≥
conn.c:223: error: Б─≤ConnБ─≥ has no member named Б─≤out_jobБ─≥
conn.c:223: error: Б─≤ConnБ─≥ has no member named Б─≤out_jobБ─≥
conn.c:225: error: Б─≤ConnБ─≥ has no member named Б─≤in_jobБ─≥
conn.c:225: error: Б─≤ConnБ─≥ has no member named Б─≤out_jobБ─≥
conn.c:225: error: Б─≤NULLБ─≥ undeclared (first use in this function)
conn.c:226: error: Б─≤ConnБ─≥ has no member named Б─≤in_job_readБ─≥
conn.c:236: error: Б─≤ConnБ─≥ has no member named Б─≤watchБ─≥
conn.c:238: error: left-hand operand of comma expression has no effect
conn.c:240: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c:241: error: Б─≤ConnБ─≥ has no member named Б─≤tickposБ─≥
conn.c:245: error: incompatible implicit declaration of built-in function Б─≤freeБ─≥
make: *** [conn.o] Error 1

Keith Rarick

unread,
Oct 18, 2012, 6:47:05 PM10/18/12
to beansta...@googlegroups.com
On Tue, Oct 16, 2012 at 4:10 PM, Aaron Golub <oldba...@gmail.com> wrote:
> I tried that, and this is the response I get when running the "make"
> command. I have no idea how to even google this mess:
>
>
> cc -Wall -Werror -c -o conn.o conn.c
> conn.c:1:20: error: stdint.h: No such file or directory
> conn.c:2:19: error: stdio.h: No such file or directory
> conn.c:3:20: error: stdlib.h: No such file or directory
> conn.c:4:20: error: string.h: No such file or directory
> conn.c:5:19: error: errno.h: No such file or directory
> In file included from
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/syslimits.h:7,
> from
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/limits.h:11,
> from conn.c:6:
> /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed/limits.h:122:61: error:
> limits.h: No such file or directory
> conn.c:7:20: error: unistd.h: No such file or directory
> In file included from conn.c:8:
> dat.h:4: error: expected Б─≤=Б─≥, Б─≤,Б─≥, Б─≤;Б─≥, Б─≤asmБ─≥ or
> Б─≤__attribute__Б─≥ before Б─≤int32Б─≥

This is really strange. I'd like to help you figure out what's
going on here. Have you been able to compile any other C
programs on this system?

Aaron Golub

unread,
Oct 18, 2012, 7:02:25 PM10/18/12
to beansta...@googlegroups.com
I actually just dealt with this...I ended up installing libc6 v2.15 from .deb installers I downloaded from ubuntu.com. I then ran the instaled for beanstalkd and it all works great now.
Reply all
Reply to author
Forward
0 new messages