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'm trying to install Audacity on Slackware 12.2. Went to slacbuilds.org to find that. Thing is, when I run the SlackBuild file, I get an error. First error for something about wxwidgets. So went and found that. Now I get another error. This is the one :
configure: error: Audacity requires expat to be enabled
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
Hi people,
Is there any more information on this error and how to correct it. FYI, I have expat installed, and the libs are in /usr/lib as would be expected, but the build still returns with the error shown above, so any additional help will be appreciated.
+if test "$LIBEXPAT_USE_LOCAL" != "yes" && test "$LIBEXPAT_USE_SYSTEM" != "yes"
; then
+ AC_MSG_ERROR([Audacity requires expat to be enabled])
+else
+ if test "$LIBEXPAT_USE_SYSTEM" = "yes" ; then
+ AC_DEFINE(USE_SYSTEM_EXPAT, 1, [Use system Expat library])
+ fi
+fi
+
if test "$LIBRESAMPLE_USE_LOCAL" = "yes" || test "$LIBRESAMPLE_USE_SYSTEM" =
"yes" ; then
LIBSAMPLERATE_USE_LOCAL="no"
LIBSAMPLERATE_USE_SYSTEM="no"
It seems there are two choices, of which you must use one; --expat=local or --expat=system
Since you have expat installed, I'd go with --expat=system
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
Except, of course the test for expat is obviously failing as it doesn't find the locally installed expat libs. Even using ./configure --with-expat local.
Any more suggestions?
I don't have a try-out location here, but my guess is that --with-expat should come with an "=" between "local" or "system". The error is not that the configure script cannot find the library, but that it does not seem to be enabled as in --with-expat=[local|system]
try and see what the options exactly are with ./configure --help
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
OK, done that. Used ./configure --with-expat=local/system/y/n/and any other combination it could possible be.
./configure --help specifies not to use the equals sign, so I have tried that as well. Googleing suggests that there should be an expat.pc file in /usr/lib/pkgconfig, but there isn't, so I have created one. Guess what, still the same. There are 2 versions available. One expects that you have all of the support libs installed (which I have), whilst the other has all the support libs included, so off I go to download the larger version, 17+Mbs as opposed to just over 10Mb. I will let you know what happens
I tried to find out what might be wrong myself, since I installed it twice on two separate machines with 12.2 and didn't have any problems.
I have a bit of time and still have the packages I used to install it from slackbuilds. So if you tell me which wxwidgets you installed I'll uninstall and attempt it myself and see if I can't find the problem.
However, just to make sure, these are the steps I took when installing Audacity. wxGTK then libsndfile then audacity. All from slackbuilds.org.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
Okey dokey. Downloaded the 17+Mb version, which includes all of the libraries, and bingo, it all compiles and builds first time. So that's good enough for me, at least for now anyway.
It would be nice to know why the smaller download fails when trying to locate the Expat libs, and maybe when I have some extra time I might do more digging, but for now at least, all is again at peace.
Hi everybody,
I'm trying to install Audacity using slackbuild packages, but I have the same problem with expat
So I've searched on google for the 17Mb package that includes all the libraries needed, but I couldn't manage to find it.
Please, can someone write the link?
1) I've tried to compile "audacity-fullsrc-1.3.14-beta.tar.bz2" using Slackbuils, but it returned some errors during the execution of "./configure".
So I've chosen to compile it manually, but the error is the same:
" ./configure: line 366: test: required: integer expression expected...
./configure: line 263: return: required: numeric argument requested.. ecc..."
2) I've decided to try with an old version of Audacity, 1.3.10, but now the problem is:
" Your version of portaudio doesn't include required functions"
Please, can you suggest me what should I do?
Cheers
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.