Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1

    Squeezlite on Alpine Linux

    I tested squeezelite on Alpine Linux tonight on my Pi3 B+. Working good via HDMI audio to my Denon A/V receiver.

    I've only got a few hours of experience with Alpine Linux but so far I'm really impressed. It has similarities with piCore Linux in that it runs entirely in RAM by default (though you can change that) and it uses a utility called "lbu" to store user changes in a tar.gz file that gets overlayed into ram on each reboot, similar to piCore's filetool.sh script. One major difference is that Alpine actually seems to be maintained :/

    Code:
    4.14.89-0-rpi2 #1-Alpine SMP Tue Dec 18 17:49:49 UTC 2018 armv7l Linux
    The only thing not in the Alpine Linux repos was squeezelite itself. I built it on the Pi using Alpine's "alpine-sdk" package. I did have to make one modification to the output_alsa.c file in the squeezelite source code in order to get the build to complete successfully, I found the solution here:

    http://lists.busybox.net/pipermail/b...ry/152227.html

    Basically, use mallopt only with GLIBC (Alpine uses musl libc):

    Code:
    #ifdef __GLIBC__
      mallopt(M_TRIM_THRESHOLD, -1);
      mallopt(M_MMAP_MAX, 0);
    #endif
    I didn't really need to take a lot of notes, but here's a list of the packages I installed to build squeezelite:

    Code:
    alpine-sdk
    flac-dev
    alsa-lib-dev
    faad2-dev
    mpg123-dev
    libvorbis-dev
    libmad-dev
    Last edited by sodface; 2019-01-10 at 20:21.

  2. #2
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,020
    I've applied the musl glibc patch to squeezelite.

    Thanks.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  3. #3
    1130 builds fine, thanks.

Posting Permissions

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