LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Conky can't find lua, cairo, or imlib2. (http://www.linuxquestions.org/questions/slackware-14/conky-cant-find-lua-cairo-or-imlib2-4175466625/)

flyinggeorge 06-19-2013 11:13 AM

Conky can't find lua, cairo, or imlib2.
 
I asked this question recently already in the software forum, but no one seemed to be able to point me in the right direction. So I'm sorry if I'm breaking a forum rule, but this one really has me stumped! Of course, I could build conky without lua support, but I'm not ready to throw in the towel and admit defeat. There must be a way!

So basically, for the past few days I've been trying to build conky with lua support, also cairo and imlib2. All of these packages (lua, cairo, imlib2) are installed on my system (Slackware 14.0 x86_64). I however, cannot install tolua++ nor can I get conky to build with lua support.

When I try to build either tolua++ or conky with LUA="yes" I get this error:

Code:

/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/gcc/x86_64-slackware-linux/4.7.1/../../../../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/gcc/x86_64-slackware-linux/4.7.1/../../../../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/../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/lib/../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/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
scons: *** [bin/tolua++_bootstrap] Error 1
scons: building terminated because of errors.

So what I gather from this error is that it's looking at the 32bit version of liblua.so when it should be looking at the 64bit or vice versa. What I don't understand about this error is that it claims to be looking at both /lib and /lib64 versions of liblua.so.

Code:

/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/../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/gcc/x86_64-slackware-linux/4.7.1/../../../liblua.so when searching for -llua

So if neither the 64bit nor the 32bit are what this source is expecting to be linked to, what other options do I have?

That is the main problem I am having. I also mentioned having installed cairo and imlib2. Installing cairo was a huge pain (read: dependency hell) but I managed to get it to build without error. As for imlib2 I built it with the slackbuild and did the necessary installpkg to get the package installed. However, as should be expected nothing ever goes according to plan. Running ./configure from the conky-1.9 source directory tells me that it doesn't see either cairo or imlib2.

Code:

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 -lXfixes  -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

The relevant part under Lua bindings is at the bottom. What's curious about this to me is that the ./configure script sees that I have lua installed. Running make returns the incompatibility error same as above for tolua++. So I guess my question is, what am I doing wrong here, or what am I missing? I realize that tolua++ should be build before conky, but other than that, what am I not getting about this?

tronayne 06-19-2013 02:01 PM

All those packages are available at SlackBuilds.org; e.g., lua-5.1.5-x86_64-1_SBo.

Have you built and installed them?

flyinggeorge 06-19-2013 02:36 PM

Cairo was built from source, lua and imlib2 were installed from the slackbuils. I also used convertpkg-compat32 to create the x86 versions. The version of tolua++ I am trying to install is also a slacbuild but as mentioned above will not build or create the package because of the error.

Just for good measure, I'll show you that I do have the libraries installed.


Lua:
Code:

bash-4.2# locate liblua
/usr/lib64/liblua.so.5.1.5
/usr/lib64/liblua.a
/usr/lib64/liblua.so.5.1
/usr/lib64/liblua.so
/usr/lib64/liblua.so.5
/usr/lib64/vlc/plugins/lua/liblua_plugin.so
/usr/lib64/vlc/plugins/lua/liblua_plugin.la
/usr/lib/lua/5.1/liblua.so.5.1.4
/usr/lib/lua/5.1/liblua.a
/usr/lib/lua/5.1/liblua.so.5.1
/usr/lib/lua/5.1/liblua.so
/usr/lib/lua/5.1/liblua.so.5
/usr/lib/liblua.so.5.1
/usr/lib/liblua.so
/usr/lib/liblua.so.5

imlib2:
Code:

/usr/bin/32/imlib2-config
/usr/bin/32/imlib2_show
/usr/bin/32/imlib2_bumpmap
/usr/bin/32/imlib2_poly
/usr/bin/32/imlib2_grab
/usr/bin/32/imlib2_conv
/usr/bin/32/imlib2_view
/usr/bin/imlib2_conv
/usr/bin/imlib2_view
/usr/lib64/imlib2
/usr/lib64/imlib2/filters
/usr/lib64/imlib2/filters/bumpmap.la
/usr/lib64/imlib2/filters/colormod.la
/usr/lib64/imlib2/filters/colormod.so
/usr/lib64/imlib2/filters/testfilter.la
/usr/lib64/imlib2/filters/testfilter.so
/usr/lib64/imlib2/filters/bumpmap.so
/usr/lib64/imlib2/loaders
/usr/lib64/imlib2/loaders/id3.la
/usr/lib64/imlib2/loaders/gif.so
/usr/lib64/imlib2/loaders/lbm.so
/usr/lib64/imlib2/loaders/tga.so
/usr/lib64/imlib2/loaders/bmp.la
/usr/lib64/imlib2/loaders/pnm.la
/usr/lib64/imlib2/loaders/jpeg.la
/usr/lib64/imlib2/loaders/xpm.so
/usr/lib64/imlib2/loaders/gif.la
/usr/lib64/imlib2/loaders/lbm.la
/usr/lib64/imlib2/loaders/tiff.la
/usr/lib64/imlib2/loaders/bmp.so
/usr/lib64/imlib2/loaders/pnm.so
/usr/lib64/imlib2/loaders/argb.la
/usr/lib64/imlib2/loaders/zlib.so
/usr/lib64/imlib2/loaders/xpm.la
/usr/lib64/imlib2/loaders/argb.so
/usr/lib64/imlib2/loaders/id3.so
/usr/lib64/imlib2/loaders/png.so
/usr/lib64/imlib2/loaders/bz2.so
/usr/lib64/imlib2/loaders/tiff.so
/usr/lib64/imlib2/loaders/tga.la
/usr/lib64/imlib2/loaders/png.la
/usr/lib64/imlib2/loaders/jpeg.so
/usr/lib64/imlib2/loaders/zlib.la
/usr/lib64/imlib2/loaders/bz2.la
/usr/lib64/pkgconfig/imlib2.pc
/usr/share/imlib2
/usr/share/imlib2/data
/usr/share/imlib2/data/fonts
/usr/share/imlib2/data/fonts/notepad.ttf
/usr/share/imlib2/data/fonts/cinema.ttf
/usr/share/imlib2/data/fonts/grunge.ttf
/usr/share/imlib2/data/fonts/morpheus.ttf
/usr/share/imlib2/data/images
/usr/share/imlib2/data/images/globe.png
/usr/share/imlib2/data/images/bg.png
/usr/share/imlib2/data/images/sh2.png
/usr/share/imlib2/data/images/calc.png
/usr/share/imlib2/data/images/lock.png
/usr/share/imlib2/data/images/paper.png
/usr/share/imlib2/data/images/folder.png
/usr/share/imlib2/data/images/imlib2.png
/usr/share/imlib2/data/images/menu.png
/usr/share/imlib2/data/images/audio.png
/usr/share/imlib2/data/images/stop.png
/usr/share/imlib2/data/images/tnt.png
/usr/share/imlib2/data/images/sh1.png
/usr/share/imlib2/data/images/mail.png
/usr/share/imlib2/data/images/sh3.png
/usr/share/imlib2/data/images/bulb.png
/usr/share/imlib2/data/images/cal.png
/usr/share/imlib2/data/images/mush.png
/usr/doc/imlib2-1.4.5
/usr/doc/imlib2-1.4.5/AUTHORS
/usr/doc/imlib2-1.4.5/INSTALL
/usr/doc/imlib2-1.4.5/COPYING-PLAIN
/usr/doc/imlib2-1.4.5/imlib2.SlackBuild
/usr/doc/imlib2-1.4.5/README
/usr/doc/imlib2-1.4.5/TODO
/usr/doc/imlib2-1.4.5/COPYING
/usr/doc/imlib2-1.4.5/ChangeLog

Cairo:
Code:

/usr/bin/pdftocairo
/usr/lib64/libcairo.so.2.11000.2
/usr/lib64/libcairo-script-interpreter.so.2
/usr/lib64/libpangocairo-1.0.so.0
/usr/lib64/libcairo-script-interpreter.so
/usr/lib64/pkgconfig/cairo-pdf.pc
/usr/lib64/pkgconfig/poppler-cairo.pc
/usr/lib64/pkgconfig/cairo-ps.pc
/usr/lib64/pkgconfig/cairo-svg.pc
/usr/lib64/pkgconfig/pycairo.pc
/usr/lib64/pkgconfig/cairo-ft.pc
/usr/lib64/pkgconfig/pangocairo.pc
/usr/lib64/pkgconfig/cairo-tee.pc
/usr/lib64/pkgconfig/cairo-xlib-xrender.pc
/usr/lib64/pkgconfig/cairo-fc.pc
/usr/lib64/pkgconfig/cairo-xlib.pc
/usr/lib64/pkgconfig/cairo-png.pc
/usr/lib64/pkgconfig/cairo-gobject.pc
/usr/lib64/pkgconfig/cairo.pc
/usr/lib64/libcairo-gobject.so
/usr/lib64/libcairo-script-interpreter.so.2.11000.2
/usr/lib64/audacious/Visualization/cairo-spectrum.so
/usr/lib64/gstreamer-0.10/libgstcairo.so
/usr/lib64/gstreamer-0.10/libgstcairo.la
/usr/lib64/libcairo-gobject.la
/usr/lib64/babl-0.1/cairo.la
/usr/lib64/babl-0.1/cairo.so
/usr/lib64/python2.7/site-packages/cairo
/usr/lib64/python2.7/site-packages/cairo/__init__.pyo
/usr/lib64/python2.7/site-packages/cairo/_cairo.so
/usr/lib64/python2.7/site-packages/cairo/_cairo.la
/usr/lib64/python2.7/site-packages/cairo/__init__.pyc
/usr/lib64/python2.7/site-packages/cairo/__init__.py
/usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.la
/usr/lib64/python2.7/site-packages/gtk-2.0/pangocairo.so
/usr/lib64/libcairo.so
/usr/lib64/libpangocairo-1.0.so
/usr/lib64/libpangocairo-1.0.la
/usr/lib64/libpangocairo-1.0.so.0.3000.1
/usr/lib64/libcairo.la
/usr/lib64/libcairo-gobject.so.2.11000.2
/usr/lib64/libcairo-gobject.so.2
/usr/lib64/girepository-1.0/cairo-1.0.typelib
/usr/lib64/libcairo-script-interpreter.la
/usr/lib64/libcairo.so.2
/usr/share/gtk-doc/html/cairo
/usr/share/gtk-doc/html/cairo/cairo-fonts.html
/usr/share/gtk-doc/html/cairo/cairo-cairo-scaled-font-t.html
/usr/share/gtk-doc/html/cairo/index.html
/usr/share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html
/usr/share/gtk-doc/html/cairo/cairo-Image-Surfaces.html
/usr/share/gtk-doc/html/cairo/cairo-text.html
/usr/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html
/usr/share/gtk-doc/html/cairo/cairo-cairo-font-options-t.html
/usr/share/gtk-doc/html/cairo/cairo-surfaces.html
/usr/share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html
/usr/share/gtk-doc/html/cairo/bindings-streams.html
/usr/share/gtk-doc/html/cairo/cairo-drawing.html
/usr/share/gtk-doc/html/cairo/bindings-errors.html
/usr/share/gtk-doc/html/cairo/index-1.2.html
/usr/share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html
/usr/share/gtk-doc/html/cairo/up.png
/usr/share/gtk-doc/html/cairo/cairo-cairo-pattern-t.html
/usr/share/gtk-doc/html/cairo/right.png
/usr/share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html
/usr/share/gtk-doc/html/cairo/index.sgml
/usr/share/gtk-doc/html/cairo/cairo-Quartz-Surfaces.html
/usr/share/gtk-doc/html/cairo/cairo-Paths.html
/usr/share/gtk-doc/html/cairo/cairo-Recording-Surfaces.html
/usr/share/gtk-doc/html/cairo/index-1.4.html
/usr/share/gtk-doc/html/cairo/language-bindings.html
/usr/share/gtk-doc/html/cairo/cairo-Version-Information.html
/usr/share/gtk-doc/html/cairo/bindings-patterns.html
lines 1-73

There's more references to cairo had to use | less to get a manageable list. But you get the idea, I do have all of these things installed.

tronayne 06-19-2013 03:23 PM

How about toula++ (which requires lua and scons)? You also want scons and imlib2.

Just built conky from SlackBuilds.org (with all the required libraries and development packages). Worked just fine.

The note in conky is to build it with LUA=yes ./conky.SlackBuild.

The cleanest, easiest way to add software is through SlackBuilds -- start at conky and follow each required package.

tronayne 06-19-2013 03:29 PM

Oh, by the way, cairo is provided with Slackware 14.0: /var/log/packages/cairo-1.10.2-x86_64-2. You didn't need to build it.

flyinggeorge 06-19-2013 04:00 PM

Thank you for the input, but I already have scons and lua. As for not needing to build cairo, I suppose it's too late because I did it anyway. But I have scons, and I'm trying to build tolua++ from the slackbuild. And I do have lua.

Code:

bash-4.2$ lua
Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
>

Which was build from the slackbuild.

zrdc28 06-19-2013 04:31 PM

http://ponce.cc/slackware/slackware-14.0/packages/

If you are a lazy guy like me just go to the above and get the package. He also has a compat32 conky.
I am using both the 32 & 64 bit versions with no problems. I could never get tolou from slackbuilds to work.
I understand that it was probably my fault but that is how it was done for me.

flyinggeorge 06-19-2013 04:50 PM

I tried the conky i486 package, but it crashes on startup telling me:

Code:

bash-4.2# conky
conky: error while loading shared libraries: libaudcore.so.1: wrong ELF class: ELFCLASS64

I don't see a 64bit package on that site :(

Is there an i486 audacious package, or an option I'm not aware of to run conky without support for libaudcore.so? This seems to have gotten me one step closer though, and for that, I thank you.

flyinggeorge 06-19-2013 06:30 PM

Okay, so I found all of the 32-bit packages I needed and installed them. Unfortunately, conky still does not show lua support.

Code:

bash-4.2$ conky --version
Conky 1.9.0 compiled Mon Apr 29 16:09:16 CEST 2013 for Linux 3.2.29-smp (i686)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * Audacious
  * MPD
  * MOC

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * config-output
  * apcupsd
  * iostats
  * ncurses

I should see lua under general. But I don't see lua at all. So unfortunately, this does not help. Basically, I am still at square one.

Edit:

It seems I have a new error!

Now I am trying to build the conky slackbuild and it says:

Code:

checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for Audacious... yes
checking audacious/audctrl.h usability... yes
checking audacious/audctrl.h presence... yes
checking for audacious/audctrl.h... yes
checking audacious/dbus.h usability... yes
checking audacious/dbus.h presence... yes
checking for audacious/dbus.h... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking glib-object.h usability... yes
checking glib-object.h presence... yes
checking for glib-object.h... yes
checking for X11... yes
checking for Imlib2... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... tolua++
checking for library containing tolua_error... no
configure: error: tolua_error not found

This is of course very exciting because it now sees imlib2, cairo, and tolua++ BUT I am still one error short of building. Any ideas?

JackHair 06-20-2013 12:23 AM

I can confirm that you should be able to build conky if you have all dependencies installed correctly. I've build conky yesterday and it did build and works fine on Slackware 14 x86_64. I've used the slackbuilds versions.

Quote:

To enable lua scripting engine support, you will need lua, imlib2, and
tolua++, and run this script like this: LUA=yes ./conky.SlackBuild

flyinggeorge 06-20-2013 10:08 AM

I very much agree that I *should* be able to build it just fine, right now I can't get past:

Code:

configure: error: tolua_error not found
As mentioned above. One post on the Ubuntu forums

http://ubuntuforums.org/showthread.p...77#post8349177

Suggest looking for a package called tolua-dev, but I can't find any such package. Ideas?

Didier Spaier 06-20-2013 11:03 AM

I think that you complicate things uselessly trying to mix 32 and 64 bits as you should stay with 64 bits.

Also, why install cairo from source as it is included in Slackware (provided you made a full Slackware installation, of course).

So just uninstall you "custom" cairo (but then re-install the regular Slackware package for cairo) and buld and install in order using only slackbuilds from slackbuilds.org following packages:
scons
tolua++
imlib2
lua
conky (with "LUA=yes")

As JackHair told you this works for 64 bit (and for 32 bit as well, as I just checked). And slackbuilds detect the architecture themseleves, just let them do their job.

You don't need any alien package like tolua-dev, in Slackware, all packages include the development libraries if they exist.

flyinggeorge 06-20-2013 12:06 PM

Aside from Cairo they are all built from the slackbuilds. And it shouldn't matter if they were built from source, the libraries/references exist.

The only reason I bother with 32 bit files is for multilib compatibility on the off chance I need that package for something else down the road.

Didier Spaier 06-20-2013 01:11 PM

I still don't know why you compiled manually cairo, but why not? Whatever the reason the results could be different when installing theSlackware package for it, because you didn't check that you gave the same options to configure.

Let's take an example. You configured manually conky (dunno why either as it's done by the slackbuild, but again, why not). You stated in the first post of this thread:
Quote:

The relevant part under Lua bindings is at the bottom. What's curious about this to me is that the ./configure script sees that I have lua installed.
as you didn't undestand why you saw this in ./configure's output:
Code:

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

So I guess that you didn't type "./configure --help", which states:
Code:

--enable-lua-imlib2    enable if you want Lua Imlib2 bindings for Conky
                          [default=no]
--enable-lua-cairo      enable if you want Lua Cairo bindings for Conky
                          [default=no]

But in the SlackBuild these options are enabled if you set LUA to yes.

flyinggeorge 06-20-2013 01:51 PM

I have since migrated to using the slackbuild for conky.

Code:

bash-4.2# ls
README              conky.SlackBuild          conky.SlackBuild~  doinst.sh
conky-1.9.0.tar.bz2  conky.SlackBuild.original  conky.info        slack-desc

And I do have LUA=yes enabled in the slackbuild.

Here is what ./conky.SlackBuild returns and this is what I am trying to troubleshoot:

Code:

checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-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 x86_64-slackware-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-slackware-linux-dlltool... no
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-slackware-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-slackware-linux-strip... no
checking for strip... strip
checking for x86_64-slackware-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-slackware-linux-gcc object... ok
checking for sysroot... no
checking for x86_64-slackware-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... x86_64-slackware-linux-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 x86_64-slackware-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-slackware-linux-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-slackware-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-slackware-linux-gcc static flag -static works... yes
checking if x86_64-slackware-linux-gcc supports -c -o file.o... yes
checking if x86_64-slackware-linux-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-slackware-linux-gcc linker (/usr/x86_64-slackware-linux/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... no
checking whether x86_64-slackware-linux-gcc and cc understand -c and -o together... yes
checking for pkg-config... yes
checking for x86_64-slackware-linux-pkg-config... no
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 Audacious... yes
checking audacious/audctrl.h usability... yes
checking audacious/audctrl.h presence... yes
checking for audacious/audctrl.h... yes
checking audacious/dbus.h usability... yes
checking audacious/dbus.h presence... yes
checking for audacious/dbus.h... yes
checking glib.h usability... yes
checking glib.h presence... yes
checking for glib.h... yes
checking glib-object.h usability... yes
checking glib-object.h presence... yes
checking for glib-object.h... yes
checking for X11... yes
checking for Imlib2... yes
checking for LUA... yes
checking for cairo... yes
checking for cairo_xlib... yes
checking for tolua++... tolua++
checking for library containing tolua_error... no
configure: error: tolua_error not found

Cairo is not the problem here, nor is lua. Yes in the first post I was worried about cairo and lua, and your last post does explain why they weren't seen. But now I am using the slackbuild and I have a new problem, specifically, I cannot get past the last line:

Code:

checking for library containing tolua_error... no
I do appreciate the input though.


All times are GMT -5. The time now is 02:57 PM.