Page 2 of 2
Re: SVN HEAD and non-English system locales
Posted: Tue Dec 07, 2010 2:55 am
by bgravato
Gale Andrews wrote:If you or Steve can test installing Audacity with a suffix that would still be good.
I ran:
Code: Select all
./configure --program-suffix=-svn
make
It succesfully built but then it fails to start. If I remove the program-suffix option it builds and it starts normally.
The error messages I got when starting audacity are this:
Code: Select all
$ ./audacity
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.modem.0:CARD=0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.modem.0:CARD=0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.modem.0:CARD=0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.AV200.pcm.modem.0:CARD=0'
ALSA lib conf.c:4170:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4649:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
audacity: pcm_plug.c:388: snd_pcm_plug_change_channels: Assertion `snd_pcm_format_linear(slv->format)' failed.
Aborted
If I install it (make install), it still fails to start with the same error messages.
Re: SVN HEAD and non-English system locales
Posted: Wed Dec 08, 2010 12:41 am
by steve
Gale Andrews wrote:If you or Steve can test installing Audacity with a suffix that would still be good.
Sorry I've not been following this thread.
I install -svn with the configure option:
The last build I made was November 29th.
The language options are "System/English"
I also have the default Ubuntu installation of Audacity 1.3.12 which gives the full choice of languages.
Re: SVN HEAD and non-English system locales
Posted: Thu Dec 09, 2010 12:44 am
by Gale Andrews
steve wrote:Gale Andrews wrote:If you or Steve can test installing Audacity with a suffix that would still be good.
Sorry I've not been following this thread.
I install -svn with the configure option:
The last build I made was November 29th.
The language options are "System/English"
I also have the default Ubuntu installation of Audacity 1.3.12 which gives the full choice of languages.
OK, thanks. So clearly the original "problem" is still there (if it is one), and at the least this ought to be mentioned on our Linux Wiki pages. Richard's
post looked to me as if he was acknowledging a bug, if so whatever he was intending to fix in his commit didn't "fix" this.
You were obviously confused by this at first although the workaround to edit .cfg isn't arduous. Do you think this should be a low priority bug on bugzilla? I'm inclined to think so.
Gale
Re: SVN HEAD and non-English system locales
Posted: Thu Dec 09, 2010 2:25 am
by bgravato
I figured out what was the problem with my "suffixed build". Looks like adding a suffix changes a lot of things, not only the binary name(*). It appears that the ~/.audacity-data directory also changes name to ~/.audacity-suffix-data.
Copying my audacity.cfg file to that new directory allows me to start audacity, but I still get those error/warning messages I posted before, which I don't get on a build without the suffix.
(*) the name of the compiled binary (surprisingly) doesn't actually change... it's still called 'audacity'. It's during the copy step in the 'make install' process that it gets it's name changed... I think the binary resulting from the compiling process should already have the suffix added. It least (IMHO) I think it would be more coherent than renaming it only when copying/installing.
Regarding the languages issue, when I compile with suffix, even after performing 'make install' it still shows only System and english on Preferences.
Re: SVN HEAD and non-English system locales
Posted: Thu Dec 09, 2010 11:47 pm
by Gale Andrews
bgravato wrote:I figured out what was the problem with my "suffixed build". Looks like adding a suffix changes a lot of things, not only the binary name(*). It appears that the ~/.audacity-data directory also changes name to ~/.audacity-suffix-data.
Copying my audacity.cfg file to that new directory allows me to start audacity, but I still get those error/warning messages I posted before, which I don't get on a build without the suffix.
The only unexpected message I get when I
Code: Select all
./configure --program-suffix=-svn
make
and then run "audacity" from the build directory is:
Code: Select all
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
That doesn't stop launch or affect playback/recording. It's true in "Recording Devices" in Preferences that I don't have dmix - I'll have to check if it's there when I build without suffix.
When I install (producing an "audacity-svn" executable in /usr/local/bin and ~/.audacity-svn-data) and run that exectuable the same message appears and I can launch and use Audacity OK. I didn't really test what .cfg preferences it was actually using.
bgravato wrote: the name of the compiled binary (surprisingly) doesn't actually change... it's still called 'audacity'. It's during the copy step in the 'make install' process that it gets it's name changed... I think the binary resulting from the compiling process should already have the suffix added. It least (IMHO) I think it would be more coherent than renaming it only when copying/installing.
I renamed the compiled binary in the build dir to "audacity-svn" before installing it, and then tried to run it from the terminal. But bash changed dir to /usr/local/bin then (correctly) said that audacity-svn did not exist there.
bgravato wrote:Regarding the languages issue, when I compile with suffix, even after performing 'make install' it still shows only System and english on Preferences.
So to get full languages in Preferences I think you would need to install "audacity" in the directory you installed "audacity-svn" in (presumably usr/local/).
Gale