LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-15-2013, 05:01 PM   #1
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Rep: Reputation: 3
Conky with lua.


Hello, I am trying to build conky from source. Everything in the ./configure step goes fine, but when I try to 'make' I get an error.

Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: cannot find -llua
I do have lua installed. However, there is no library called 'llua.'

Code:
bash-4.2# locate /usr/lib64 | grep lua
/usr/lib64/pkgconfig/lua.pc
/usr/lib64/liblua.so.5.1.5
/usr/lib64/liblua.a
/usr/lib64/lua
/usr/lib64/lua/5.1
/usr/lib64/liblua.so.5.1
/usr/lib64/liblua.so
/usr/lib64/liblua.so.5
Why is conky looking for llua? I searched the internet and found no additional package called llua, do I have to link llua to lua? What's the problem here?
 
Old 06-15-2013, 10:55 PM   #2
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
Try adding:
Code:
LIBS="-llua" \
Under the CFLAGS or CXXFLAGS variable.
 
Old 06-16-2013, 11:06 AM   #3
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
Now I might be doing this wrong (try not to laugh), but I opened up the Makefile, and found a variable called conky_CFLAGS = and added that little bit of code. I still get this error though, am I supposed to add this to a system-wide CFLAGS?

Code:
conky_CFLAGS =           -I/usr/include/freetype2   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -Wall -W LIBS="-llua" \
Also where would I find the system wide CFLAGS on Slackware? Google tells me to look for "make.conf" but there are several make.conf files found with

Code:
bash-4.2# locate make.conf
/usr/lib64/qt/mkspecs/wince50standard-x86-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-x86_64-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-sharp-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/qnx-armv7-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-dm800-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-avr32-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/qnx-generic-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/integrity-x86-cx86/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-arm-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/macx-nacl-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-powerpc-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-sh4al-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-nacl-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/integrity-ppc-cxppc/qmake.conf
/usr/lib64/qt/mkspecs/qws/freebsd-generic-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/qnx-i386-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/qnx-arm-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-ipaq-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/macx-generic-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-cellon-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-zylonite-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/integrity-arm-cxarm/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-lsb-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-generic-g++-32/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-x86-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-sh-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-dm7000-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/solaris-generic-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-armv6-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/qnx-ppc-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-generic-g++/qmake.conf
/usr/lib64/qt/mkspecs/qws/linux-mips-g++/qmake.conf
/usr/lib64/qt/mkspecs/common/qnx/qmake.conf
/usr/lib64/qt/mkspecs/common/wince/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/irix-cc-64/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/freebsd-icc/qmake.conf
/usr/lib64/qt/mkspecs/linux-pgcc/qmake.conf
/usr/lib64/qt/mkspecs/hurd-g++/qmake.conf
/usr/lib64/qt/mkspecs/tru64-cxx/qmake.conf
/usr/lib64/qt/mkspecs/irix-g++/qmake.conf
/usr/lib64/qt/mkspecs/hpuxi-acc-64/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/wince60standard-x86-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/wincewm50smart-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/qpa/macx-iphonedevice-g++-armv6/qmake.conf
/usr/lib64/qt/mkspecs/qpa/macx-iphonedevice-g++-armv7-nothumb/qmake.conf
/usr/lib64/qt/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf
/usr/lib64/qt/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf
/usr/lib64/qt/mkspecs/macx-xcode/qmake.conf
/usr/lib64/qt/mkspecs/freebsd-g++/qmake.conf
/usr/lib64/qt/mkspecs/linux-g++-32/qmake.conf
/usr/lib64/qt/mkspecs/wincewm65professional-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/linux-arm-gnueabi-g++/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/tru64-g++/qmake.conf
/usr/lib64/qt/mkspecs/aix-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/macx-g++40/qmake.conf
/usr/lib64/qt/mkspecs/symbian-sbsv2/qmake.conf
/usr/lib64/qt/mkspecs/unixware-cc/qmake.conf
/usr/lib64/qt/mkspecs/symbian-armcc/qmake.conf
/usr/lib64/qt/mkspecs/lynxos-g++/qmake.conf
/usr/lib64/qt/mkspecs/win32-msvc2010/qmake.conf
/usr/lib64/qt/mkspecs/wince70embedded-x86-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/openbsd-g++/qmake.conf
/usr/lib64/qt/mkspecs/win32-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/linux-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/hpuxi-acc-32/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-x86-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/linux-icc/qmake.conf
/usr/lib64/qt/mkspecs/freebsd-g++46/qmake.conf
/usr/lib64/qt/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/hpux-g++/qmake.conf
/usr/lib64/qt/mkspecs/solaris-cc-stlport/qmake.conf
/usr/lib64/qt/mkspecs/macx-pbuilder/qmake.conf
/usr/lib64/qt/mkspecs/linux-lsb-g++/qmake.conf
/usr/lib64/qt/mkspecs/win32-g++-4.6/qmake.conf
/usr/lib64/qt/mkspecs/hpux-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/macx-icc/qmake.conf
/usr/lib64/qt/mkspecs/unixware-g++/qmake.conf
/usr/lib64/qt/mkspecs/linux-ecc-64/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/linux-icc-64/qmake.conf
/usr/lib64/qt/mkspecs/linux-llvm/qmake.conf
/usr/lib64/qt/mkspecs/irix-cc/qmake.conf
/usr/lib64/qt/mkspecs/wincewm60professional-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/wincewm50pocket-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/darwin-g++/qmake.conf
/usr/lib64/qt/mkspecs/win32-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/netbsd-g++/qmake.conf
/usr/lib64/qt/mkspecs/linux-kcc/qmake.conf
/usr/lib64/qt/mkspecs/macx-g++/qmake.conf
/usr/lib64/qt/mkspecs/solaris-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/wincewm60standard-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/solaris-g++/qmake.conf
/usr/lib64/qt/mkspecs/wincewm60professional-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/solaris-cc-64-stlport/qmake.conf
/usr/lib64/qt/mkspecs/irix-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/aix-xlc-64/qmake.conf
/usr/lib64/qt/mkspecs/linux-g++/qmake.conf
/usr/lib64/qt/mkspecs/hpux-acc-o64/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/win32-g++/qmake.conf
/usr/lib64/qt/mkspecs/macx-llvm/qmake.conf
/usr/lib64/qt/mkspecs/win32-msvc2003/qmake.conf
/usr/lib64/qt/mkspecs/wincewm65professional-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/hpux-acc/qmake.conf
/usr/lib64/qt/mkspecs/wincewm50pocket-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-sh4-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/solaris-cc/qmake.conf
/usr/lib64/qt/mkspecs/macx-g++42/qmake.conf
/usr/lib64/qt/mkspecs/aix-xlc/qmake.conf
/usr/lib64/qt/mkspecs/wincewm60standard-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/wincewm50smart-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qws/qnx-641/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qws/integrity-x86-cx86/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qws/linux-x86-openkode-g++/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/vxworks-ppc-dcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qnx-armv7le-qcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/blackberry-x86-qcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/vxworks-simpentium-g++/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/win32-g++-4.6-cross/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/win32-g++-cross/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qnx-X11-g++/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/macx-clang/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/linux-armcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/linux-clang/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/vxworks-ppc-g++/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/qnx-x86-qcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/vxworks-simpentium-dcc/qmake.conf
/usr/lib64/qt/mkspecs/unsupported/linux-host-g++/qmake.conf
/usr/lib64/qt/mkspecs/linux-icc-32/qmake.conf
/usr/lib64/qt/mkspecs/win32-borland/qmake.conf
/usr/lib64/qt/mkspecs/macx-xlc/qmake.conf
/usr/lib64/qt/mkspecs/sco-cc/qmake.conf
/usr/lib64/qt/mkspecs/wince70embedded-armv4i-msvc2008/qmake.conf
/usr/lib64/qt/mkspecs/wince50standard-sh4-msvc2005/qmake.conf
/usr/lib64/qt/mkspecs/linux-cxx/qmake.conf
/usr/lib64/qt/mkspecs/hpuxi-g++-64/qmake.conf
/usr/lib64/qt/mkspecs/symbian-gcce/qmake.conf
/usr/lib64/qt/mkspecs/win32-icc/qmake.conf
/usr/lib64/qt/mkspecs/aix-g++/qmake.conf
/usr/lib64/qt/mkspecs/sco-g++/qmake.conf
/usr/lib64/qt/mkspecs/solaris-cc-64/qmake.conf
/usr/lib64/qt/mkspecs/symbian-abld/qmake.conf
/usr/lib64/qt/mkspecs/hpux-acc-64/qmake.conf
/usr/lib64/qt/mkspecs/cygwin-g++/qmake.conf
/usr/lib64/qt/mkspecs/linux-g++-maemo/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-x86-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-x86_64-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-sharp-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/qnx-armv7-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-dm800-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-avr32-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/qnx-generic-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/integrity-x86-cx86/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-arm-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/macx-nacl-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-powerpc-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-sh4al-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-nacl-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/integrity-ppc-cxppc/qmake.conf
/usr/lib/qt/mkspecs/qws/freebsd-generic-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/qnx-i386-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/qnx-arm-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-ipaq-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/macx-generic-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-cellon-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-zylonite-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/integrity-arm-cxarm/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-lsb-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-generic-g++-32/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-x86-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-sh-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-dm7000-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/solaris-generic-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-armv6-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/qnx-ppc-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-generic-g++/qmake.conf
/usr/lib/qt/mkspecs/qws/linux-mips-g++/qmake.conf
/usr/lib/qt/mkspecs/common/qnx/qmake.conf
/usr/lib/qt/mkspecs/common/wince/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-armv4i-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/irix-cc-64/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-mipsii-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/freebsd-icc/qmake.conf
/usr/lib/qt/mkspecs/linux-pgcc/qmake.conf
/usr/lib/qt/mkspecs/hurd-g++/qmake.conf
/usr/lib/qt/mkspecs/tru64-cxx/qmake.conf
/usr/lib/qt/mkspecs/irix-g++/qmake.conf
/usr/lib/qt/mkspecs/hpuxi-acc-64/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-mipsiv-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/wince60standard-x86-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/wincewm50smart-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/qpa/macx-iphonedevice-g++-armv6/qmake.conf
/usr/lib/qt/mkspecs/qpa/macx-iphonedevice-g++-armv7-nothumb/qmake.conf
/usr/lib/qt/mkspecs/qpa/macx-iphonesimulator-g++/qmake.conf
/usr/lib/qt/mkspecs/qpa/macx-iphonedevice-g++/qmake.conf
/usr/lib/qt/mkspecs/macx-xcode/qmake.conf
/usr/lib/qt/mkspecs/freebsd-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-g++-32/qmake.conf
/usr/lib/qt/mkspecs/wincewm65professional-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/linux-arm-gnueabi-g++/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-mipsii-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/tru64-g++/qmake.conf
/usr/lib/qt/mkspecs/aix-g++-64/qmake.conf
/usr/lib/qt/mkspecs/macx-g++40/qmake.conf
/usr/lib/qt/mkspecs/symbian-sbsv2/qmake.conf
/usr/lib/qt/mkspecs/unixware-cc/qmake.conf
/usr/lib/qt/mkspecs/symbian-armcc/qmake.conf
/usr/lib/qt/mkspecs/lynxos-g++/qmake.conf
/usr/lib/qt/mkspecs/win32-msvc2010/qmake.conf
/usr/lib/qt/mkspecs/wince70embedded-x86-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/openbsd-g++/qmake.conf
/usr/lib/qt/mkspecs/win32-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/linux-g++-64/qmake.conf
/usr/lib/qt/mkspecs/hpuxi-acc-32/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-x86-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/linux-icc/qmake.conf
/usr/lib/qt/mkspecs/freebsd-g++46/qmake.conf
/usr/lib/qt/mkspecs/wince60standard-armv4i-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/hpux-g++/qmake.conf
/usr/lib/qt/mkspecs/solaris-cc-stlport/qmake.conf
/usr/lib/qt/mkspecs/macx-pbuilder/qmake.conf
/usr/lib/qt/mkspecs/linux-lsb-g++/qmake.conf
/usr/lib/qt/mkspecs/win32-g++-4.6/qmake.conf
/usr/lib/qt/mkspecs/hpux-g++-64/qmake.conf
/usr/lib/qt/mkspecs/macx-icc/qmake.conf
/usr/lib/qt/mkspecs/unixware-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-ecc-64/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-mipsiv-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/linux-icc-64/qmake.conf
/usr/lib/qt/mkspecs/linux-llvm/qmake.conf
/usr/lib/qt/mkspecs/irix-cc/qmake.conf
/usr/lib/qt/mkspecs/wincewm60professional-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/wincewm50pocket-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/darwin-g++/qmake.conf
/usr/lib/qt/mkspecs/win32-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/netbsd-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-kcc/qmake.conf
/usr/lib/qt/mkspecs/macx-g++/qmake.conf
/usr/lib/qt/mkspecs/solaris-g++-64/qmake.conf
/usr/lib/qt/mkspecs/wincewm60standard-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/solaris-g++/qmake.conf
/usr/lib/qt/mkspecs/wincewm60professional-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/solaris-cc-64-stlport/qmake.conf
/usr/lib/qt/mkspecs/irix-g++-64/qmake.conf
/usr/lib/qt/mkspecs/aix-xlc-64/qmake.conf
/usr/lib/qt/mkspecs/linux-g++/qmake.conf
/usr/lib/qt/mkspecs/hpux-acc-o64/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-armv4i-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/win32-g++/qmake.conf
/usr/lib/qt/mkspecs/macx-llvm/qmake.conf
/usr/lib/qt/mkspecs/win32-msvc2003/qmake.conf
/usr/lib/qt/mkspecs/wincewm65professional-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/hpux-acc/qmake.conf
/usr/lib/qt/mkspecs/wincewm50pocket-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-sh4-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/solaris-cc/qmake.conf
/usr/lib/qt/mkspecs/macx-g++42/qmake.conf
/usr/lib/qt/mkspecs/aix-xlc/qmake.conf
/usr/lib/qt/mkspecs/wincewm60standard-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/wincewm50smart-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qws/qnx-641/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qws/integrity-x86-cx86/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qws/linux-x86-openkode-g++/qmake.conf
/usr/lib/qt/mkspecs/unsupported/vxworks-ppc-dcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qnx-armv7le-qcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/blackberry-x86-qcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/vxworks-simpentium-g++/qmake.conf
/usr/lib/qt/mkspecs/unsupported/win32-g++-4.6-cross/qmake.conf
/usr/lib/qt/mkspecs/unsupported/win32-g++-cross/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qnx-X11-g++/qmake.conf
/usr/lib/qt/mkspecs/unsupported/macx-clang/qmake.conf
/usr/lib/qt/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/linux-armcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/linux-clang/qmake.conf
/usr/lib/qt/mkspecs/unsupported/vxworks-ppc-g++/qmake.conf
/usr/lib/qt/mkspecs/unsupported/linux-scratchbox2-g++/qmake.conf
/usr/lib/qt/mkspecs/unsupported/qnx-x86-qcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/vxworks-simpentium-dcc/qmake.conf
/usr/lib/qt/mkspecs/unsupported/linux-host-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-icc-32/qmake.conf
/usr/lib/qt/mkspecs/win32-borland/qmake.conf
/usr/lib/qt/mkspecs/macx-xlc/qmake.conf
/usr/lib/qt/mkspecs/sco-cc/qmake.conf
/usr/lib/qt/mkspecs/wince70embedded-armv4i-msvc2008/qmake.conf
/usr/lib/qt/mkspecs/wince50standard-sh4-msvc2005/qmake.conf
/usr/lib/qt/mkspecs/linux-cxx/qmake.conf
/usr/lib/qt/mkspecs/hpuxi-g++-64/qmake.conf
/usr/lib/qt/mkspecs/symbian-gcce/qmake.conf
/usr/lib/qt/mkspecs/win32-icc/qmake.conf
/usr/lib/qt/mkspecs/aix-g++/qmake.conf
/usr/lib/qt/mkspecs/sco-g++/qmake.conf
/usr/lib/qt/mkspecs/solaris-cc-64/qmake.conf
/usr/lib/qt/mkspecs/symbian-abld/qmake.conf
/usr/lib/qt/mkspecs/hpux-acc-64/qmake.conf
/usr/lib/qt/mkspecs/cygwin-g++/qmake.conf
/usr/lib/qt/mkspecs/linux-g++-maemo/qmake.conf
So am I supposed to edit the Makefile locally, or CFLAGS globally is my question here. Also tried:

Code:
# export LIBS="-llua" \
Which returned a little ">" like it got something unexpected. I tried removing the "\" that didn't return an error, but it didn't work for building this.
 
Old 06-17-2013, 12:19 AM   #4
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
Please excuse this shameless bump, but I still cannot solve this. I took to trying the slackbuild, which asked me to install tolua++. So I got the slackbuild of that, and it's giving me the same error as the conky tarball.

Code:
in/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../liblua.so when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../liblua.a when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/liblua.so when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/liblua.a when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/liblua.so when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/liblua.a when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/liblua.so when searching for -llua
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: cannot find -llua
collect2: error: ld returned 1 exit status
The thing that is really mind-boggling about this is that it sees the liblua.so in both /lib and /lib64. According to a google search llua is supposed to reference liblua.so. How can a file be incompatible when it is in both x86 and x86_64 format? I fail to understand.
 
Old 06-17-2013, 04:28 AM   #5
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
Show us your configure line. There might be some extra stuff that needs to be added when building with lua support.
 
Old 06-17-2013, 10:43 AM   #6
flyinggeorge
Member
 
Registered: Feb 2012
Location: United States
Distribution: Slackware 14.0
Posts: 159

Original Poster
Rep: Reputation: 3
I re-downloaded the conky source and posted the output of ./configure. I think this is what you were asking for.

Code:
bash-4.2# ./configure
checking for a BSD-compatible install... /bin/ginstall -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/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/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-li                                                                                                                                                                                               nux-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/x86_64-slackware-linux/bin/ld option to reload object files...                                                                                                                                                                                                -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
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... mt
checking if mt 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/x86_64-slackware-linux/bin/ld -m elf_x86_6                                                                                                                                                                                               4) 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 ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for X11... yes
checking for LUA... 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/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/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, ch                                                                                                                                                                                               ar * *outbuf, size_t *outbytesleft);
checking for Xext... yes
checking for XDamage... yes
checking for Xft... yes
checking for GLib2... 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 for db2x_xsltproc... no
checking for db2x_manxml... no
checking for xsltproc... xsltproc
checking if /usr/x86_64-slackware-linux/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.9.0 configured successfully:

 Installing into:   /usr/local
 System config dir: ${prefix}/etc
 C compiler flags:            -I/usr/include/freetype2   -I/usr/include/glib-2.0                                                                                                                                                                                                -I/usr/lib64/glib-2.0/include   -Wall -W
 Libraries:          -lncurses -lm -lX11   -llua -lm     -lXext   -lXdamage -lXf                                                                                                                                                                                               ixes   -lXft   -lglib-2.0   -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:              no
  Curl:             no
  Weather
    METAR:          no
    XOAP:           no
  wireless:         no
  IBM:              no
  nvidia:           no
  eve-online:       no
  config-output:    yes
  Imlib2:           no
  ALSA mixer:       yes
  apcupsd:          yes
  I/O stats:        yes
  ncurses:          yes

 * Lua (yes) bindings:
  Cairo:            no
  Imlib2:           no

Last edited by flyinggeorge; 06-17-2013 at 10:50 AM.
 
Old 06-19-2013, 03:00 PM   #7
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
Heh, well I actually meant the full ./configure line you were using. That's just ./configure which might not automagically pick up lua.

You want to configure with this for lua support:
Code:
--enable-lua --enable-lua-cairo --enable-imlib2 --enable-lua-imlib2
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Battery % to Conky lua? TheAtheistReverend Linux - Newbie 2 11-10-2012 11:15 AM
LXer: Configure conky-Lua in Ubuntu (11.10 & 12.04), Fedora, debian and LinuxMint | Howto Conky LXer Syndicated Linux News 0 03-06-2012 12:40 PM
Conky + lua flyinggeorge Linux - Software 6 03-05-2012 08:47 PM
Trying to get Lua to work with Conky AbsoluteZ3r0 Linux - Software 0 08-17-2011 10:01 AM
installing LUA 5.1 and conky on slackware 13 bret381 Linux - Software 2 11-17-2009 05:51 AM


All times are GMT -5. The time now is 05:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration