Page 1 of 1

[solved] Re: need audacity, but usm looks broken, actually

Posted: 24 Oct 2014, 22:20
by MacGuges
I've been trying to install audacity today, but been frustrated in each of my diverse attempts. Apparently I'm missing a low-level audio library, but it's not at all clear what I need to install to provide it.

Most recently I downloaded the package from http://porteus-apps.org/slackware/slack ... are/audio/, converting that txz package to a xzm, and when libid3tag was reported missing I built it from source (ftp://ftp.mars.org/pub/mpeg/). However, audacity continues to report this library is missing.

I've also tried studiopkg, recommended in another thread in these forums, http://forum.porteus.org/viewtopic.php?f=39&t=3323, but after running studiopkg -q audio I had also received the same error,

Code: Select all

audacity: error while loading shared libraries: libid3tag.so.0: cannot open shared object file: No such file or directory
I'm perplexed that I could be having so much difficulty installing a common application. Earlier I had tried building from source, but building wxGTK3 failed on a type mismatch error, so for now I'm focusing on installing a binary executable.

Re: need audacity, but dependencies remain missing

Posted: 24 Oct 2014, 23:30
by Bogomips

Code: Select all

root@porteus:/home/guest# usm -s libid3tag.

libid3tag-0.15.1b-i486-4.txz was found in slackware [not installed]
Packages found:   1 

Use:   usm -i <package>  for more info
Use:   usm -g <package>  to download

root@porteus:/home/guest# usm -g libid3tag.

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) libid3tag-0.15.1b-i486-4.txz
#? 1

Processing:   libid3tag-0.15.1b-i486-4.txz 
Ignored libraries: 

Libraries required:  1
Libraries found in system: 1
Libraries to resolve: 0

 The following packages are required. 
libid3tag-0.15.1b-i486-4.txz [36K] [not installed]

Total size: 36 KB
 Would you like to install the package/s? (custom paths are supported) [y/n]


Re: need audacity, but dependencies remain missing

Posted: 24 Oct 2014, 23:50
by donald

Re: need audacity, but dependencies remain missing

Posted: 25 Oct 2014, 01:23
by brokenman
Please try using the package manager. It pulls packages from across 5 different slackware repositories. Open a terminal and elevate to root: su (password is toor)

Code: Select all

usm -g audacity
This was the final output on a vanilla 32bit xfce install:

Code: Select all


The following packages are required. 
audacity-2.0.5-i486-1sl.txz [3362K] [not installed]
celt-0.11.3-i486-1ponce.txz [64K] [not installed]
jack-audio-connection-kit-0.124.1-i486-2ponce.txz [376K] [not installed]
libid3tag-0.15.1b-i486-4.txz [36K] [not installed]
libmspack-0.4alpha-i486-1ponce.txz [160K] [not installed]
soundtouch-1.7.1-i486-1gv.txz [57K] [not installed]
vamp-plugin-sdk-2.2.1-i486-3sl.txz [245K] [not installed]
wxGTK-2.8.12-i486-3sl.txz [3551K] [not installed]

Total size: 7 MB

 Multiple packages were detected.
 Would you like to merge the packages into one module? [y/n]

Re: need audacity, but usm looks broken, actually

Posted: 25 Oct 2014, 03:41
by MacGuges
brokenman wrote:Please try using the package manager. It pulls packages from across 5 different slackware repositories. Open a terminal and elevate to root: su (password is toor)

Code: Select all

usm -g audacity
Thank you for bringing up usm. If I hadn't usually been successful with building from source or converting packages I found from pkgs.org, I would have reported the "not at all working" status of the package manager earlier. Here's what I see when I attempt to install audacity:

Code: Select all

root@porteus:~# usm -g audacity
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments

 Nothing found for:  audacity 

root@porteus:~# Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
and here's what I get when I search for libid3tag:

Code: Select all

root@porteus:~# usm -s libid3tag
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments

awk: fatal: cannot open file `/var/usm/sbo/SLACKBUILDS.TXT' for reading (No such file or directory)
Nothing found for libid3tag
Running usm always produces some errors.

Code: Select all

root@porteus:~# usm -v
/usr/bin/usm: line 133: [: too many arguments
 You are using USM version:  3.1.7
Updating a database produces lots of errors, mostly missing files:

Code: Select all

root@porteus:~# usm -u slackware
/usr/bin/usm: line 133: [: too many arguments
/usr/bin/usm: line 169: [: too many arguments
 Starting slackware database update 
awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
awk: fatal: cannot open file `/var/usm/slackware/CHECKSUMS.md5' for reading (No such file or directory)
md5sum: /var/usm/slackware/MANIFEST.bz2: No such file or directory
File verification was good.
Optimizing manifest
egrep: /var/usm/slackware/MANIFEST: No such file or directory
rm: cannot remove ‘/var/usm/slackware/MANIFEST’: No such file or directory
grep: /var/usm/slackware/LIBS.TXT: No such file or directory
sed: can't read /var/usm/slackware/LIBS.TXT: No such file or directory
grep: /var/usm/slackware/LIBS.TXT: No such file or directory
sed: can't read /var/usm/slackware/LIBS.TXT: No such file or directory
awk: fatal: cannot open file `/var/usm/slackware/PACKAGES.TXT' for reading (No such file or directory)
 slackware  database updated. 

This weekend I urgently need to get audacity working, to help a friend. Let's begin by attempting to repair usm (it will be several hours before I can respond to any new suggestions). Perhaps some essential files were clobbered since I installed Porteus 3.0.

Thank you for your help!

Re: need audacity, but usm looks broken, actually

Posted: 25 Oct 2014, 20:33
by brokenman
Are you using any changes= cheatcodes? If so try booting into 'Always fresh' mode and see if it works.

Also please update usm to the latest version by downloading the slackware package here and installing it with: installpkg /path/to/usm-latest-0.0-noarch-1.txz

You should also note that Porteus-v3.1rc1 is now available which contains the latest package. http://build.porteus.org/rc

Re: need audacity, but usm looks broken, actually

Posted: 28 Oct 2014, 03:22
by MacGuges
I finally found some time to work on this problem, and I've got some results!
brokenman wrote:Are you using any changes= cheatcodes? If so try booting into 'Always fresh' mode and see if it works.
Yeah, I use changes=/porteus/porteus. Once I booted into 'Always fresh' I confirmed that "usm -u all" works just fine. No errors.

(I've further modified my porteus.cfg to not include my optional modules, in case any of them could involved. That leaves three modules in /porteus/porteus/modules: nVidia, keepassx and qt. Logging back in, I confirmed that "usm -u all" remains broken.)
brokenman wrote:Also please update usm to the latest version by downloading the slackware package here and installing it with: installpkg /path/to/usm-latest-0.0-noarch-1.txz
FYI, I did this first of all.

Code: Select all

# usm -v
/usr/bin/usm: line 133: [: too many arguments
 You are using USM version:  3.1.7
ATM I need to sleep. Thank you for your assistance and I look forward to any new advice or questions you may have.

Re: need audacity, but usm looks broken, actually

Posted: 29 Oct 2014, 00:10
by brokenman
awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.

Re: need audacity, but usm looks broken, actually

Posted: 29 Oct 2014, 17:16
by MacGuges
brokenman wrote:awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.
Thank you for that observation, but I'm afraid that sharing my changes directory with you would be impractical. (FYI: /mnt/sdb1 is a ext4 filesystem.)

Code: Select all

root@porteus:/mnt/sdb1/porteus/porteus# du -s changes/
28399764	changes/

Re: need audacity, but usm looks broken, actually

Posted: 29 Oct 2014, 17:36
by MacGuges
brokenman wrote:awk: fatal: cannot open file `/vercheck.txt' for reading (No such file or directory)
This is the problem. Something in your changes is making USM not see the variable $CONFDIR. This path should be /etc/usm/vercheck.txt.
Without seeing your changes file I am unable to offer any further advice.
I've found that the usm script has been testing a RECALL variable, generating an error, which may be blocking essential setup actions.

Code: Select all

## Set temporary directory and error log
## If tagfile exists then we are re-calling a CLI part of this
## script from the GUI so we don't want to rerun the setup
RECALL=`find /tmp -type f -name ".tag"`
if [ -z $RECALL ]; then

Code: Select all

## Prepare the system for takeoff
## If tagfile exists then we are re-calling a CLI part of this
## script from the GUI so we don't want to rerun the setup
[ -z $RECALL ] && [ -z $skipsetup ] && system_setup
unset skipsetup

Re: need audacity, but usm looks broken, actually

Posted: 29 Oct 2014, 22:19
by francois
Please try with a new changes directory, for example /porteus/porteus2. And see if you solve the problem.

Re: need audacity, but usm looks broken, actually

Posted: 30 Oct 2014, 00:42
by brokenman
Thanks. Will alter the tag file search. Are there any files in /tmp that may be causing this result? Any files with the string 'tag'?
TBO I had forgotten about this tagfile search.

Re: need audacity, but usm looks broken, actually

Posted: 30 Oct 2014, 17:14
by MacGuges
brokenman wrote:Thanks. Will alter the tag file search. Are there any files in /tmp that may be causing this result? Any files with the string 'tag'?
TBO I had forgotten about this tagfile search.
Yes indeed there were. (Unfortunately, after I'd composed a post this morning I deleted them, and I've discovered this post did not survive to the forum, so I cannot reproduce the same variable expansion I got for $RECALL now.) $RECALL expanded to numerous lines of paths to a leftover work directory under /tmp for a qt4 build I'd run several weeks ago.

After deleting this old temporary work directory, usm now runs correctly. I've just now been able to update the databases and install audacity through usm. Thanks!