LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-28-2013, 01:12 PM   #1
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Rep: Reputation: Disabled
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.
 
Old 10-28-2013, 02:21 PM   #2
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
libxdg-basedir

I used the attached slackbuild script to install libxdg-basedir-1.2.0 (as a dependency of i3wm)
Attached Files
File Type: txt libxdg-basedir.Slackbuild.txt (6.2 KB, 30 views)
 
Old 10-28-2013, 02:35 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by BroX View Post
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?
 
Old 10-28-2013, 02:52 PM   #4
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
Quote:
Originally Posted by sycamorex View Post
Are you sure it has ever been i3's dependency?
I stand corrected; it was a dependency of dunst (notification daemon).
 
Old 10-28-2013, 04:19 PM   #5
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
Ok, but don't I need the source as well?
 
Old 10-28-2013, 04:23 PM   #6
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
Quote:
Originally Posted by slack_ View Post
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.
Old 10-28-2013, 04:45 PM   #7
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-28-2013, 04:56 PM   #8
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
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 ?
 
Old 10-28-2013, 05:08 PM   #9
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-28-2013, 05:21 PM   #10
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
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
 
Old 10-28-2013, 05:49 PM   #11
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-28-2013, 05:59 PM   #12
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 835

Rep: Reputation: 90
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.
 
Old 10-28-2013, 09:19 PM   #13
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-28-2013, 09:33 PM   #14
jprzybylski
Member
 
Registered: Apr 2011
Location: Canada
Distribution: Slackware
Posts: 99

Rep: Reputation: 23
Quote:
Originally Posted by slack_ View Post
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?
 
Old 10-28-2013, 09:38 PM   #15
slack_
Member
 
Registered: Oct 2013
Distribution: Slackware, Arch
Posts: 105

Original Poster
Rep: Reputation: Disabled
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?
 
  


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
Please recommend Slack-based & Slack-compatible distros. (Con'td.) Sandlin Slackware 2 02-04-2013 07:11 PM
ping from Slack not to Slack ( Usb wireless card Atheros AR9271) andre.it Linux - Networking 1 07-22-2012 02:19 PM
Dual-boot Slack/Ubuntu-install slack over XP-help with weird partition layout & lilo? linus72 Slackware 2 05-23-2009 10:03 AM
Please recommend Slack-based & Slack-compatible distros. brjoon1021 Slackware 19 11-04-2007 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration