Date: Thu, 23 Feb 2012 15:52:53 +0200 From: Nikos Ntarmos <ntarmos@ceid.upatras.gr> To: Ivan Klymenko <fidaj@ukr.net> Cc: kron <kron24@gmail.com>, freebsd-ports@freebsd.org Subject: Re: conky does not build Message-ID: <20120223135253.GD20841@Alien.Universe> In-Reply-To: <20120223152625.35396f19@nonamehost.> References: <4F46110C.6060508@gmail.com> <20120223152625.35396f19@nonamehost.>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 23, 2012 at 03:26:25PM +0200, Ivan Klymenko wrote: > В Thu, 23 Feb 2012 11:12:28 +0100 > kron <kron24@gmail.com> пишет: > > > Hi, > > > > conky does not build on 9-STABLE: > > > > ... > > cc -DHAVE_CONFIG_H -I. > > -DSYSTEM_CONFIG_FILE=\"/usr/local/etc/conky/conky.conf\" > > -DPACKAGE_LIBDIR=\"/usr/local/lib/conky\" -I/usr/local/include > > -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE > > -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -Wall -W > > -O2 -pipe -march=nocona -fno-strict-aliasing -MT conky-freebsd.o -MD > > -MP -MF .deps/conky-freebsd.Tpo -c -o conky-freebsd.o `test -f > > 'freebsd.c' || echo './'`freebsd.c > > freebsd.c:286:46: error: operator '<' has no left operand > > freebsd.c: In function 'get_cpu_count': > > freebsd.c:303: warning: unused variable 'cpu_count_len' > > gmake[2]: *** [conky-freebsd.o] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake[1]: *** [all] > > Error 2 gmake[1]: Leaving directory > > `/usr/ports/sysutils/conky/work/conky-1.8.1/src' gmake: *** > > [all-recursive] Error 1 *** Error code 1 > > > > Stop in /usr/ports/sysutils/conky. > > *** Error code 1 > > > > Stop in /usr/ports/sysutils/conky. > > > > There are other people with the same problem [1]. It seems > > related to __FreeBSD_kernel__ (missing macro?). I didn't > > go deeper (ENOTIME), maybe someone on the list knows more... > > > > While speaking about conky I'd like mention another issue > > - very low MAX_NET_INTERFACES value. When I run VirtualBox, > > conky crashes due to increased number of network interfaces > > on the host. What about the following patch? (I know it doesn't > > cure the the cause... but yet does help a bit) > > > > diff -Naur conky-1.8.1/configure conky-1.8.1-patched/configure > > --- configure.orig > > +++ configure > > @@ -16102,7 +16102,7 @@ > > $as_echo "#define DEFAULT_TEXT_BUFFER_SIZE 256" >>confdefs.h > > > > > > -$as_echo "#define MAX_NET_INTERFACES 16" >>confdefs.h > > +$as_echo "#define MAX_NET_INTERFACES 64" >>confdefs.h > > > > > > > > > > (CC'd to MAINTAINER) > > > > Best regards, > > Oli > > > > check out new patches Thanks for the patches mate. Unfortunately I'm in ENOTIME state till the end of the month. I hope you guys can wait until then. Sorry about that. \n\n
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120223135253.GD20841>