Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-28-2013, 01:12 PM
|
#1
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Rep: 
|
libxdg in Slack 14.0
Hello fellow Slack users. I was actually just curious about something; Has anyone installed libxdg in Slackware64 14.0? I'm trying to install Awesome.
|
|
|
10-28-2013, 02:21 PM
|
#2
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
libxdg-basedir
I used the attached slackbuild script to install libxdg-basedir-1.2.0 (as a dependency of i3wm)
|
|
|
10-28-2013, 02:35 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
Quote:
Originally Posted by BroX
I used the attached slackbuild script to install libxdg-basedir-1.2.0 (as a dependency of i3wm)
|
Are you sure it has ever been i3's dependency?
|
|
|
10-28-2013, 02:52 PM
|
#4
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
Quote:
Originally Posted by sycamorex
Are you sure it has ever been i3's dependency?
|
I stand corrected; it was a dependency of dunst (notification daemon).
|
|
|
10-28-2013, 04:19 PM
|
#5
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Ok, but don't I need the source as well?
|
|
|
10-28-2013, 04:23 PM
|
#6
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
Quote:
Originally Posted by slack_
Ok, but don't I need the source as well?
|
Indeed, source can be had here:
https://github.com/devnev/libxdg-basedir/releases
EDIT: upon inspection of the buildscript I noticed that the source link does not exist any longer. So you have to get it from the github link and save it with the slackbuild in the same directory.
Here's where I got the slackbuild script from (and slack-desc as well as slack-required files, which may be needed for the script):
https://github.com/PhantomX/slackbui...libxdg-basedir
Last edited by BroX; 10-28-2013 at 04:32 PM.
|
|
1 members found this post helpful.
|
10-28-2013, 04:45 PM
|
#7
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Seems I'm doing something wrong. I moved both the slackbuild and the source to a directory, chmod the slackbuild, run the slackbuild, receive this:
Code:
--2013-11-28 09:31:37-- http://n.ethz.ch/student/nevillm/download/libxdg-basedir/libxdg-basedir-1.2.0.tar.gz
Resolving n.ethz.ch (n.ethz.ch)... 129.132.202.24
Connecting to n.ethz.ch (n.ethz.ch)|129.132.202.24|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-11-28 09:31:38 ERROR 404: Not Found.
So obviously the site is down. My internet connection is fine though.
|
|
|
10-28-2013, 04:56 PM
|
#8
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
That's strange.
I have the following:
Code:
# ls
libxdg-basedir-1.2.0.tar.gz
libxdg-basedir.Slackbuild
slack-desc
slack-required
and when I run the script it untar's the source archive:
Code:
# ./libxdg-basedir.Slackbuild
libxdg-basedir-1.2.0/
libxdg-basedir-1.2.0/doxygen.cfg
libxdg-basedir-1.2.0/config.guess
libxdg-basedir-1.2.0/tests/
libxdg-basedir-1.2.0/tests/queryrd.2
... etc ...
Did you get the correct version, i.e. libxdg-basedir-1.2.0.tar.gz ?
|
|
|
10-28-2013, 05:08 PM
|
#9
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
I did get version 1.2.0 yes. It turned out to be a problem with the file name. Once I fixed it, it started to work until I get this error now:
Code:
libxdg-basedir-libxdg-basedir-1.2.0/tests/queryds.5
libxdg-basedir-libxdg-basedir-1.2.0/tests/queryds.6
libxdg-basedir-libxdg-basedir-1.2.0/tests/queryrd.1
libxdg-basedir-libxdg-basedir-1.2.0/tests/queryrd.2
libxdg-basedir-libxdg-basedir-1.2.0/tests/testdump.c
libxdg-basedir-libxdg-basedir-1.2.0/tests/testfind.c
libxdg-basedir-libxdg-basedir-1.2.0/tests/testquery.c
./libxdg-basedir.Slackbuild: line 107: cd: libxdg-basedir-1.2.0: No such file or directory
This is line 107 of the slackbuild:
Code:
cd ${SRCDIR} || exit 1
|
|
|
10-28-2013, 05:21 PM
|
#10
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
That's because the archive is not extracted to libxdg-basedir-1.2.0/ but libxdg-basedir-libxdg-basedir-1.2.0/
My mistake for not checking the git archive I linked to.
Get the source file from my ftp server, it should extract fine and will work with the script:
[ url removed ]
Hope this helps.
Last edited by BroX; 10-28-2013 at 06:26 PM.
Reason: ftp link removed
|
|
|
10-28-2013, 05:49 PM
|
#11
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Thanks it worked for me and I got it installed successfully. However when I went to compile the awesome packages I get this error:
Code:
-- checking for modules 'glib-2.0;gdk-pixbuf-2.0;cairo;x11;xcb-cursor;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;libxdg-basedir>=1.0.0'
-- package 'xcb-cursor' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
awesomeConfig.cmake:134 (pkg_check_modules)
CMakeLists.txt:15 (include)
CMake Error at awesomeConfig.cmake:153 (message):
Call Stack (most recent call first):
CMakeLists.txt:15 (include)
-- Configuring incomplete, errors occurred!
make: *** [cmake] Error 1
I guess I missed a package? I read somewhere that I need libstartup-notification as well. I just installed this package:
Code:
startup-notification-0.12-x86_64-1.txz
But I'm still getting the same error when I try and run make, in the awesome directory.
Last edited by slack_; 10-28-2013 at 05:52 PM.
|
|
|
10-28-2013, 05:59 PM
|
#12
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835
Rep:
|
I have no experience with awesome, but this is your clue:
Code:
-- package 'xcb-cursor' not found
which is part of xcb-util-cursor, another Slackware package.
I'd very much recommend you to do a full Slackware install.
Last edited by BroX; 10-28-2013 at 06:03 PM.
|
|
|
10-28-2013, 09:19 PM
|
#13
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Ok, well perhaps I will reinstall yet again. However, for the sake of this thread humor me for a moment. Because I'm pretty sure at this point that I've finally installed all the packages I need. I've installed the cursor util package. Once again ran make, and I've arrived at yet another error:
Code:
-- Configuring done
-- Generating done
-- Build files have been written to: /root/conf/pkgs/awesome-3.5.2/.build-insanity-x86_64-slackware-linux-4.7.1
Running make Makefileā¦
Buildingā¦
Scanning dependencies of target generated_sources
[ 0%] Generating atoms-intern.h
[ 1%] Generating atoms-extern.h
[ 1%] Built target generated_sources
Scanning dependencies of target awesome
[ 1%] Building C object CMakeFiles/awesome.dir/awesome.c.o
In file included from /root/conf/pkgs/awesome-3.5.2/awesome.c:40:0:
/root/conf/pkgs/awesome-3.5.2/objects/client.h:102:5: error: unknown type name 'xcb_icccm_get_wm_protocols_reply_t'
/root/conf/pkgs/awesome-3.5.2/objects/client.h: In function 'client_isfixed':
/root/conf/pkgs/awesome-3.5.2/objects/client.h:215:35: error: 'XCB_ICCCM_SIZE_HINT_P_MAX_SIZE' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/objects/client.h:215:35: note: each undeclared identifier is reported only once for each function it appears in
/root/conf/pkgs/awesome-3.5.2/objects/client.h:216:38: error: 'XCB_ICCCM_SIZE_HINT_P_MIN_SIZE' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/awesome.c: In function 'scan':
/root/conf/pkgs/awesome-3.5.2/awesome.c:137:24: error: 'XCB_ICCCM_WM_STATE_WITHDRAWN' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/awesome.c: In function 'main':
/root/conf/pkgs/awesome-3.5.2/awesome.c:325:5: warning: implicit declaration of function 'xdgInitHandle' [-Wimplicit-function-declaration]
/root/conf/pkgs/awesome-3.5.2/awesome.c:527:5: warning: implicit declaration of function 'xdgWipeHandle' [-Wimplicit-function-declaration]
make[3]: *** [CMakeFiles/awesome.dir/awesome.c.o] Error 1
make[2]: *** [CMakeFiles/awesome.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [cmake-build] Error 2
I've tried but I can't really seem to make sense of this particular error.
|
|
|
10-28-2013, 09:33 PM
|
#14
|
Member
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99
Rep:
|
Quote:
Originally Posted by slack_
Code:
...
[ 1%] Building C object CMakeFiles/awesome.dir/awesome.c.o
In file included from /root/conf/pkgs/awesome-3.5.2/awesome.c:40:0:
/root/conf/pkgs/awesome-3.5.2/objects/client.h:102:5: error: unknown type name 'xcb_icccm_get_wm_protocols_reply_t'
/root/conf/pkgs/awesome-3.5.2/objects/client.h: In function 'client_isfixed':
/root/conf/pkgs/awesome-3.5.2/objects/client.h:215:35: error: 'XCB_ICCCM_SIZE_HINT_P_MAX_SIZE' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/objects/client.h:215:35: note: each undeclared identifier is reported only once for each function it appears in
/root/conf/pkgs/awesome-3.5.2/objects/client.h:216:38: error: 'XCB_ICCCM_SIZE_HINT_P_MIN_SIZE' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/awesome.c: In function 'scan':
/root/conf/pkgs/awesome-3.5.2/awesome.c:137:24: error: 'XCB_ICCCM_WM_STATE_WITHDRAWN' undeclared (first use in this function)
/root/conf/pkgs/awesome-3.5.2/awesome.c: In function 'main':
/root/conf/pkgs/awesome-3.5.2/awesome.c:325:5: warning: implicit declaration of function 'xdgInitHandle' [-Wimplicit-function-declaration]
/root/conf/pkgs/awesome-3.5.2/awesome.c:527:5: warning: implicit declaration of function 'xdgWipeHandle' [-Wimplicit-function-declaration]
...
I've tried but I can't really seem to make sense of this particular error.
|
Code:
jprzybyl@fontane:~$ grep xcb-icccm /var/log/packages/*
/var/log/packages/xcb-util-wm-0.3.9-x86_64-1:usr/lib64/pkgconfig/xcb-icccm.pc
/var/log/packages/xcb-util-wm-0.3.9-x86_64-1:usr/lib64/libxcb-icccm.so.4.0.0
/var/log/packages/xcb-util-wm-0.3.9-x86_64-1:usr/lib64/libxcb-icccm.la
Have you installed xcb-util-wm?
|
|
|
10-28-2013, 09:38 PM
|
#15
|
Member
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105
Original Poster
Rep: 
|
Am I doing something wrong? The most recent packages such as: xcb-cursor, xcb-util-wm, startup-notification, so forth... have just been downloaded from the slackware package website, and immediately installed using installpkg xcb-util-cursor-0.1.0-x86_64-1.txz or whatever.
Because I'm still getting errors. How many packages do I need?
|
|
|
All times are GMT -5. The time now is 12:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|