Conky PKGBUILD

I get this error when I use the makepkg -s
"==> Making package: conky-lua-nv 1.8.0-1 (Sun Jul 11 19:35:18 PDT 2010)
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
Password:
error: 'toluapp': could not find or read package
==> ERROR: 'pacman' failed to install missing dependencies.
how do I fix it?

http://aur.archlinux.org/packages.php?ID=1819
Install the missing dep from here?

Similar Messages

  • 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

  • [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 )

  • [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)

  • Wiki - or even better a script - to create a PKGbuild from a PPA

    i would like to test Conky manager, it is available for Ubuntu, and still not in AUR.
    I said to myself, lets contribute with my first PKGbuild, but, I did not found a guide at Google, not at ARCH wiki too, at least not easily - perhaps it does exist but i did not found it quickly.
    But perhaps it even would be easy if someone has just write an script to make and test PKGbuilds from PPAs, it must be simple if you know - I do not - and would save a lot of work.
    Conky manager
    http://bazaar.launchpad.net/~teejee2008 … runk/files
    If some one want to make it as I do not how.

    Try searching the wiki a little more closely. On a related note, man pages > wiki. `man PKGBUILD`
    As for scripts to create PKGBUILDs; that's a bit meta, don't you think? Why not just take a look at some of the PKGBUILDs in the AUR that use .debs or PPAs and go from there.
    This probably belongs better in the PKGBUILD request subforum; but the way this should work is that you should give your best shot at creating a PKGBUILD, and then, when you get stumped, post what you have so far, and we'll all help you work out the kinks
    All the best,
    -HG
    Last edited by HalosGhost (2013-07-08 15:59:26)

  • Conky and xft fonts

    WM: Openbox
    I have these in my conkyrc:
    override_utf8_locale yes
    use_xft yes
    xftfont Terminus:size=8
    xftalpha 0.8
    But it doesn't display the desired fonts, if launched from a terminal error is:
    Conky: can't load Xft font 'Pie charts for maps:size=8'
    Conky: can't load Xft font 'Radio Space:size=8'
    Conky: can't load Xft font 'Pie charts for maps:size=8'
    Conky: can't load Xft font 'Radio Space:size=8'

    Hi Shy
    You have to install dmenu-xft
    Look here: http://aur.archlinux.org/packages.php?ID=28745
    There is a problem with the packagebuild on this page though.
    It should be:
    pkgname=dmenu-xft
    pkgver=4.0
    pkgrel=1
    pkgdesc="Dynamic X menu - with xft support"
    arch=('i686' 'x86_64')
    url="http://code.suckless.org/"
    license=('MIT')
    depends=('libx11' 'libxinerama' 'libxft')
    conflicts=('dmenu')
    provides=('dmenu')
    source=(http://dl.suckless.org/tools/dmenu-4.0.tar.gz
    http://z.ip.fi/~henkka/dmenu-xft/dmenu-4.0-xft.diff)
    md5sums=('66e761a653930cc8a21614ba9fedf903'
    '1f3ecd819a39dea88a3dde9b5271bec6')
    build() {
    cd $srcdir/dmenu-$pkgver
    patch -p1 < ../dmenu-4.0-xft.diff || return 1 make || return 1 make DESTDIR=$startdir/pkg PREFIX=/usr install || return 1 # LICENSE mkdir -p $startdir/pkg/usr/share/licenses/$pkgname || return 1 cp LICENSE $startdir/pkg/usr/share/licenses/$pkgname/ || return 1
    Save this as PKGBUILD textfile and run makepkg where you saved PKGBUILD.
    But first uninstall the dmenu version you have with
    sudo pacman -Rd dmenu

  • [PKGBUILD] Mrxvt with embedding support (for YeahConsole)

    I made a patch for mrxvt that allows the user to embed it on another window, I don't know how well it works, but at least it seems to work with YeahConsole, that is what I wanted it for.
    The patch: http://ccl.sourceforge.net/tmp/mrxvt-0.5.1-embed.patch
    The PKGBUILD (its the same as the original, but applies the patch):
    pkgname=mrxvt
    pkgver=0.5.1
    pkgrel=1
    pkgdesc="Mrxvt (previously known as materm) is a multi-tabbed X terminal emulator based on rxvt code"
    arch=(i686 x86_64)
    url="http://materm.sourceforge.net/index.html"
    license="GPL"
    depends=('libpng' 'libjpeg' 'libxft' 'libxpm')
    replaces=('materm')
    source=(http://dl.sourceforge.net/sourceforge/materm/$pkgname-$pkgver.tar.gz
    $pkgname.desktop http://ccl.sourceforge.net/tmp/mrxvt-0.5.1-embed.patch)
    md5sums=('68d19a89978d39b770b89aca1259b0f3' '6ba3bcd484c8dad1b0b48465ded54de3'
    'fa93be3fb76943688e45ae766d94a851')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    # mrxvt is not a default xterm emulator, let's add some fancy options here, ey
    patch -Np1 -i $startdir/src/mrxvt-0.5.1-embed.patch || return 1
    ./configure --prefix=/usr --sysconfdir=/etc --enable-xft --enable-text-shadow
    --enable-transparency --enable-smart-resize --enable-menubar
    --enable-ourstrings --enable-linespace --enable-256colors --enable-xim
    --enable-thai --enable-greek --enable-cjk --enable-backspace-key
    --with-save-lines=2048
    make || return 1
    make DESTDIR=$startdir/pkg install
    install -Dm644 ../$pkgname.desktop $startdir/pkg/usr/share/applications/$pkgname.desktop

    /usr/include/X11/extensions/Xfixes.h:48:39: error: X11/extensions/xfixeswire.h: No such file or directory
    In file included from conky.c:30:
    /usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
    /usr/include/X11/extensions/Xdamage.h:64: error: expected declaration specifiers or '...' before 'XserverRegion'
    conky.c: In function 'main_loop':
    conky.c:5688: error: 'XserverRegion' undeclared (first use in this function)
    conky.c:5688: error: (Each undeclared identifier is reported only once
    conky.c:5688: error: for each function it appears in.)
    conky.c:5688: error: expected ';' before 'region2'
    conky.c:5689: error: expected ';' before 'part'
    conky.c:5907: warning: implicit declaration of function 'XFixesSetRegion'
    conky.c:5907: error: 'part' undeclared (first use in this function)
    conky.c:5908: warning: implicit declaration of function 'XFixesUnionRegion'
    conky.c:5908: error: 'region2' undeclared (first use in this function)
    conky.c:5915: error: too many arguments to function 'XDamageSubtract'
    conky.c:5992: warning: implicit declaration of function 'XFixesDestroyRegion'
    what now?

  • [SOLVED] Error when compiling conky with audacious support

    Edit: See post #8 for solution
    Hello.
    When trying to compile conky with the --enable-audacious option, I get the following error.
    checking for Audacious... configure: error: Package requirements (audacious >= 1.4.0 audclient dbus-glib-1 glib-2.0 gobject-2.0) were not met:
    No package 'audclient' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables Audacious_CFLAGS
    and Audacious_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGBUILD is the one in the repos, with the addition of an --enable-audacious line. See below:
    # $Id: PKGBUILD 205494 2014-02-06 05:24:01Z bisson $
    # Maintainer: Gaetan Bisson <[email protected]>
    # Contributor: Giovanni Scafora <[email protected]>
    # Contributor: James Rayner <[email protected]>
    # Contributor: Partha Chowdhury <[email protected]>
    pkgname=conky
    pkgver=1.9.0
    pkgrel=4
    pkgdesc='Lightweight system monitor for X'
    url='http://conky.sourceforge.net/'
    license=('BSD' 'GPL')
    arch=('i686' 'x86_64')
    makedepends=('docbook2x')
    depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
    source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
    sha1sums=('a8d26d002370c9b877ae77ad3a3bbd2566b38e5d')
    backup=('etc/conky/'conky{,_no_x11}.conf)
    options=('!emptydirs')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-ibm \
    --enable-curl \
    --enable-rss \
    --enable-weather-xoap \
    --enable-imlib2 \
    --enable-wlan \
    --enable-audacious \
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
    install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
    Note: While similar, I don't think this problem is the same as this one.
    Last edited by Sudowoodo (2014-06-29 10:07:02)

    drcouzelis wrote:Remove the "\" from the end of "--enable-audacious". Does it work now?
    No, it's exactly the same.
    drcouzelis wrote:EDIT: Also, there's already a package for conky-audacious in the AUR.
    I tried it, that doesn't compile either, and its orphan & outdated.
    For the record, its PKGBUILD is
    Edit: Remove unnecessary text. See post #8 for solution.
    and the error is the same:
    Edit: Remove unnecessary text. See post #8 for solution.
    Have you been able to reproduce the problem? I'm using an amd64 processor and trying to build with "makepkg -s". Thank you for replying.
    Last edited by Sudowoodo (2014-06-28 12:13:28)

  • [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]tolua++ and conky 1.7.2

    I've been messing with this for a while now, but I have no idea what's wrong.
    I'm trying to compile (via ABS) the conky 1.7.2 package with support for the new lua bindings (--enable-lua-cairo/--enable-lua-imlib2). I've installed the toluapp package from AUR, which the configure script seems to accept - but it always hits a snag at this point:
    checking for tolua++... tolua++
    checking for a library containing tolua_error... no
    configure: error: tolua_error not found
    Any ideas? I'm desperate to try the new features.
    Last edited by Crows (2009-09-29 15:05:22)

    p0rkjello wrote:
    Crows wrote:Sorry, forgot to mark this as solved seeing as it was quite far off the front page. In the end I got it working by adding LUA51_LIBS='-llua -lm' to the section of the PKGBUILD that includes --enable etc.
    I can't seem to get it to work.. Could you clarify..
    build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    ./configure LUA51_LIBS='-llua -lm' \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-rss \
    --enable-ibm \
    --enable-imlib2 \
    --enable-lua \
    --enable-lua-cairo
    make || return 1
    Error:
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libtolua++.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make[1]: *** [libcairo.la] Error 1
    nevermind.. it looks like an x84_64 thing.. I need to recomple tolua++ w/ -fPIC

  • [solved] Cannot compile conky-cli (compiler cannot create executables)

    I'm having what seems to be a pretty common problem, but I cannot solve it. I've searched google and the forums, and I'm sure the answer is very easy, but I'm just stuck.
    ==> Starting build()...
    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 for C compiler default output file name...
    configure: error: in `/tmp/yaourt-tmp-heleos/aur-conky-cli/conky-cli/src/conky-1.7.1.1':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build conky-cli package.
    If someone could point me in the right direction that would be great
    Solved my own problem! Looks like it was a change I made to my makepkg.conf.... Does anyone have a CFLAGS that's safe for an i7?
    Last edited by heleos (2009-08-25 01:07:24)

    Do you (or someone else) have a pkgbuild that you would like to share? I'm in need of the ecj compiler, but didn't find a pkgbuild in aur (unlessed I missed it somehow)
    Kind regards,
    Simon

  • Can't Install conky-lua

    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.

  • Conky (Replacement for Torsmo)

    Since Torsmo is no longer being actively developed, I found an alternative that is.  It is a drop-in replacement that can use the same config file you were using with Torsmo. 
    I haven't had time to get a PKGBUILD made yet, but the homepage url is: http://conky.rty.ca/     and the sourceforge page is: http://sourceforge.net/projects/conky/
    If anyone has time to make a PKGBUILD it would be greatly appreciated.  :-)    Otherwise, I'll make one as soon as I get a chance and post it.
    Thanks, and have a great day!

    I got 1.2 to compile.
    It needs includes file that "should" be in procps pkg. I'll submit a bug report.
    # $Id: PKGBUILD,v 1.37 2005/07/06 05:38:12 judd Exp $
    # Maintainer: judd <[email protected]>
    pkgname=procps
    pkgver=3.2.5
    pkgrel=3
    pkgdesc="Utilities for monitoring your system and processes on your system"
    url="http://procps.sf.net"
    depends=('ncurses')
    backup=('etc/sysctl.conf')
    source=(http://procps.sourceforge.net/procps-$pkgver.tar.gz sysctl.conf)
    md5sums=('cde0e3612d1d7c68f404d46f01c44fb4' '03571b4a24037f8ac283f3d8af02423f')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    make || return 1
    make DESTDIR=$startdir/pkg ldconfig=/bin/true install
    install -D -m644 ../sysctl.conf $startdir/pkg/etc/sysctl.conf
    install -d $startdir/pkg/usr/include/proc
    install -m644 proc/*.h $startdir/pkg/usr/include/proc
    Use the sysctl.conf from abs.

  • Building conky for dwm

    Hi, I'm new to Arch, but what I've seen so far is really cool.
    I've got dwm running, but I want to rice it up a bit, so I want to install the AUR conky-cli.
    I now have a file called PKGBUILD, but I don't really know how to build it.
    I'm guessing I'm gonna have to get the source for conky, but how do I build it with this modifier?
    x5x_tim

    If you're interested on showing icons, you can try sm4tik's icons along with dzen as status bar, here I posted my .conkyrc (based on jasonwryan config). It could be useful as example.
    If you don't want to use an additional status bar, here's an explanation of Lokaltog's method (drawing some icons over some useless font characters).
    Last edited by rb (2010-06-13 21:38:30)

  • Conky update_interval_on_battery problem, wrong BATx selected

    I am having a small problem with conky configuration, with a update interval on battery function to be specific. When I insert it into conky config file, I get an error saying that BAT0 does not exist and therefore cannot be opened or found. This is true, as on my machine a battery is BAT1 as I have found out.
    With functions for a battery bar or battery status user can set which battery should conky look for, but with the function mentioned above it is impossible (at least nothing is mentioned in manual). Can you help me with my problem?

    I know this Thread is plain old, but since nobody was able to find the solution, i just have to post that here.
    The files core.c and conky.c have BAT0 hardcoded, so all you have to do is changing that to BAT1 (or BAT2 or whatever your battery is named).
    Just add the following lines in the build() Section of the PKGBUILD to fix the issue:
    sed -i 's/BAT0/BAT1/' src/core.c
    sed -i 's/BAT0/BAT1/' src/conky.c
    Oh and conky needs up to ~20 seconds to recognize the power change (and therefore change the update interval)

Maybe you are looking for