LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-02-2022, 06:40 AM   #1
Petr Strajt
LQ Newbie
 
Registered: Oct 2011
Location: Olomouc Czech Republic
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Missing install script in package xfce4-xkb-plugin-0.8.3


Hi all,

I am trying to build package xfce4-xkb-plugin-0.8.3. I use this tutorial https://docs.slackware.com/howtos:sl...ding_a_package

Package is created, but with warning: No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This is my second attempt to make package. The first attempt, built text editor emacs was successful I used the same tutorial.

All steps were successful, but this no: strip -s /tmp/build/usr/lib/* /tmp/build/usr/bin/*

It produced this error message:
strip -s /tmp/build/usr/lib/* /tmp/build/usr/bin/*
strip: Warning: '/tmp/build/usr/lib/xfce4' is a directory
strip: '/tmp/build/usr/bin/*': No such file

Where I made any mistakes?
 
Old 11-02-2022, 06:44 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,384

Rep: Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103Reputation: 4103
SBo guys provide useful templates:

https://slackbuilds.org/templates/
 
Old 11-02-2022, 07:33 AM   #3
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
This (taken from a random slackbuild in slackware/source) would be a better way to do it:
Code:
PKG=/tmp/build
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
...or use a template from SBo as marav suggested.
 
  


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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Doesn't work xfce4-xkb-plugin FreeArcher Slackware 8 01-17-2021 08:49 AM
sudoers.d - trying to run a script without a password for xfce4-genmon-plugin whutwhutinthebutt Linux - Newbie 1 03-11-2016 12:45 PM
SlackWare 13.37 xfce + xkb-plugin == ctrl+alt+backspace not working FeyFre Slackware 8 01-25-2012 09:18 AM

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

All times are GMT -5. The time now is 12:45 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