|
From: Michael C. <ch...@mc...> - 2007-11-06 12:57:34
|
On Saturday 03 November 2007 5:07 pm, Chris Bagwell wrote:
> Yes, I agree with if SoX can not completely find all needed items then
> it should disable it. If you can, please write a bug report on our bug
> tracker for each item that find that doesn't work as you described.
> Then we can fix it as time permits.
Created a SFourge account, but it won't let me logon ("no group_id"?), so:
[These are not so much bugs as niggles!]
1)
[james@bond sox-14.0.0]$ ./configure --prefix=/usr
[...many lines of output...]
Debugging build................... no
External module support........... no
ALSA driver....................... no
libao driver...................... no
OSS driver........................ yes
SUN audio driver.................. no
play and rec symlinks............. yes
libgsm............................ in-tree
libsndfile formats................ no
Ogg Vorbis format................. no
FLAC format....................... no
ffmpeg formats.................... no
MAD MP3 reader.................... yes
LAME MP3 writer................... yes
AMR-WB format..................... no
AMR-NB format..................... no
LADSPA effects.................... no
Secret Rabbit Code resampling..... no
Configure finished. Do 'make && make install' to compile and install SoX
-----------------------------------------------
[james@bond sox-14.0.0]$ make
[...many lines of output...]
creating sox
./sox --help > /dev/null
/home/xxx/sox-14.0.0/src/.libs/lt-sox: error while loading shared
libraries: libmp3lame.so.0: cannot open shared object file: No such file or
directory
make[1]: *** [play] Error 127
make[1]: Leaving directory `/home/xxx/sox-14.0.0/src'
make: *** [all-recursive] Error 1
2) I think the above 'problem' is generic for Ogg Vorbis,
FLAC, ffmpeg, MAD MP3, LAME MP3 (and possible 'everything else') on 'user
friendly' distributions that by default do not build with development
libraries / header files.
A warning message rather than a silent configure without all the
functionality might be in order (i.e. rather than "yes"|"no" have
"yes"|"no"|"see note 1 below" with
"Note 1: Whilst the package listed is available on your machine, I cannot
use it without the header files. Please install these and re-run configure
if you wish to use this/these packages.
(The header files are often in the 'development library' package of
your distribution, e.g. libogg0-devel-4.5.6......rpm)."
Or is that too much spoon-feeding?(!)
3) SoX's default installation is /usr/local/bin/sox
on Mandriva it is already installed at /usr/bin/sox
A naïve upgrade doesn't work (as presumably the latter is higher up the
search path than the former). A sensible upgrade uses "./configure
--prefix=/usr" (but not all upgraders are sensible?).
There are pro's and con's ... : but if configure finds a previous SoX in a
sensible location (e.g. /usr/bin/sox) should it configure itself so 'make
install' overwrites the existing (distribution normal) location ??
4) Trivia (and possible bloat/overkill)
? make the last line of make's output:
"Make finished. As root do 'make install' to install SoX."
I don't want any of this, just hoped it might decrease the height of the
entry hurdle for some potential users.
Thanks,
Michael
|