LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-14-2012, 05:29 PM   #1
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Rep: Reputation: 0
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.
Old 04-14-2012, 05:52 PM   #2
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
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.
 
Old 04-14-2012, 05:54 PM   #3
JohnV2
Member
 
Registered: Oct 2011
Distribution: Arch,BlackArch,Slackware
Posts: 66

Rep: Reputation: Disabled
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
 
Old 04-14-2012, 06:16 PM   #4
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
@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
 
Old 04-14-2012, 06:19 PM   #5
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
@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.
 
Old 04-14-2012, 06:33 PM   #6
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 idnotcrae View Post
@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.
 
Old 04-14-2012, 06:43 PM   #7
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
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.
 
Old 04-14-2012, 06:49 PM   #8
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
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?
 
Old 04-14-2012, 06:50 PM   #9
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
Old 04-14-2012, 07:04 PM   #10
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
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
 
Old 04-14-2012, 07:08 PM   #11
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 04-14-2012, 07:09 PM   #12
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wildwizard View Post
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
thank you i'll try that and post the results back
 
Old 04-14-2012, 07:15 PM   #13
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
Thumbs down

Quote:
Originally Posted by wildwizard View Post
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
 
Old 04-14-2012, 07:28 PM   #14
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 875

Rep: Reputation: 282Reputation: 282Reputation: 282
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/
 
Old 04-14-2012, 07:51 PM   #15
idnotcrae
Member
 
Registered: May 2011
Distribution: Slackware
Posts: 121

Original Poster
Rep: Reputation: 0
@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
 
  


Reply



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
Awesome configuration problem Neo_Oen_464AHD3 Linux - Desktop 3 03-11-2012 10:09 AM
slackware + awesome problem jsam Slackware 1 02-26-2012 10:32 PM
[SOLVED] Ifplugd > Awesome WM 3.4.5-1 widget using awesome-client Biowaste Linux - General 3 07-09-2010 07:37 AM
awesome window manager problem phantom_cyph Linux - Software 2 05-04-2008 11:06 PM

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

All times are GMT -5. The time now is 04:17 AM.

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