LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-16-2018, 07:40 PM   #1
drudox
Member
 
Registered: Feb 2016
Posts: 68

Rep: Reputation: Disabled
problem installing i3-gaps


hi everybody
I'm trying to install i3-gaps into my slak current, I got the source from git-hub
https://github.com/Airblader/i3/wiki...g-&-Installing but I got this error : /usr/lib64/../lib64/libxcb-shm.so.0: undefined symbol to "xcb_send_request_with_fds" .

It is a bit of time that I'm trying to install it but I also had a problem with libxkbcommon and xcb-util-xrm

did somebody reach to install it ? could you please help me with the error that I got ??
thanks in advance

Last edited by drudox; 04-16-2018 at 07:52 PM.
 
Old 04-17-2018, 02:06 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
hi drudox, I've just tried this method with success: as i3-gaps is a fork of i3, I have just gone to its page on SlackBuilds.org and installed all of the dependencies of i3 listed there using the SlackBuilds available on SBo (I've not used any prebuilt packages)

https://slackbuilds.org/repository/14.2/desktop/i3/

then I downloaded the i3 SlackBuild (with all the related files) and modified it like this
Code:
--- i3.SlackBuild.orig  2018-04-16 15:26:49.226346000 +0200
+++ i3.SlackBuild       2018-04-17 09:01:00.190346000 +0200
@@ -26,7 +26,7 @@
 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 PRGNAM=i3
-VERSION=${VERSION:-4.15}
+VERSION=${VERSION:-4.15.0.1}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -63,7 +63,7 @@
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
 cd $PRGNAM-$VERSION
 chown -R root:root .
 find -L . \
@@ -72,6 +72,8 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+autoreconf -fi
+
 mkdir -p build
 ( cd build
   CFLAGS="$SLKCFLAGS" \
after that I downloaded the i3-gaps source using this tarball

https://github.com/Airblader/i3/arch....15.0.1.tar.gz

and I executed the SlackBuild as usual
Code:
./i3.SlackBuild
the resulting package named something like /tmp/i3-4.15.0.1-*.tgz should work.

https://slackbuilds.org/howto/

Last edited by ponce; 04-17-2018 at 02:16 AM.
 
Old 04-17-2018, 03:38 AM   #3
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
Well let me said to see if I well understood !

I have to download i3-4.15.tar.bz2 from the site that you posted it and then download the SlackBuild install i3 ?? or not ?
if yes then how to proceed ?

could you explain me please how to applay this patch ? I'm sorry but I'm not sure about !

Thank you very much for your precious support .
 
Old 04-17-2018, 04:21 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I think you have not understood, try rereading what I wrote and tell me the specific phrase that you have difficulties understanding.

reading what you wrote I also assume that you are not familiar with SlackBuilds.org so please read these two documents

http://slackbuilds.org/howto/
http://slackbuilds.org/faq/

the first thing I suggested you above to do is to install the i3 dependencies using SlackBuilds.org' scripts, you should do that before doing anything else.
 
Old 04-17-2018, 04:36 AM   #5
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
Unhappy

Ok I have installed i3 and it works fine.
1) you have installed only the dependence right ? this is what I have understood .
2) download the i3 slack build and modified (apply patch) to the .SlackBuilds <- How to apply the patch
3) download i3.4.15.0.1.tar.gz <- here I don't understand why you said that you have downloaded i3-gaps this file is not just i3 ?

then everything is ready and you can use a slackbuilds as usual !

could you please clarify the point 2) and 3) am I wrong in something ?

sorry but I really not sure

Last edited by drudox; 04-17-2018 at 05:45 AM.
 
Old 04-17-2018, 05:43 AM   #6
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
the first point is that I'have already i3 and I would move to i3-gaps
so all dependencies is already install !

Last edited by drudox; 04-17-2018 at 05:51 AM.
 
Old 04-17-2018, 06:18 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
how you have installed the dependencies and i3?
 
Old 04-17-2018, 06:27 AM   #8
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
using slackbuild , now i have download the slack build of i3 from and apply the patch in this way
Code:
  patch < patches (where patches is the patch that you post)
patching file i3.SlackBuild
then i've put in this folder i3-4.15.0.1.tar.gz and finally
Code:
sudo ./i3.SlackBuild
but i got the same error
Code:
/usr/lib64/../lib64/libxcb-shm.so.0: riferimento non definito a "xcb_send_request_with_fds"
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:1568: i3] Error 1
make[1]: uscita dalla directory "/tmp/SBo/i3-4.15.0.1/build"
 
Old 04-17-2018, 06:38 AM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
what does the command
Code:
ls -la /var/log/packages/libxcb-* /var/log/packages/aaa_*
outputs?
 
Old 04-17-2018, 06:45 AM   #10
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
Code:
[marco ~/Download3/i3]$ ls -la /var/log/packages/libxcb-* /var/log/packages/aaa_*
-rw-r--r-- 1 root root   2220 apr 17 02:39 /var/log/packages/aaa_base-14.2-x86_64-3
-rw-r--r-- 1 root root   3041 apr 17 02:37 /var/log/packages/aaa_elflibs-14.2-x86_64-34
-rw-r--r-- 1 root root   3060 apr 17 02:39 /var/log/packages/aaa_elflibs-compat32-14.2-x86_64-34compat32
-rw-r--r-- 1 root root  13753 apr 17 02:39 /var/log/packages/aaa_terminfo-6.1-x86_64-3
-rw-r--r-- 1 root root 119343 apr 17 03:12 /var/log/packages/libxcb-1.13-x86_64-1
-rw-r--r-- 1 root root   3005 apr 17 03:12 /var/log/packages/libxcb-compat32-1.13-x86_64-1compat32
 
Old 04-17-2018, 06:45 AM   #11
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
thanks for your support
 
Old 04-17-2018, 06:56 AM   #12
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
can you please post the full build log of i3-gaps somewhere like http://pastebin.com? it can be handy to redirect the output to a file
Code:
./i3.SlackBuild > build.log 2>&1
Quote:
Originally Posted by drudox View Post
and finally
Code:
sudo ./i3.SlackBuild
never use sudo to launch SlackBuilds, switch to a full root user shell with "su -" (note the dash) and launch them from that root shell (see step 4 of the howto linked above).

post also the output of
Code:
ls -la /var/log/packages/xcb-*

Last edited by ponce; 04-17-2018 at 09:27 AM.
 
Old 04-17-2018, 10:33 AM   #13
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
this is the build log
https://pastebin.com/Vn4cVsyM


Code:
root@darkstar:/home/marco/Download3/i3# ls -la /var/log/packages/xcb-*
-rw-r--r-- 1 root root 4517 Apr 17 03:39 /var/log/packages/xcb-proto-1.13-x86_64-1
-rw-r--r-- 1 root root 1292 Mar 16  2016 /var/log/packages/xcb-proto_1.11-1_all
-rw-r--r-- 1 root root 1135 Mar 18  2016 /var/log/packages/xcb-util-0.4.0-x86_64-2
-rw-r--r-- 1 root root 1063 Mar 17  2016 /var/log/packages/xcb-util-compat32-0.4.0-x86_64-2compat32
-rw-r--r-- 1 root root 1013 Nov 26  2016 /var/log/packages/xcb-util-cursor-0.1.3-x86_64-1
-rw-r--r-- 1 root root 1163 Mar 18  2016 /var/log/packages/xcb-util-errors-1.0-x86_64-1
-rw-r--r-- 1 root root 1030 Mar 18  2016 /var/log/packages/xcb-util-image-0.4.0-x86_64-2
-rw-r--r-- 1 root root 1004 Mar 18  2016 /var/log/packages/xcb-util-keysyms-0.4.0-x86_64-2
-rw-r--r-- 1 root root 1122 Mar 18  2016 /var/log/packages/xcb-util-renderutil-0.3.9-x86_64-2
-rw-r--r-- 1 root root 1063 Mar 18  2016 /var/log/packages/xcb-util-wm-0.4.1-x86_64-2
-rw-r--r-- 1 root root 1016 Dec 25 06:00 /var/log/packages/xcb-util-xrm-1.2-x86_64-1_SBo
thanks again
 
Old 04-17-2018, 11:11 AM   #14
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,096

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
you have installed a xcb-proto_1.11-1_all I have no idea from where, it doesn't even look like a regular Slackware package: this is most probably conflicting with the xcb-proto package.
you can try a
Code:
cd /var/log/packages
removepkg xcb-proto_1.11-1_all
slackpkg reinstall xcb-proto
then try again to rebuild and reinstall first xcb-util-xrm (libxcb and xcb-proto in current have been updated recently so this must probably be rebuilt) and then i3-gaps.

Last edited by ponce; 04-17-2018 at 11:19 AM.
 
1 members found this post helpful.
Old 04-17-2018, 11:51 AM   #15
drudox
Member
 
Registered: Feb 2016
Posts: 68

Original Poster
Rep: Reputation: Disabled
I did what you said (remove and reinstall xcb-proto) and build xcb-util-xrm (I have also rebuild libxcb) now there is a different error

here the build.log
https://pastebin.com/NXMdDpiJ
 
  


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
iwscanner shows gaps turboscrew Linux - Wireless Networking 3 12-05-2015 03:06 AM
Help finding gaps in a sequence mikeleigh Programming 10 08-20-2009 05:13 PM
Gaps between fonts getBoa Linux - Desktop 1 02-13-2008 09:35 AM
Finding gaps with 'ls' or some other command mijohnst Linux - General 5 01-09-2006 04:59 PM
CD audio gaps problem cscott Linux - Software 1 08-27-2004 09:15 PM

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

All times are GMT -5. The time now is 09:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration