SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to build several packages designed for slackware 13 at slackbuilds. Those was a simple apps like ardour, audacity ... for example.
ardour error:
Quote:
./ardour.SlackBuild: line 91: scons: command not found
from line 91 the slackbuild looks like this:
scons \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \
ARCH="$(echo $SLKCFLAGS)" \
FREEDESKTOP=1 \
$wiiopt \
$lv2opt\
$vstopt
scons \
--implicit-deps-unchanged \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \
ARCH="$(echo $SLKCFLAGS)" \
FREEDESKTOP=1 \
$wiiopt \
$lv2opt \
$vstopt \
DESTDIR=$PKG \
install
audacity error:
Quote:
checking for C compiler default output file name...
configure: error: in `/tmp/SBo/audacity-src-1.3.7':
configure: error: C compiler cannot create executables
See `config.log' for more details.
in config.log:
configure:2368: gcc -O2 -march=i486 -mtune=i686 conftest.c >&5
conftest.c:1: error: CPU you selected does not support x86-64 instruction set
My CPU is AMD Phenom 9550 Quad core. It supports 64 bit. My os is slackware 13_64.
What do I need to change in slackbuild to create a txz package for those apps?
thanks
In every Slackbuild is a Section ARCH=${ARCH:-i486}, this you must change to x86_64
The missing package of scons worked too, but I found out that it needs more packages to be installed.
All of them finally ended with the same error: (ardour, audcity)
The ardour after scons installation, required a next library > liblrdf, which ends with the following error:
Quote:
checking build system type... configure: error: /bin/sh ./config.sub -slackware-linux failed
The audacity requires libsndfile package, which ends with the same error too:
Quote:
checking build system type... configure: error: /bin/sh ./config.sub -slackware-linux failed
To zordrak >
Quote:
The curly brackets are superfluous.
What does this mean? There is a problem with this line (for example)? >
Get sbopkg, it makes things easy when you have a number of SlackBuilds to run. When you want to install something with several dependencies (the Slackbuild readme files tell you what's needed), then you can queue them up in sbopkg to build and install in the right order. it automatically detects the right architecture, too.
+1 for sbopkg.
look for needed packages on slackbuilds.org: after you found all dependencies you can build easily with sbopkg creating a queuefile named /var/lib/sbopkg/queues/audacity.sqf with this content
and answer to the questions (keep queuefile options ).
if audacity gives you problems building with soundtouch and twolame support, you can use the official queuefile written by slackbuilds' audacity mantainer.
same thing for ardour: read slackbuild's page for hints on dependencies (to write a queuefile).
I like dependencies. It tests my will to achieve the goal. And since it is important to me it finally works with your help.
Thanks for all of you.
The finally order of packages is:
That's one of the things that make Slackware more interesting than some other distros. Finding out what depends on what and getting it yourself, rather than letting a package manager do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.