SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems libxdg did not install correctly. Can you remove both versions using eg. pkgtool program and them we'll try to install it again.
I removed both versions using pkgtool and re-installed the latest version of libxdg. After installing, I tried to make awesomewm again but with the same results. I ran updatedb and find basedir.h - no such file found. :S
How exactly did you install libxdg-basedir?
Can you grab the source and use src2pkg? I've just tried it on a fresh install of slackware in a virtual machine. You should have:
How exactly did you install libxdg-basedir?
Can you grab the source and use src2pkg? I've just tried it on a fresh install of slackware in a virtual machine. You should have:
Well I removed it again and rebuilt using src2pkg again and for some reason this time it worked? In previous installs I had used su and then installed the pkg from root. This time the only difference I did was use sudo to installpkg. Did this place libxdg-basedir in an unaccessible root folder make could not access?
Thanks for the help sycamorex! Looking good so far, hung up again at 61% but I'll try to troubleshoot it a bit more before coming back to the forums.
Glad this has been sorted. Whenever I build any packages I always use 'su -' to make sure I'm in a complete root environment including all the paths, etc.
What is stuck at 61%? Have you done all the steps that were mentioned in the tutorial?
Glad this has been sorted. Whenever I build any packages I always use 'su -' to make sure I'm in a complete root environment including all the paths, etc.
What is stuck at 61%? Have you done all the steps that were mentioned in the tutorial?
I have, it seems to be luadoc that is hanging up. Output below:
Code:
[ 61%] Built target generated_icons
lua: /usr/local/bin/luadoc:7: module 'luadoc' not found:
no field package.preload['luadoc']
no file './luadoc.lua'
no file '/usr/share/lua/5.1/luadoc.lua'
no file '/usr/share/lua/5.1/luadoc/init.lua'
no file '/usr/lib64/lua/5.1/luadoc.lua'
no file '/usr/lib64/lua/5.1/luadoc/init.lua'
no file './luadoc.so'
no file '/usr/lib64/lua/5.1/luadoc.so'
no file '/usr/lib64/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/local/bin/luadoc:7: in main chunk
[C]: ?
make[3]: *** [CMakeFiles/luadoc] Error 1
make[2]: *** [CMakeFiles/luadoc.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [cmake-build] Error 2
I think the make is looking in the wrong directory. According to this site, I have to revise a config file which I've yet to do. Thanks for the package root tip.
I took notes when installing Slackware in a VM at work. This is for installing latest git version of awesome using my own slackbuilds and sbopkg when appropriate:
Code:
* recompile cairo with xcb support
# cd $SLACKWARE_TREE/source/l/cairo
edit cairo.SlackBuild to add --enable-xcb \ in the list of ./configure options
# ./cairo.SlackBuild
# upgradepkg --reinstall /tmp/cairo*.txz
* upgrade startup-notification
# cd $SLACKWARE_TREE/source/l/startup-notification
# wget -c http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz
# gunzip startup-notification-0.12.tar.gz
# bzip2 startup-notification-0.12.tar
# VERSION=0.12 ./startup-notification.SlackBuild
# upgradepkg /tmp/startup-notification-*.txz
* upgrade xcb-util
** get the sources
# cd $SLACKWARE_TREE/source/x/x11/src/xcb
# rm xcb-util-*
# wget -c http://xcb.freedesktop.org/dist/xcb-util-0.3.8.tar.bz2 http://xcb.freedesktop.org/dist/xcb-util-image-0.3.8.tar.bz2 http://xcb.freedesktop.org/dist/xcb-util-renderutil-0.3.8.tar.bz2 http://xcb.freedesktop.org/dist/xcb-util-wm-0.3.8.tar.bz2 http://xcb.freedesktop.org/dist/xcb-util-keysyms-0.3.8.tar.bz2
** build it
# cd $SLACKWARE_TREE/source/x/x11
# for i in xcb-util xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util-image; do ./x11.SlackBuild xcb $i; done
** install it
# upgradepkg --install-new /tmp/x11-build/xcb-util-*.txz
* install libev
# sbopkg -i libev
* install lua
# sbopkg -i lua
* install libxdg-basedir
# cd $SLACKBUILDS
# mkdir libxdg-basedir
# cd libxdg-basedir
# wget -c https://raw.github.com/cycojesus/slackbuilds/master/l/libxdg-basedir/libxdg-basedir.SlackBuild
# chmod +x libxdg-basedir.SlackBuild
# ./libxdg-basedir.SlackBuild
# upgradepkg --install-new /tmp/libxdg-basedir-*.txz
* install oocairo
# cd $SLACKBUILDS
# mkdir oocairo
# cd oocairo
# wget -c https://raw.github.com/cycojesus/slackbuilds/master/l/oocairo/oocairo.SlackBuild
# chmod +x oocairo.SlackBuild
# ./oocairo.SlackBuild
# upgradepkg --install-new /tmp/oocairo-*.txz
* install oopango
# cd $SLACKBUILDS
# mkdir oopango
# cd oopango
# wget -c https://raw.github.com/cycojesus/slackbuilds/master/l/oopango/oopango.SlackBuild
# chmod +x oopango.SlackBuild
# ./oopango.SlackBuild
# upgradepkg --install-new /tmp/oopango-*.txz
* install luarocks [OPTIONAL]
# cd $SLACKBUILDS
# mkdir luarocks
# cd luarocks
# wget -c https://raw.github.com/cycojesus/slackbuilds/master/d/luarocks/luarocks.SlackBuild
# chmod +x luarocks.SlackBuild
# ./luarocks.SlackBuild
# upgradepkg --install-new /tmp/luarocks-*.txz
* install luadoc [OPTIONAL]
# luarocks install luadoc
* install awesome
# cd $SLACKBUILDS
# mkdir awesome
# cd awesome
# wget -c https://raw.github.com/cycojesus/slackbuilds/master/xap/awesome/awesome.SlackBuild
# chmod +x awesome.SlackBuild
# ./awesome.SlackBuild
# upgradepkg --install-new /tmp/awesome-*.txz
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.