Page 15 of 22 FirstFirst ... 51314151617 ... LastLast
Results 141 to 150 of 219

Thread: ALSA Upgrade Script Redux

  1. #141
    Join Date
    Jun 2011
    Beans
    1

    Re: ALSA Upgrade Script Redux

    First, THANK YOU Temüjin for picking up this script and keeping it available. Also, a huge thank you to Deviad for pointing out the things that were causing failures.

    I had the same trouble a lot of you are posting about, so here's a complete list of what I did that finally got everything to install without errors:

    1. download the script and save it somewhere
    2. cd <your download directory>
    3. tar xzvf AlsaUpgrade-1.0.24-2.tar.gz
    4. chmod +x AlsaUpgrade-1.0.24-2.sh
    5. sudo apt-get install xmlto (I had to do this to avoid the make errors.)
    6. apt-get update (the xmlto install in the previous command said it wasn't complete and the update was suggested. Not sure everyone will need this step.)
    7. nano AlsaUpgrade-1.0.24-2.sh (or the text editor of your choice)
    8. find and change the tiwain ftp address to the http address Deviad gives above, save the file and exit your editor.
    9. sudo ./AlsaUpgrade-1.0.24-2.sh -d
    10. sudo ./AlsaUpgrade-1.0.24-2.sh -s
    11. sudo ./AlsaUpgrade-1.0.24-2.sh -c
    12. sudo ./AlsaUpgrade-1.0.24-2.sh -1
    13. sudo shutdown -r 0


    Hope it helps others. Obviously not everyone is going to be missing the same things so I don't know if it will work for everyone, but it's what got me past the errors. Rebooting now.

    EDIT: upon closer look, the mixer was updated but not the drivers (sill on 1.2.23) and still getting "Failed to initialize audio device" in XBMC. *sigh* I'm going to bed. Will keep plugging away tomorrow.
    Last edited by c0reysc0tt; January 24th, 2012 at 12:04 PM.

  2. #142
    Join Date
    Aug 2006
    Location
    Smederevo/Serbia
    Beans
    175
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: ALSA Upgrade Script Redux

    Has anyone been able to compile alsa 1.0.25? I'm having problems with alsa-utils:

    Code:
    ./configure --prefix=/usr
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for cross-compiler... gcc
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether ln -s works... yes
    checking for a sed that does not truncate output... /bin/sed
    checking for ALSA CFLAGS... 
    checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
    checking for libasound headers version >= 1.0.24... found.
    checking for snd_ctl_open in -lasound... yes
    checking for snd_ctl_elem_add_enumerated... no
    configure: error: No user enum control support in alsa-lib

  3. #143
    Join Date
    Jan 2007
    Location
    Brescia (Italy)
    Beans
    Hidden!

    Re: ALSA Upgrade Script Redux

    I've the same problem. I've compiled alsa-driver but not alsa-utils!

  4. #144
    Join Date
    Jan 2012
    Beans
    1

    Re: ALSA Upgrade Script Redux

    Thanks so much. This fixed my Ubuntu 10.04 LTS install on my Dell XPS l502x system.

  5. #145
    Join Date
    Jun 2007
    Beans
    11,123

    Re: ALSA Upgrade Script Redux

    The script installs libasound2-dev and the alsa-utils sees the old include files from that. You need to remove that package and then alsa-utils should build.

  6. #146
    Join Date
    Nov 2010
    Beans
    10

    Re: ALSA Upgrade Script Redux

    Quote Originally Posted by Temüjin View Post
    The script installs libasound2-dev and the alsa-utils sees the old include files from that. You need to remove that package and then alsa-utils should build.
    excuse me, just remove this stuff with synaptic and then it should work, am i right? thanks!

  7. #147
    Join Date
    Jun 2007
    Beans
    11,123

    Re: ALSA Upgrade Script Redux

    Quote Originally Posted by doomedforever View Post
    excuse me, just remove this stuff with synaptic and then it should work, am i right? thanks!
    I've updated the Alsa-1.0.25 script to do it automatically.

  8. #148
    Join Date
    Nov 2010
    Beans
    10

    Re: ALSA Upgrade Script Redux

    thanks so much for your support!

  9. #149
    Join Date
    Nov 2010
    Beans
    10

    Re: ALSA Upgrade Script Redux

    well, i am sorry...your support is well much appreciated, but i got a error with the updated script, the last lines are: ************************************************** ************************* * Compiling utils... ************************************************** ************************* make: *** No rule to make target `clean'. Stop. Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libcaca-dev alsa-tools libslang2-dev libaudiofile-dev alsa-firmware-loaders libglu1-mesa-dev libesd0-dev libaudio-dev fxload libaa1-dev libpng12-dev Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: libasound2-dev libsdl1.2-dev 0 upgraded, 0 newly installed, 2 to remove and 19 not upgraded. After this operation, 6,250 kB disk space will be freed. (Reading database ... 241955 files and directories currently installed.) Removing libsdl1.2-dev ... Removing libasound2-dev ... Processing triggers for man-db ... Processing triggers for doc-base ... Processing 1 removed doc-base file(s)... Registering documents with scrollkeeper... N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for cross-compiler... gcc checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread checking for libasound headers version >= 1.0.24... not present. configure: error: Sufficiently new version of libasound not found. ************************************************** ************************* * alsa-utils-1.0.25 configure failed ************************************************** ************************* i am running ubuntu 11.04 AMD64 with latest ubuntu kernel 2.6.38-13 and updates. thanks for reading. keep up the great work. regards

  10. #150
    Join Date
    Feb 2012
    Beans
    3

    Re: ALSA Upgrade Script Redux

    Hi,

    Well for me it works !
    I had pops/crackles problems with old version so i had to test this.

    So i have removed all i had about Alsa then i tried your script.
    Everythings goes fine except the first installation he complained about libasound.

    Sufficiently new version of libasound not found.
    I remade the -i then it has successfully completed the installation.

    But i had to fixe this which wasn't done automatically :
    Code:
    @hooks [
            {
                    func load
                    files [
                            "/usr/share/alsa/pulse.conf"
                            "/etc/asound.conf"
                            "~/.asoundrc"
                    ]
                    errors false
            }
    ]
    As you put on your post first post.

    There is also a single error after the run of Alsaconf.

    /usr/sbin/alsaconf: ligne 899: /etc/modutils/sound: Aucun fichier ou dossier de ce type ( No files or directory found )
    But the config seems to works fine because you fixed my issue.

    Using LinuxMint12 100% compatible with Ubuntu Oneiric 11.10 AMD64

    Thanks very much for your works !
    Last edited by PegHorse; February 2nd, 2012 at 04:05 PM.

Page 15 of 22 FirstFirst ... 51314151617 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •