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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
04-14-2012, 05:29 PM
|
#1
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Rep:
|
compiling awesome problem
i want to try awesome, but i can't compile it right, i recompiled "cairo" with "xcb" enabled and upgraded "xcb-util0.3.6" to "xcb-util-0.3.8" ,, but i still missing something.
Quote:
root@H:/home/tux/Downloads/awesome-3.4.11# make
Running cmake…
-- cat -> /bin/cat
-- ln -> /bin/ln
-- grep -> /bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- gperf -> /usr/bin/gperf
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /bin/gzip
-- lua -> /usr/bin/lua
-- luadoc not found.
-- convert -> /usr/bin/convert
-- Not generating luadoc. Missing: luadoc
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
-- package 'xcb-icccm>=0.3.8' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
awesomeConfig.cmake:132 (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
|
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
04-14-2012, 05:52 PM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Have you installed libxdg? edit: obviously you have.
Have a look at this tutorial.
Last edited by sycamorex; 04-14-2012 at 06:00 PM.
|
|
|
|
04-14-2012, 05:54 PM
|
#3
|
|
Member
Registered: Oct 2011
Distribution: Slackware
Posts: 66
Rep: 
|
I don't have a lot of exp compiling but you saw this line?
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
-- package 'xcb-icccm>=0.3.8' not found
Regards,
John
|
|
|
|
04-14-2012, 06:16 PM
|
#4
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
@sycamorex actually i'm following ur tutorial and everything was ok ,, and when i reached step "4" in ur tutorial and i run "make" i got that error
-- package 'xcb-util>=0.3.8' not found
-- package 'xcb-icccm>=0.3.8' not found
then i upgraded "xcb-util-0.3.6" to "xcb-util-0.3.8",, then run make again ,, but still have -- package 'xcb-icccm>=0.3.8' not found
and i think i've installed libxdg correctly
Quote:
root@H:/home/tux/Downloads/awesome-3.4.11# find / -name basedir.h 2>/dev/null
/usr/include/basedir.h
|
|
|
|
|
04-14-2012, 06:19 PM
|
#5
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
@JohnV2 thank you for ur tip ,, and i tried to install this package called "xcb-icccm" but unfortunately i did not find any package with that name.
|
|
|
|
04-14-2012, 06:33 PM
|
#6
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Quote:
Originally Posted by idnotcrae
@sycamorex actually i'm following ur tutorial and everything was ok ,, and when i reached step "4" in ur tutorial and i run "make" i got that error
-- package 'xcb-util>=0.3.8' not found
-- package 'xcb-icccm>=0.3.8' not found
then i upgraded "xcb-util-0.3.6" to "xcb-util-0.3.8",, then run make again ,, but still have -- package 'xcb-icccm>=0.3.8' not found
and i think i've installed libxdg correctly
|
Weird. What's the output of:
Code:
ls /var/log/packages | grep xcb*
I was about to build it myself on a clean Slackware system to check it but slackware.com is down and don't have any mirrors bookmarked. Once it's up again, I'll try to build it in a virtual machine.
|
|
|
|
04-14-2012, 06:43 PM
|
#7
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
Quote:
bash-4.1$ ls /var/log/packages | grep xcb*
libxcb-1.7-i486-1
lxc-0.7.4-i486-2
xcalc-1.0.4.1-i486-1
xcb-proto-1.6-noarch-1
xcb-util-0.3.6-i486-1
xcb-util-0.3.8-i486
xchat-2.8.8-i486-3
xclipboard-1.1.1-i486-1
xclock-1.0.5-i486-1
xcmiscproto-1.2.1-noarch-1
xcmsdb-1.0.3-i486-1
xcompmgr-1.1.5-i486-2
xconsole-1.0.4-i486-1
xcursor-themes-1.0.3-noarch-1
xcursorgen-1.0.4-i486-1
|
i did not used to compile programs , may be i'm missing something.
|
|
|
|
04-14-2012, 06:49 PM
|
#8
|
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,089
|
Ok, you've got 2 installs of xcb-util. Can you make sure that you've only got one installed (ideally the one that came with Slackware) Why did you have to upgrade it?
|
|
|
|
04-14-2012, 06:50 PM
|
#9
|
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 615
Rep: 
|
Looks like it has been split out you need to get "xcb-util-wm"
http://xcb.freedesktop.org/dist/xcb-...-0.3.8.tar.bz2
Last edited by wildwizard; 04-14-2012 at 06:52 PM.
|
|
|
2 members found this post helpful.
|
04-14-2012, 07:04 PM
|
#10
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
i upgraded it actually because when i tried to run "make" with the original packages came with slack, i got the following error
Quote:
Running cmake…
-- cat -> /bin/cat
-- ln -> /bin/ln
-- grep -> /bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- gperf -> /usr/bin/gperf
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /bin/gzip
-- lua -> /usr/bin/lua
-- luadoc not found.
-- convert -> /usr/bin/convert
-- Not generating luadoc. Missing: luadoc
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
-- package 'xcb-util>=0.3.8' not found
-- package 'xcb-icccm>=0.3.8' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
awesomeConfig.cmake:132 (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 checked /var/log/packages , found "xcb-util-0.3.6-i486-1" installed ,, and i thought that awesome needs the higher version.
i removed "xcb-util-0.3.8-i486" and run make again but got the same error missing the two
-- package 'xcb-util>=0.3.8' not found
-- package 'xcb-icccm>=0.3.8' not found
|
|
|
|
04-14-2012, 07:08 PM
|
#11
|
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 615
Rep: 
|
idontcare: Your ls listing shows you have both versions installed.
After you remove the old version of xcb-util you will need to reinstall the new version and you will need the new package I posted previously as it contains the icccm-xcb lib.
|
|
|
|
04-14-2012, 07:09 PM
|
#12
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by wildwizard
|
thank you i'll try that and post the results back
|
|
|
|
04-14-2012, 07:15 PM
|
#13
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
Quote:
Originally Posted by wildwizard
idontcare: Your ls listing shows you have both versions installed.
After you remove the old version of xcb-util you will need to reinstall the new version and you will need the new package I posted previously as it contains the icccm-xcb lib.
|
do i get that right ?
1- uninstall xcb-util-0.3.6-i486-1 <- came with slack
2- install xcb-util-0.3.8-i486 <- the new version
3- build and install xcb-util-wm-0.3.8.tar.bz2
|
|
|
|
04-14-2012, 07:28 PM
|
#14
|
|
Member
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 615
Rep: 
|
Your order is correct
You may also need to upgrade other parts of xcb, if you get any configure errors get the upgraded parts from here :-
http://xcb.freedesktop.org/dist/
|
|
|
|
04-14-2012, 07:51 PM
|
#15
|
|
Member
Registered: May 2011
Distribution: Slackware
Posts: 121
Original Poster
Rep:
|
@Wildwizard > it works fine now , my problem was the missing "xcb-util-wm" and the newer version "xcb-util-0.8.3" package exactly like u said.
thank you 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:45 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
|
|