[SOLVED] Attempting to build conky-lua
Trying to get conky-1.9.0 to work with lua, got all the flags set so it does, but anytime I attempt to run make on it, It constantly gives me this error.
Making all in src
make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/src'
make all-am
make[2]: Entering directory `/home/multimoon/Documents/conky-1.9.0/src'
make[2]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/src'
make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/src'
Making all in doc
make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/doc'
Making all in lua
make[1]: Entering directory `/home/multimoon/Documents/conky-1.9.0/lua'
Makefile:678: *** missing separator. Stop.
make[1]: Leaving directory `/home/multimoon/Documents/conky-1.9.0/lua'
make: *** [all-recursive] Error 1
I'm decent with linux, rather new to Archlinux, so If anyone can give me a hand, I would appreciate it.
Last edited by Multimoon (2012-10-13 02:38:51)
Output for pacman -Ql conky-lua:
conky-lua /etc/conky/conky.conf
conky-lua /etc/conky/conky_no_x11.conf
conky-lua /usr/
conky-lua /usr/bin/
conky-lua /usr/bin/conky
conky-lua /usr/lib/
conky-lua /usr/lib/conky/
conky-lua /usr/lib/conky/libcairo.a
conky-lua /usr/lib/conky/libcairo.la
conky-lua /usr/lib/conky/libcairo.so
conky-lua /usr/lib/conky/libcairo.so.0
conky-lua /usr/lib/conky/libcairo.so.0.0.0
conky-lua /usr/lib/conky/libimlib2.a
conky-lua /usr/lib/conky/libimlib2.la
conky-lua /usr/lib/conky/libimlib2.so
conky-lua /usr/lib/conky/libimlib2.so.0
conky-lua /usr/lib/conky/libimlib2.so.0.0.0
conky-lua /usr/share/
conky-lua /usr/share/licenses/
conky-lua /usr/share/licenses/conky/
conky-lua /usr/share/licenses/conky/LICENSE
conky-lua /usr/share/man/
conky-lua /usr/share/man/man1/
conky-lua /usr/share/man/man1/conky.1.gz
conky-lua /usr/share/vim/
conky-lua /usr/share/vim/vimfiles/
conky-lua /usr/share/vim/vimfiles/ftdetect/
conky-lua /usr/share/vim/vimfiles/ftdetect/conkyrc.vim
conky-lua /usr/share/vim/vimfiles/syntax/
conky-lua /usr/share/vim/vimfiles/syntax/conkyrc.vim
Then for find:
/usr/lib/libcairo.so
/usr/lib/conky/libcairo.so
Last edited by Multimoon (2012-10-11 20:19:04)
Similar Messages
-
[SOLVED] conky-lua build fails due to toluapp package issues
I am trying to install conky-lua from AUR on 64 bit Arch and failing miserably.
When running the following:
yaourt -Sy conky-lua
I get the following error:
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a(tolua_is.o): relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.2/../../../../lib/libtolua++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libcairo.la] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-conky-lua/conky-lua/src/conky-1.7.2/lua'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build conky-lua package.
I have read through what search results I can find on the topic (both here and via google) and have attempted to remedy the situation by adding build options to the toluapp build to provide for the conky-lua build. I have tried this by adding CCFLAGS = '-fPIC' to the scons call in the PKGBUILD file, I have also tried editing the config_linux.py file, which sits along side the main build file, to include the -fPIC switch also, which doesn't work either. i.e. I have this in the config_linux.py now:
CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
Which doesn't work, it results in:
==> Validating source files with md5sums...
tolua++-1.0.93.tar.bz2 ... Passed
config_linux.py ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error: Makepkg was unable to build toluapp package.
Can someone help me through a build as I have never come across scons before and maybe I am providing directives to the toluapp build incorrectly? I am still thinking in "make" terms...
I NEED lua in conky
Thanks in advance
Regards,
Kaivalagi
Last edited by kaivalagi (2009-11-11 07:32:04)I was asked by email on what exactly I did to get conky-lua installed and working on 64bit Arch, so I thought I would post my reply below in case it is of help to anyone else. Cheers
Run "yaourt -S conky-lua". Amongst other things this will try to install a dependancy which you need to mess about with, the package you need to edit is "toluapp".
When the "toluapp" package is downloaded by yaourt answer y to the edit question and provide something like gedit or kate as the editor to use
You'll now see the PKGBUILD file in the editor, this doesn't need editing just yet. But if you open file from the editor you'll see the directory thie PKGBUILD is in, and you want to edit the config_linux.py file you'll see there.
You should see this line in the config_linux.py file:
CCFLAGS = ['-O2', '-ansi', '-Wall']
Change it so it is like this:
CCFLAGS = ['-O2', '-ansi', '-Wall', '-fPIC']
Now, back to the PKGBUILD file, you'll see this line:
md5sums=('100aa6907b8108582080b37d79c0afd7' 'bab107cdd2d18d3453a2344341b77c45')
These checksums line up with tarball and config_linux.py files, and this will stop you're edit from working if not amended because the .py file isn't what it should be, we changed it. So run md5sum against the .py file and update the second checksum in the line appropriately.
Carry on with the package installation and conky should have lua support
Last edited by kaivalagi (2010-01-14 08:50:55) -
[SOLVED] Error building conky 1.8.0 from ABS
Hello,
Since conky 1.8.1 has a bug with fonts, I'm trying to build conky 1.8.0. I got the PKGBUILD from the ABS and modified it to install 1.8.0. I also had to include a fix for curl, found here:
http://aur.archlinux.org/packages.php?ID=31589.
However, during make I get the following error:
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
make[1]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
make: *** [install-recursive] Fout 1
==> ERROR: A failure occurred in package().
Aborting...
It says that "nothing has to be done for..."
Here's my PKGBUILD:
pkgname=conky
pkgver=1.8.0
pkgrel=3
pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
arch=('i686' 'x86_64')
url='http://conky.sourceforge.net/'
license=('custom')
replaces=('torsmo')
makedepends=('pkg-config')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
'current-power.patch')
md5sums=('3fcc5bc005c6c046587134cdb9fdadfa'
'eec51b5ccd242ed95b3b0a0fdd3252f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../current-power.patch # See FS#21984
sed -i '
/#include <curl\/types.h>/ c\
//#include <curl/types.h>' src/eve.c
sed -i '
/#include <curl\/types.h>/ c\
//#include <curl/types.h>' src/ccurl_thread.c
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-ibm \
--enable-curl \
--enable-rss \
--enable-weather-xoap \
--enable-imlib2 \
--disable-lua \
--enable-wlan \
make
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
Last edited by Unia (2011-08-18 10:33:56)I will try to built again and post the full output!
EDIT: Here you go:
┌─[jente@lappy conky 1.8.0][17:07:13]
└─■ LC_ALL=C makepkg -si
==> Making package: conky 1.8.0-3 (Wed Aug 17 17:07:24 CEST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found conky-1.8.0.tar.gz
-> Found current-power.patch
==> Validating source files with md5sums...
conky-1.8.0.tar.gz ... Passed
current-power.patch ... Passed
==> Extracting Sources...
-> Extracting conky-1.8.0.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
patching file src/linux.c
Hunk #1 succeeded at 1654 (offset -17 lines).
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for X11... yes
checking for Imlib2... yes
checking iwlib.h usability... yes
checking iwlib.h presence... yes
checking for iwlib.h... yes
checking for iw_sockets_open in -liw... yes
checking for getnameinfo... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for GLib2... yes
checking for libcurl... yes
checking for libxml2... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for alsa/asoundlib.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... xsltproc
checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.8.0 configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W
Libraries: -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
Linker flags: -Wl,-O1
* X11:
X11 support: yes
XDamage support: yes
XDBE support: yes
Xft support: yes
ARGB support yes
* Music detection:
Audacious: no
BMPx: no
MPD: yes
MOC: yes
XMMS2: no
* General:
math: yes
hddtemp: yes
portmon: yes
RSS: yes
Curl: yes
Weather
METAR: yes
XOAP: yes
wireless: yes
IBM: yes
nvidia: no
eve-online: no
config-output: yes
Imlib2: yes
ALSA mixer: yes
apcupsd: yes
I/O stats: yes
* Lua (no) bindings:
Cairo: no
Imlib2: no
Making all in src
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make all-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
linux.c: In function 'update_net_stats':
linux.c:345:12: warning: variable 'has_bitrate' set but not used [-Wunused-but-set-variable]
linux.c: In function 'is_disk':
linux.c:2287:18: warning: 'dev_last' may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
conky.c: In function 'generate_text_internal':
conky.c:761:19: warning: variable 'needed' set but not used [-Wunused-but-set-variable]
conky.c: In function 'draw_each_line_inner':
conky.c:3099:13: warning: 'font_h' may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-conky.Tpo .deps/conky-conky.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-core.o -MD -MP -MF .deps/conky-core.Tpo -c -o conky-core.o `test -f 'core.c' || echo './'`core.c
mv -f .deps/conky-core.Tpo .deps/conky-core.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -lpthread -lm -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
libtool: link: gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -lpthread -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
Making all in doc
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
Making all in lua
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make all-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
Making all in data
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make install-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
test -z "/usr/bin" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin"
/bin/sh ../libtool --mode=install /bin/install -c conky '/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin'
libtool: install: /bin/install -c conky /home/jente/packages/arch/conky 1.8.0/pkg/usr/bin/conky
/bin/install: target `1.8.0/pkg/usr/bin/conky' is not a directory
make[3]: *** [install-binPROGRAMS] Error 1
make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
Making install in doc
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1"
/bin/install -c -m 644 conky.1 '/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
Making install in lua
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make install-am
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
test -z "/usr/lib/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/lib/conky"
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
Making install in data
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/etc/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky"
/bin/install -c -m 644 conky.conf conky_no_x11.conf '/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky'
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
Last edited by Unia (2011-08-17 15:08:43) -
[SOLVED] Question about conky-lua-arch.
I've managed to get conky-lua-arch up and working except for one minor issue. When I launch it, it automatically displays on the far right side of my 2nd monitor. This leads me to believe its alignment is pre-configured to run on the right side of the screen, which is fine, but how do I get it to be on the right side of my "primary" monitor instead? I've looked thru /usr/share/conky-lua-arch/clock-rings.lua but could not find an alignment or position parameter. I also could not find any other conky-lua-arch config files to look at. Any tips or suggestions are appreciated, thanks.
EDIT: The config file was located elsewhere. Solved.
Last edited by GunnDawg (2015-05-22 08:53:10)Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
-
[SOLVED] Conky lua problem (transparency)
Hi,
I'm trying to transfer my conky from Ubuntu to Arch: below is a screenshot of the Ubuntu version (what it should look like). On Arch I have a solid black background. If it's relevant, I'm running Archbang rather than pure Arch, so with Openbox.
My main issue at the moment is the semi-transparency (and I'd like to have the rounded corners too). I understand that conky 1.8.0 can do transparency, but only with a compositor, and I'd rather keep my system as light as possible. So I've replaced my conky with 1.7.2 conky-lua from AUR and (don't know if this was necessary) installed cairo and lua from the repos. Unfortunately the lua script I used on Ubuntu isn't working; when I run conky in the terminal I get the message ".conkyrc: 121: config file error". At lines 120 and 121 I have my
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre
My .conkyrc and lua script are below. Thanks for looking!
# conky configuration
# edited by Mark Buck (Kaivalagi) <[email protected]>
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=9
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1.0
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 700
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
draw_graph_borders yes
# Stippled borders?
stippled_borders 8
# border margins
border_inner_margin 2
border_outer_margin 2
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# own window options
own_window yes
own_window_type desktop
#own_window_hints undecorated,skip_taskbar
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 35
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
# colours
color1 white
# light blue
color2 6892C6
color3 6892C6
# green
color4 78BF39
# red
color5 CC0000
color6 88ff88
text_buffer_size 2048
# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
# stuff after 'TEXT' will be formatted on screen
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre
TEXT
${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Weather${font} ${hr}${color1}
${execpi 1800 conkyForecast --location=MZXX0003 --template=/home/mark/conky/conkyForecast.template}
${goto 25}${color1}${font Bitstream Vera Sans Mono:size=14}${execi 1800 conkyForecast --location=MZXX0003 --datatype=CT}${font}
${goto 20}${font ConkyWeather:style=Bold:size=30}${execi 1800 conkyForecast --location=MZXX0003 --datatype=WF} ${goto 120}${font ConkyWindNESW:size=30}${execi 1800 conkyForecast --location=MZXX0003 --datatype=BS}${font}
${goto 10}${execi 1800 conkyForecast --location=MZXX0003 --datatype=HT --centeredwidth=4}/${execi 1800 conkyForecast --location=MZXX0003 --datatype=LT --centeredwidth=4} ${goto 100}${execi 1800 conkyForecast --location=MZXX0003 --datatype=WS --imperial} - ${execi 1800 conkyForecast --location=MZXX0003 --datatype=WD}
$if_mpd_playing${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}Music${font} ${hr}${color1}
${font Bitstream Vera Sans:size=9}${color2}MPD:${color6} $mpd_status
${color}${texeci 10 /home/mark/conky/composer.sh}
${font Bitstream Vera Sans:size=9}$color$mpd_artist
${font Bitstream Vera Sans:size=9}$mpd_album
${font Bitstream Vera Sans:size=9}$mpd_title
${color #ccddff} ${mpd_bar 5, 100}
$endif
${offset -5}${font StyleBats:style=CleanCut:size=12}q ${voffset -2}${font Bitstream Vera Sans Mono:style=Bold:size=11}${color1}System${font} ${hr}${color1}
${color2}CPU Temp: ${color}${acpitemp}${color}°${font Bitstream Vera Sans Mono:size=9}
$color2}CPU1: $color${cpu cpu1}% ${cpubar cpu1 4,65}${font Bitstream Vera Sans Mono:size=9}
$color2}CPU2: $color${cpu cpu2}% ${cpubar cpu2 4,65}${font Bitstream Vera Sans Mono:size=9}
${color2}RAM:$color $mem/$memmax
${color2}Root: $color${fs_used /}/${fs_size /}${font Bitstream Vera Sans Mono:size=9}
${color2}Home: $color${fs_used /home/}/${fs_size /home/}${font Bitstream Vera Sans Mono:size=9}
${color2}Today:${color6}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $5 $6}'}${goto 120}${color1}${execi 10 vnstat -i eth0 | grep "today" | awk '{print $8 $9}'}
${color2}Week: ${color6}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $6 $7}'}${goto 120}${color1}${execi 10 vnstat -i eth0 -w | grep "current week" | awk '{print $9 $10}'}
${color2}Month: ${color6}${execi 10 vnstat -i eth0 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}${goto 120}${color1}${execi 10 vnstat -i eth0 -m | grep "`date +"%b '%y"`" | awk '{print $9 $10}'}${font}
${color2}Battery:$color ${color red}${battery_bar 4,50 BAT0}
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre
Changelog:
+ v1.0 -- Original release (07.10.2009)
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=15
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x000000
bg_alpha=0.4
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end
Last edited by Henry Flower (2010-04-13 04:54:08)The error in line 121 is because of lua_draw_hook_pre command must have a function name. In your file, it would be:
lua_draw_hook_pre draw_bg
To get the transparency put the command:
own_window_transparent yes
I have tried this in an AwesomeWM, with conky 1.8.0 compiled with lua support, and without compositing. -
I was trying to install conky-lua when I got this error, and I don't know how to proceed from here.
Please help.
Last edited by Laplace_ (2009-12-29 05:15:15)http://dpaste.com/138484/ wrote:llua.c:29:21: error: tolua++.h: No such file or directory
This is because toluapp installs to / instead of /usr. Change its installation command to this:
scons prefix="$pkgdir/usr" install
I've made a comment on the toluapp AUR page regarding this. -
I am receiving the following error after installing conky-lua from AUR:
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Conky: llua_do_call: function conky_main execution failed: attempt to call a nil value
Here is what my conky looks like:
Conky error
And here are the text files:
conkyrc-blue
background yes
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
double_buffer yes
no_buffers yes
text_buffer_size 2048
gap_x 10
gap_y 240
minimum_size 210 450
maximum_width 210
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
border_inner_margin 0
border_outer_margin 0
alignment tr
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
override_utf8_locale yes
use_xft yes
xftfont Dejavu Sans:size=8
xftalpha 0.5
uppercase no
default_color 1994D1
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 666666
lua_load /home/terry/.conky/conky_grey.lua
lua_draw_hook_post main
TEXT
${voffset 35}
${goto 95}${color4}${font Dejavu Sans:size=22}${time %e}${color1}${offset -50}${font Dejavu Sans:size=10}${time %A}
${goto 85}${color2}${voffset -2}${font Dejavu Sans:size=9}${time %b}${voffset -2} ${color3}${font Dejavu Sans:size=12}${time %Y}${font}
${voffset 80}
${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}CPU$
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}%
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}%
${goto 90}${cpugraph 10,100 666666 666666}
${goto 90}${voffset -10}${font Dejavu Sans:size=7,weight:normal}${color}${threads} process
${voffset 20}
${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}MEM - ${mem}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}%
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}%
${voffset 15}
${goto 90}${font Dejavu Sans:size=7,weight:bold}${color}DISKS
${goto 90}${diskiograph 30,100 666666 666666}${voffset -30}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color}used: ${fs_used /home/terry} /home/terry
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color}used: ${fs_used /} /
${voffset 10}
${goto 70}${font Dejavu Sans:size=18,weight:bold}${color3}NET${alignr}${color2}${font Dejavu Sans:size=7,weight:bold}${color}${if_up wlan0}wifi ${addr wlan0}${endif}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Up: ${upspeed wlan0}${goto 90}${font}${alignr}${color3}${upspeedgraph wlan0 8,50}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Down: ${downspeed wlan0}${goto 90}${font}${alignr}${color3}${downspeedgraph wlan0 8,40}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Total Up: ${totalup wlan0}
${goto 90}${font Dejavu Sans:size=7,weight:normal}${color1}Total Down: ${totaldown wlan0}
conky_grey.lua
==============================================================================
-- conky_grey.lua
-- author : SLK
-- version : v2011011001
-- license : Distributed under the terms of GNU GPL version 2 or later
--==============================================================================
require 'cairo'
-- clock DATA
-- HOURS
clock_h = {
name='time', arg='%H', max_value=12,
x=110, y=80,
graph_radius=53,
graph_thickness=3,
graph_unit_angle=30, graph_unit_thickness=30,
graph_bg_colour=0xffffff, graph_bg_alpha=0.0,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.3,
txt_radius=34,
txt_weight=1, txt_size=10.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.6,
graduation_radius=53,
graduation_thickness=6, graduation_mark_thickness=2,
graduation_unit_angle=30,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
-- MINUTES
clock_m = {
name='time', arg='%M', max_value=60,
x=110, y=80,
graph_radius=57,
graph_thickness=2,
graph_unit_angle=6, graph_unit_thickness=6,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.3,
txt_radius=70,
txt_weight=0, txt_size=9.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.6,
graduation_radius=57,
graduation_thickness=0, graduation_mark_thickness=2,
graduation_unit_angle=30,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
-- SECONDS
clock_s = {
name='time', arg='%S', max_value=60,
x=110, y=80,
graph_radius=50,
graph_thickness=2,
graph_unit_angle=6, graph_unit_thickness=2,
graph_bg_colour=0xffffff, graph_bg_alpha=0.0,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.2,
txt_radius=40,
txt_weight=0, txt_size=12.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
graduation_radius=0,
graduation_thickness=0, graduation_mark_thickness=0,
graduation_unit_angle=0,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.0,
-- gauge DATA
gauge = {
name='cpu', arg='cpu0', max_value=100,
x=85, y=200,
graph_radius=24,
graph_thickness=5,
graph_start_angle=180,
graph_unit_angle=2.7, graph_unit_thickness=2.7,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
txt_radius=34,
txt_weight=0, txt_size=8.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
graduation_radius=28,
graduation_thickness=0, graduation_mark_thickness=1,
graduation_unit_angle=27,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
caption='',
caption_weight=1, caption_size=8.0,
caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
name='cpu', arg='cpu1', max_value=100,
x=85, y=200,
graph_radius=18,
graph_thickness=5,
graph_start_angle=180,
graph_unit_angle=2.7, graph_unit_thickness=2.7,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
txt_radius=10,
txt_weight=0, txt_size=8.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
graduation_radius=28,
graduation_thickness=0, graduation_mark_thickness=1,
graduation_unit_angle=27,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
caption='',
caption_weight=1, caption_size=8.0,
caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
name='memperc', arg='', max_value=100,
x=85, y=300,
graph_radius=24,
graph_thickness=5,
graph_start_angle=180,
graph_unit_angle=2.7, graph_unit_thickness=2.7,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
txt_radius=10,
txt_weight=0, txt_size=8.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.3,
graduation_radius=23,
graduation_thickness=8, graduation_mark_thickness=2,
graduation_unit_angle=27,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
caption='',
caption_weight=1, caption_size=8.0,
caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.3,
name='fs_used_perc', arg='/', max_value=100,
x=85, y=380,
graph_radius=24,
graph_thickness=5,
graph_start_angle=180,
graph_unit_angle=2.7, graph_unit_thickness=2.7,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
txt_radius=34,
txt_weight=0, txt_size=8.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.5,
graduation_radius=28,
graduation_thickness=0, graduation_mark_thickness=1,
graduation_unit_angle=27,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
caption='/',
caption_weight=1, caption_size=8.0,
caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.5,
name='fs_used_perc', arg='/home/terry', max_value=100,
x=85, y=380,
graph_radius=18,
graph_thickness=5,
graph_start_angle=180,
graph_unit_angle=2.7, graph_unit_thickness=2.7,
graph_bg_colour=0xffffff, graph_bg_alpha=0.1,
graph_fg_colour=0xFFFFFF, graph_fg_alpha=0.5,
hand_fg_colour=0xEF5A29, hand_fg_alpha=0.0,
txt_radius=10,
txt_weight=0, txt_size=8.0,
txt_fg_colour=0xFFFFFF, txt_fg_alpha=0.5,
graduation_radius=28,
graduation_thickness=0, graduation_mark_thickness=1,
graduation_unit_angle=27,
graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
caption='/data',
caption_weight=1, caption_size=8.0,
caption_fg_colour=0xFFFFFF, caption_fg_alpha=0.5,
-- rgb_to_r_g_b
-- converts color in hexa to decimal
function rgb_to_r_g_b(colour, alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
-- angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
function angle_to_position(start_angle, current_angle)
local pos = current_angle + start_angle
return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end
-- draw_clock_ring
-- displays clock
function draw_clock_ring(display, data, value)
local max_value = data['max_value']
local x, y = data['x'], data['y']
local graph_radius = data['graph_radius']
local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
local graph_unit_angle = data['graph_unit_angle']
local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
-- background ring
cairo_arc(display, x, y, graph_radius, 0, 2 * math.pi)
cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
cairo_set_line_width(display, graph_thickness)
cairo_stroke(display)
-- arc of value
local val = (value % max_value)
local i = 1
while i <= val do
cairo_arc(display, x, y, graph_radius,( ((graph_unit_angle * i) - graph_unit_thickness)*(2*math.pi/360) )-(math.pi/2),((graph_unit_angle * i) * (2*math.pi/360))-(math.pi/2))
cairo_set_source_rgba(display,rgb_to_r_g_b(graph_fg_colour,graph_fg_alpha))
cairo_stroke(display)
i = i + 1
end
local angle = (graph_unit_angle * i) - graph_unit_thickness
-- graduations marks
local graduation_radius = data['graduation_radius']
local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
local graduation_unit_angle = data['graduation_unit_angle']
local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
local nb_graduation = 360 / graduation_unit_angle
local i = 1
while i <= nb_graduation do
cairo_set_line_width(display, graduation_thickness)
cairo_arc(display, x, y, graduation_radius, (((graduation_unit_angle * i)-(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2),(((graduation_unit_angle * i)+(graduation_mark_thickness/2))*(2*math.pi/360))-(math.pi/2))
cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
cairo_stroke(display)
cairo_set_line_width(display, graph_thickness)
i = i + 1
end
end
-- text
local txt_radius = data['txt_radius']
local txt_weight, txt_size = data['txt_weight'], data['txt_size']
local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
local movex = txt_radius * (math.cos((angle * 2 * math.pi / 360)-(math.pi/2)))
local movey = txt_radius * (math.sin((angle * 2 * math.pi / 360)-(math.pi/2)))
cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight);
cairo_set_font_size (display, txt_size);
cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha));
cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3);
cairo_show_text (display, value);
cairo_stroke (display);
end
-- draw_gauge_ring
-- displays gauges
function draw_gauge_ring(display, data, value)
local max_value = data['max_value']
local x, y = data['x'], data['y']
local graph_radius = data['graph_radius']
local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
local graph_start_angle = data['graph_start_angle']
local graph_unit_angle = data['graph_unit_angle']
local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
local graph_end_angle = (max_value * graph_unit_angle) % 360
-- background ring
cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
cairo_set_line_width(display, graph_thickness)
cairo_stroke(display)
-- arc of value
local val = value % (max_value + 1)
local start_arc = 0
local stop_arc = 0
local i = 1
while i <= val do
start_arc = (graph_unit_angle * i) - graph_unit_thickness
stop_arc = (graph_unit_angle * i)
cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
cairo_stroke(display)
i = i + 1
end
local angle = start_arc
-- hand
start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
stop_arc = (graph_unit_angle * val)
cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
cairo_stroke(display)
-- graduations marks
local graduation_radius = data['graduation_radius']
local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
local graduation_unit_angle = data['graduation_unit_angle']
local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
local nb_graduation = graph_end_angle / graduation_unit_angle
local i = 0
while i < nb_graduation do
cairo_set_line_width(display, graduation_thickness)
start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
cairo_stroke(display)
cairo_set_line_width(display, graph_thickness)
i = i + 1
end
end
-- text
local txt_radius = data['txt_radius']
local txt_weight, txt_size = data['txt_weight'], data['txt_size']
local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
cairo_set_font_size (display, txt_size)
cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
cairo_show_text (display, value)
cairo_stroke (display)
-- caption
local caption = data['caption']
local caption_weight, caption_size = data['caption_weight'], data['caption_size']
local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
cairo_set_font_size (display, caption_size)
cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
cairo_move_to (display, x + tox + 5, y + toy + 1)
-- bad hack but not enough time !
if graph_start_angle < 105 then
cairo_move_to (display, x + tox - 30, y + toy + 1)
end
cairo_show_text (display, caption)
cairo_stroke (display)
end
-- go_clock_rings
-- loads data and displays clock
function go_clock_rings(display)
local function load_clock_rings(display, data)
local str, value = '', 0
str = string.format('${%s %s}',data['name'], data['arg'])
str = conky_parse(str)
value = tonumber(str)
draw_clock_ring(display, data, value)
end
for i in pairs(clock_h) do
load_clock_rings(display, clock_h[i])
end
for i in pairs(clock_m) do
load_clock_rings(display, clock_m[i])
end
for i in pairs(clock_s) do
load_clock_rings(display, clock_s[i])
end
end
-- go_gauge_rings
-- loads data and displays gauges
function go_gauge_rings(display)
local function load_gauge_rings(display, data)
local str, value = '', 0
str = string.format('${%s %s}',data['name'], data['arg'])
str = conky_parse(str)
value = tonumber(str)
draw_gauge_ring(display, data, value)
end
for i in pairs(gauge) do
load_gauge_rings(display, gauge[i])
end
end
-- MAIN
function conky_main()
if conky_window == nil then
return
end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
local display = cairo_create(cs)
local updates = conky_parse('${updates}')
update_num = tonumber(updates)
if update_num > 5 then
go_clock_rings(display)
go_gauge_rings(display)
end
endSorry, I wanted to put code tags, but I was unaware of the command. I am running conky-lua-nv 1.8.0-1 from the AUR. There also seems to be some issue with the drawing of the rings, as it shows percents but not the graphical rings that go with it. I suspect it has something to do with the lua file. Anyone see any issue?
-
[SOLVED] Help with updating conky-colors PKGBUILD
I'm looking to update my PKGBUILD for https://aur.archlinux.org/packages/conky-colors/ to support the latest version. After getting annoyed with DeviantArt replacing the zips of the package when it is updated upstream, I've decided to pull in specific commits from the git repo instead. I'm trying to use the ...#commit= option on the source line. It seems to be building ok but I'm getting the following errors:
/usr/bin/makepkg: eval: line 2225: unexpected EOF while looking for matching `"'
/usr/bin/makepkg: eval: line 2226: syntax error: unexpected end of file
Can anyone give any help as to what may be the cause here. If i remove the #commit it goes away. I need to clean up the depends section to remove those that are no longer needed, but I can do that easy enough.
# Maintainer: Android_808 <android underscore 808 at hotmail dot com>
# Contributor: Pauline123 <321eniluap at gmail dot com>
# Contributor: Shanto <shanto at hotmail>
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
pkgname=conky-colors
_pkgname=conky_colors
pkgver=9.0
pkgrel=1
pkgdesc="An easier way to configure Conky."
arch=('i686' 'x86_64')
url="http://gnome-look.org/content/show.php/CONKY-colors?content=92328"
license=('GPL')
depends=('pystatgrab' 'ttf-liberation' 'hddtemp' 'curl' 'lm_sensors' 'conky' 'ttf-droid' 'ttf-ubuntu-font-family' 'ttf-ms-fonts')
makedepends=('perl' 'git')
optdepends=('conky-lua')
conflicts=('ttf-openlogos' 'ttf-weather')
options="!strip"
install=$pkgname.install
source=("$pkgname::git+https://github.com/helmuthdu/conky_colors.git#commit=f4b530a94d5f3f73d4c21c4417c51b6011a71b28")
md5sums=('SKIP')
build() {
cd "$srcdir/conky-colors"
make
package() {
cd "$srcdir/conky-colors"
mkdir -p ${pkgdir}/usr/share
mkdir -p ${pkgdir}/usr/share/fonts
mkdir -p ${pkgdir}/usr/bin
cp -v conky-colors ${pkgdir}/usr/bin
cp -v -r conkycolors ${pkgdir}/usr/share
#cp -v -r fonts ${pkgdir}/usr/share/conkycolors
cp -v -r fonts/conkycolors ${pkgdir}/usr/share/fonts/TTF
ln -fs /usr/share/conkycolors/bin/conkyTask ${pkgdir}/usr/bin/ct
#ln -fs /usr/share/conkycolors/fonts/conkycolors ${pkgdir}/usr/share/fonts/
chmod +x ${pkgdir}/usr/share/conkycolors/scripts/*
chmod +x ${pkgdir}/usr/share/conkycolors/bin/*
chmod -R 755 ${pkgdir}/usr/share/conkycolors/
Last edited by android_808 (2013-11-11 19:33:06)I didn't post the install earlier because I've never had an issue with it, been using the same file for several releases of several custom built packages. The eval: lines posted appear before "Making package: conky-colors 9.0-1 (Mon 11 Nov 18:58:03 GMT 2013)" but doesn't prevent it from building. Just don't get what's causing them.
Install files "s have matching end ", brackets have brackets. namcap PKGBUILD gave no error.
PKGBUILD ' has matching '
" has matching "
( has matching ) -
I can't seems to get conky-lua install nor build. This is the error I got.
gcc: error: /tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua/.libs/libcairo.so: No such file or directory
make[2]: *** [libcairo.la] Error 1
make[2]: Leaving directory `/tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/packerbuild-1000/conky-lua/conky-lua/src/conky-1.9.0/lua'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Using PKGBUILD from AUR. Tried both way, using AUR helper packer -S conky-lua and download PKGBUILD and makepkg it still give me the same error. Anyone would be kind enough to tell me what did I do wrong?Joxy wrote:
Actually, you did install conky, it just installed with a warning.
As far as I know, you can safely ignore that warning.
What is this warning anyway?
conky needs to get its directory permission fixed. Please submit a bug report.
Someone had same problem with nitrogen and conky and reported a bug (cant find link right now). Should I report a bug also?
The warning is just what it says. Permissions for the directory /man/man1 in the package differs on the one in your system. Permissions should be set right in the PKGBUILD. You may try to contact the contributors of the PKGBUILDs (conky, nitrogen,..) and tell them that -> bugreport. -
while trying to run a conky lua script i get this out put
no field package.preload['cairo']
no file './cairo.lua'
no file '/usr/share/lua/5.1/cairo.lua'
no file '/usr/share/lua/5.1/cairo/init.lua'
no file '/usr/lib/lua/5.1/cairo.lua'
no file '/usr/lib/lua/5.1/cairo/init.lua'
no file './cairo.so'
no file '/usr/lib/lua/5.1/cairo.so'
no file '/usr/lib/lua/5.1/loadall.so'
i have installed conky-lua-nv and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
here is conky -v output
Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* config-output
* Imlib2
* apcupsd
* iostats
* ncurses
* Lua
Lua bindings:
* Cairo
* Imlib2
edit
nothing appears to be in the folder even resembling cairo
Last edited by xcabal (2012-08-19 00:22:05)xcabal wrote:
while trying to run a conky lua script i get this out put
no field package.preload['cairo']
no file './cairo.lua'
no file '/usr/share/lua/5.1/cairo.lua'
no file '/usr/share/lua/5.1/cairo/init.lua'
no file '/usr/lib/lua/5.1/cairo.lua'
no file '/usr/lib/lua/5.1/cairo/init.lua'
no file './cairo.so'
no file '/usr/lib/lua/5.1/cairo.so'
no file '/usr/lib/lua/5.1/loadall.so'
i have installed conky-lua-nv and all dependices are installed, what am i missing to get this running i have tried googling the answer but nothing helped.
here is conky -v output
Conky 1.9.0 compiled Sat Aug 18 20:07:34 EDT 2012 for Linux 3.4.9-1-ARCH (x86_64)
Compiled in features:
System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* Curl
* RSS
* wireless
* support for IBM/Lenovo notebooks
* nvidia
* config-output
* Imlib2
* apcupsd
* iostats
* ncurses
* Lua
Lua bindings:
* Cairo
* Imlib2
edit
nothing appears to be in the folder even resembling cairo
Did you check the AUR, or the Wiki? Go check the AUR package for Conky-lua and see if any of the comments on there are helpful, please. -
Recently bought CS3, overjoyed with most of it. Encore is giving me serious trouble though at the moment! The problem is that it simply will not burn to a dual layer disc! When we try to burn it to disc it begins the process, wizzing through different elements, then when it gets to 'sorting files'it stops with the message 'Access Denied' If we split the Wedding video in half it will burn to a standard DVD, but it will not burn to dual layer.We installed an additional, external writer in case the problem was with the hardware, but again it would not burn to dual layer. We attempted to build the dvd as an 'image' to the harddrive to then burn to dual layer through nero. This worked for a much smaller file, but when we tried to burn the larger file to the harddrive as an Image, 'Access Denied'!! We've tried everything we can think of, ...but if anyone else can think of a way to fix this, please let us know as we are in the final stages of the video project for a client and simply cannot get the project onto disc! When we 'check project', there are no errors listed. We've tried transcoding it to 7gb 1pass, and importing it from Premire pro without transcoding it, thereby letting Encore set the settings, but no joy. Thanks, Justin.
Rather than disabling UAC (or turning it down in Win7), just run Encore as Administrator. Right-click, and select Run As Administrator. Works fine for me in Windows 7 Professional 64 bit. Doing it this way you still get the benefits of UAC.
-
Hi
I am getting below error.
The query does not reference any table when attempting to build the WHERE clause. (IES 00022)
This error is in Validating Measue object in IDT.
It is not throwing error for dimensions objects but only for measure objects.
My BO version is 4.1
Backend is Teradata 14.1.
Regards
Gaurav.Hi
In the dimension/Measure definition, you can select the table. Find the below screenshot.
If you still getting the issue…Can you please share your screenshot, for better understanding the issue? -
If you are attempting to build muscle, you need
Testo Black X If you are attempting to build muscle, you need to have a sufficient amount of carbs. Carbohydrates are essential for the energy you need to last through your weight training workouts. If you don't get enough carbs, your body will start to break down protein for energy. By eating enough good carbohydrates, your body will function well and you will have the energy you need to finish your workout. Read More >>> http://www.perfecthealthcentre.com/testo-black-x/
Not that hard. One the computer you are using do the following:
- Transfer iTunes purchases.
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
- Transfer other music using a third-party program like one of those discussed here.
Copy music
- If you have synced photos you need a paid program like TouchCopy or PhoneView
- When all the media in on the computer, connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
- Restore the iPod from that backup.
That computer is now your syncing computer. Note that the iPod backup that iTunes makes does not included synced media like apps or music. -
Attempting to build libarchive from git but failing [SOLVED]
Here is my draft PKGBUILD for libarchive-git:
# Maintainer: graysky <graysky AT arcnlinux DOT us>
pkgname=libarchive-git
pkgver=20120804
pkgrel=1
pkgdesc="Library that can create and read several streaming archive formats. Git version."
arch=('i686' 'x86_64')
url="http://libarchive.googlecode.com/"
license=('BSD')
depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat' 'lrzip')
makedepends=('git')
provides=('libarchive')
conflicts=('libarchive')
_gitroot=https://github.com/libarchive/libarchive.git
_gitname=libarchive
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "$_gitname" ]]; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
./build/autogen.sh
./configure --prefix=/usr --without-xml2
make
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING
# vim:set ts=2 sw=2 et:
My build dies at the make step in the build function. Build log on pastebin. Love to hear suggestions from more advanced users.
Thanks!
EDIT: tried adding a --disable-acl to the configure step which does get further but still dies in errors:
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
collect2: error: ld returned 1 exit status
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
collect2: error: ld returned 1 exit status
make[1]: *** [bsdcpio] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [bsdtar] Error 1
make[1]: Leaving directory `/scratch/src/libarchive-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Last edited by graysky (2012-08-05 19:46:29)OK... upstream fixed. https://groups.google.com/forum/#!topic … b_qTv6JEuo
-
Cannot build conky 1.8.2 (abs)
[doctor@doctor abs]$ abs extra/conky
==> Starting ABS sync...
receiving file list ... done
extra/
extra/conky/
extra/conky/PKGBUILD
extra/conky/PKGBUILD.cmake
sent 124 bytes received 2993 bytes 890.57 bytes/sec
total size is 2759 speedup is 0.89
[doctor@doctor abs]$ cp ~/Desktop/PKGBUILD /var/abs/extra/conky/PKGBUILD
[doctor@doctor abs]$ cd extra/conky/
[doctor@doctor conky]$ makepkg
==> Making package: conky 1.8.2git20111107-1 (Tue Dec 20 13:58:28 EET 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading conky-1.8.2git20111107.tar.xz...
--2011-12-20 13:58:28-- ftp://ftp.archlinux.org/other/conky/conky-1.8.2git20111107.tar.xz
=> `conky-1.8.2git20111107.tar.xz.part'
Resolving ftp.archlinux.org... 209.85.41.143, 209.85.41.144
Connecting to ftp.archlinux.org|209.85.41.143|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /other/conky ... done.
==> SIZE conky-1.8.2git20111107.tar.xz ... 244616
==> PASV ... done. ==> RETR conky-1.8.2git20111107.tar.xz ... done.
Length: 244616 (239K) (unauthoritative)
100%[========================================================================================================================================================>] 244,616 54.1K/s in 4.5s
2011-12-20 13:58:36 (52.8 KB/s) - `conky-1.8.2git20111107.tar.xz.part' saved [244616]
==> Validating source files with sha1sums...
conky-1.8.2git20111107.tar.xz ... Passed
==> Extracting Sources...
-> Extracting conky-1.8.2git20111107.tar.xz with bsdtar
==> Starting build()...
Running aclocal -I m4 ...
Running libtoolize --force --copy ...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running autoheader ...
Running automake --add-missing --copy --gnu ...
configure.ac:37: installing `./compile'
configure.ac:33: installing `./config.guess'
configure.ac:33: installing `./config.sub'
configure.ac:17: installing `./install-sh'
configure.ac:17: installing `./missing'
lua/Makefile.am: installing `./depcomp'
Running autoconf ...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking how to print strings... printf
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for fopencookie... yes
checking for funopen... no
checking for X11... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... tolua++
checking for library containing tolua_error... -ltolua++
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for libcurl... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/stat.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for sys/mount.h... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking for calloc... yes
checking for malloc... yes
checking for free... yes
checking for popen... yes
checking for sysinfo... yes
checking for getloadavg... yes
checking for memrchr... yes
checking for strndup... yes
checking for gethostbyname_r... yes
checking for library containing clock_gettime... -lrt
checking for struct statfs.f_fstypename... no
checking for db2x_xsltproc... db2x_xsltproc
checking for db2x_manxml... db2x_manxml
checking for xsltproc... xsltproc
checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/build.h
config.status: creating lua/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
conky 1.8.2_preNONE configured successfully:
Installing into: /usr
System config dir: /etc
C compiler flags: -I/usr/include/freetype2 -Wall -W
Libraries: -lX11 -llua -lm -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lXext -lXdamage -lXfixes -lXft -lcurl -lrt -ltolua++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
Linker flags: -Wl,-O1
* X11:
X11 support: yes
XDamage support: yes
XDBE support: yes
Xft support: yes
ARGB support yes
* Music detection:
Audacious: no
BMPx: no
MPD: no
MOC: no
XMMS2: no
* General:
math: no
hddtemp: yes
portmon: no
RSS: no
Curl: yes
Weather
METAR: no
XOAP: no
wireless: no
IBM: no
nvidia: no
eve-online: no
config-output: yes
Imlib2: no
ALSA mixer: no
apcupsd: yes
I/O stats: yes
ncurses: no
* Lua (yes) bindings:
Cairo: yes
Imlib2: no
Making all in src
make[1]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
sh ./../text2c.sh ./../data/conky.conf defconfig.h defconfig
make all-am
make[2]: Entering directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conf_cookie.o -MD -MP -MF .deps/conky-conf_cookie.Tpo -c -o conky-conf_cookie.o `test -f 'conf_cookie.c' || echo './'`conf_cookie.c
mv -f .deps/conky-conf_cookie.Tpo .deps/conky-conf_cookie.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
linux.c: In function ‘get_battery_stuff’:
linux.c:1908:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_acpi_ac_adapter’:
linux.c:1405:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_acpi_fan’:
linux.c:1329:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_load_average’:
linux.c:825:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_threads’:
linux.c:592:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_net_stats’:
linux.c:364:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
linux.c:365:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_gateway_info’:
linux.c:288:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_ioscheduler’:
linux.c:230:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘get_laptop_mode’:
linux.c:208:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘update_uptime’:
linux.c:126:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
linux.c: In function ‘is_disk’:
linux.c:2311:18: warning: ‘dev_last’ may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-users.o -MD -MP -MF .deps/conky-users.Tpo -c -o conky-users.o `test -f 'users.c' || echo './'`users.c
mv -f .deps/conky-users.Tpo .deps/conky-users.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-sony.o -MD -MP -MF .deps/conky-sony.Tpo -c -o conky-sony.o `test -f 'sony.c' || echo './'`sony.c
mv -f .deps/conky-sony.Tpo .deps/conky-sony.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-i8k.o -MD -MP -MF .deps/conky-i8k.Tpo -c -o conky-i8k.o `test -f 'i8k.c' || echo './'`i8k.c
mv -f .deps/conky-i8k.Tpo .deps/conky-i8k.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-x11.o -MD -MP -MF .deps/conky-x11.Tpo -c -o conky-x11.o `test -f 'x11.c' || echo './'`x11.c
mv -f .deps/conky-x11.Tpo .deps/conky-x11.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-fonts.o -MD -MP -MF .deps/conky-fonts.Tpo -c -o conky-fonts.o `test -f 'fonts.c' || echo './'`fonts.c
mv -f .deps/conky-fonts.Tpo .deps/conky-fonts.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-hddtemp.o -MD -MP -MF .deps/conky-hddtemp.Tpo -c -o conky-hddtemp.o `test -f 'hddtemp.c' || echo './'`hddtemp.c
mv -f .deps/conky-hddtemp.Tpo .deps/conky-hddtemp.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-llua.o -MD -MP -MF .deps/conky-llua.Tpo -c -o conky-llua.o `test -f 'llua.c' || echo './'`llua.c
mv -f .deps/conky-llua.Tpo .deps/conky-llua.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-apcupsd.o -MD -MP -MF .deps/conky-apcupsd.Tpo -c -o conky-apcupsd.o `test -f 'apcupsd.c' || echo './'`apcupsd.c
apcupsd.c: In function ‘update_apcupsd’:
apcupsd.c:219:7: warning: ‘sock’ may be used uninitialized in this function [-Wuninitialized]
mv -f .deps/conky-apcupsd.Tpo .deps/conky-apcupsd.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-iconv_tools.o -MD -MP -MF .deps/conky-iconv_tools.Tpo -c -o conky-iconv_tools.o `test -f 'iconv_tools.c' || echo './'`iconv_tools.c
mv -f .deps/conky-iconv_tools.Tpo .deps/conky-iconv_tools.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-colours.o -MD -MP -MF .deps/conky-colours.Tpo -c -o conky-colours.o `test -f 'colours.c' || echo './'`colours.c
mv -f .deps/conky-colours.Tpo .deps/conky-colours.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-combine.o -MD -MP -MF .deps/conky-combine.Tpo -c -o conky-combine.o `test -f 'combine.c' || echo './'`combine.c
mv -f .deps/conky-combine.Tpo .deps/conky-combine.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-common.o -MD -MP -MF .deps/conky-common.Tpo -c -o conky-common.o `test -f 'common.c' || echo './'`common.c
mv -f .deps/conky-common.Tpo .deps/conky-common.Po
gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
conky.c: In function ‘generate_text_internal’:
conky.c:887:7: error: unknown type name ‘bool’
conky.c:887:28: error: ‘false’ undeclared (first use in this function)
conky.c:887:28: note: each undeclared identifier is reported only once for each function it appears in
conky.c:892:17: error: ‘true’ undeclared (first use in this function)
conky.c:742:19: warning: variable ‘needed’ set but not used [-Wunused-but-set-variable]
conky.c: In function ‘draw_each_line_inner’:
conky.c:2827:6: warning: variable ‘last_special_needed’ set but not used [-Wunused-but-set-variable]
make[2]: *** [conky-conky.o] Error 1
make[2]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/abs/extra/conky/src/conky-1.8.2git20111107/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
My PKGBUILD is
# $Id: PKGBUILD 142242 2011-11-07 05:35:59Z bisson $
# Contributor: Giovanni Scafora <[email protected]>
# Contributor: James Rayner <[email protected]>
# Contributor: Partha Chowdhury <[email protected]>
# Maintainer: Gaetan Bisson <[email protected]>
pkgname=conky
pkgver=1.8.2git20111107
pkgrel=1
pkgdesc='Lightweight system monitor for X'
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
arch=('i686' 'x86_64')
options=('!emptydirs')
makedepends=('pkg-config' 'docbook2x')
depends=('alsa-lib' 'libxml2' 'curl' 'libxft' 'glib2' 'libxdamage' 'imlib2')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('133fc6fdc725162af9a98c72c1b7349efc22447c')
# git clone git://git.omp.am/conky.git; cd conky; git archive --prefix=${pkgname}-${pkgver}/ origin/1.8.2 | xz > ../${pkgname}-${pkgver}.tar.xz
replaces=('torsmo')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sh autogen.sh
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-ibm \
--enable-curl \
--enable-lua \
--enable-lua-cairo \
--disable-ncurses \
--disable-math --disable-mpd --disable-moc --disable-xmms2 \
--disable-weather-xoap --disable-portmon --disable-alsa
make
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"Does it still segment fault without a .conkyrc?
Also FWIW, heres my conky settings:
# Use Xft?
use_xft yes
xftfont mono:size=9
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent no
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1280 0
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Draw borders around graphs
draw_graph_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 0
# border width
border_width 0
# Default colors and also border colors
default_color white
color2 1994D1
default_shade_color black
default_outline_color 3c3c3c
own_window_colour 3c3c3c
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 3
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer right
TEXT
Maybe you are looking for
-
Change submit destination based on form selection
Is it possible to change the recipient of a form based on the info that was filled? for example checkbox A is selected -> form emailed to recipient A checkbox B is selected -> form emailed to recipient B checkbox A and B is selected -> form emailed t
-
Switching from Mac to Windows. Do I need to buy a new Ps?
Hello there, Since I'm planning on buying the Wacom Companion for being able to work on-the-go, I was wondering if I also needed to buy a new version of Photoshop. I bought Photoshop CS 5 for Mac a few years back and don't really need a newer version
-
Hello, I have solaris9 system where on disk c0t0d0, I have 7 partitions. The first partition shows file system mounted=yes with 10GB space. This file system is near full ( 95% used). I need to increase the size. How can I do that? I have another part
-
BC4J ViewLink Combobox model binding
I am having difficulty with a jclient panel I have built, using a combobox model binding. I have a screen where one combobox contents depend upon the status of a previous selection. An example of this would be to have an employee table with columns:
-
What is an alternative to bitwise flags?
I was trying to be smart and elegant, and I ended up shooting myself in the foot by coding my entire application to use flags to store various combinations of settings. Now, I have hit a point where I have > 64 options. I need to move away from flags