WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: shairport, minidlna, mpd or mopidy for TC6?  (Read 23653 times)

Offline ingotee

  • Newbie
  • *
  • Posts: 20
shairport, minidlna, mpd or mopidy for TC6?
« on: March 19, 2015, 10:05:40 AM »
Hello,

I put an RPi inside a JVC Boomblaster, replacing the cassette player.

Now I would like to run an airplay and a dlna sink and maybe mpd/mopidy on it - but it should be tolerant to the power being cut off. So I think, Tiny Core Linux would be a great choice.

Now I realize that neither shairport nor minidlna nor mpd/mopidy are available as TCZs for TC6. I will try and build them myself, but since I haven't dealt with piCore before, this looks like a long shot :-)

So if anybody has built any of them as tczs and just not submitted them, for whatever reason - please drop me a line.

Thanks!
Ingo

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #1 on: March 19, 2015, 02:58:13 PM »
shairport added to repo. I did not test it, just packed. Please try and report wheter it works or not.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #2 on: March 19, 2015, 03:06:52 PM »
Thank you VERY much. It works like a charm!

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #3 on: March 20, 2015, 12:46:41 AM »
minidlna added to repo. I did not test it, just packed. Please try and report wheter it works or not
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #4 on: March 20, 2015, 01:51:10 AM »
It starts, but I am not in the office right now, so I cannot test it yet. Will do so in an hour or so.

I really must learn this building process, all the library names and stuff. I spent several hours on trying to build those two daemons last night with no success. mopidy was even more puzzling, without pip and some other stuff.

Thank you VERY, VERY much, Béla!

Ingo

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #5 on: March 20, 2015, 02:02:56 AM »
I did nothing special, just followed what was written in the source, make / make install and than packed to tcz. But after make install it must work. Missing tools and libs can cause a problem.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #6 on: March 20, 2015, 05:29:29 AM »
I am stumped. I realized that I need media render, too.

I downloaded the source, ran ./configure.

It complained that it needed lo pump.

So I got that source and built it with no problems. Before packaging it I just installed it with make install so that I could check if it would help me with gmediarender. But ./configure still fails, although the headers are in /usr/local. ./configure --prefix=/usr/local didn't help either.

What am I missing?

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #7 on: March 20, 2015, 06:09:05 AM »
I should not post from an iPhone with autocorrect on. I cannot always see what I am typing. I tried to build gmediarender and libupnp :-)

Here's an excerpt of config.log

Code: [Select]
configure:5292: checking upnp.h usability
configure:5304: gcc -c -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations  -I/usr/include/upnp conftest.c >&5

So I tried ./configure --includedir=/usr/local/include, where the upnp stuff is, but that changes nothing.

I guess I am really showing to be a newbie here, but I realld don't know what else to try to make gmediarender look in the right place.
« Last Edit: March 20, 2015, 06:21:57 AM by ingotee »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #8 on: March 20, 2015, 06:40:00 AM »
Maybe you could try looking at config.log after you run ./configure and search for the error message associated with "pump" to give some clues as to what is the problem.

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #9 on: March 20, 2015, 06:47:06 AM »
Thanks! "lo pump" was what autocorrect made of "libupnp".

Code: [Select]
| #include <upnp.h>
configure:5373: result: no
configure:5408: checking for upnp.h
configure:5415: result: no
configure:5514: result: not found
configure:5516: error: the upnp library is required to build and run this program


..and configure says it is looking in the right place:

Code: [Select]
## ----------------- ##
## Output variables. ##
## ----------------- ##

...
includedir='/usr/local/include'
« Last Edit: March 20, 2015, 06:50:23 AM by ingotee »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #10 on: March 20, 2015, 07:38:30 AM »
It's looking in the right place, but is upnp.h present in /usr/local/include or /usr/local/include/upnp or /usr/local/include/libupnp?

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #11 on: March 20, 2015, 07:50:16 AM »
Darn, you are so much smarter than I am  :-\

/usr/local/include/upnp/upnp.h

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14620
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #12 on: March 20, 2015, 08:42:28 AM »
..so if upnp.h is present, now you need to check where the configure script is looking for it and alter things to suit

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #13 on: March 20, 2015, 10:37:31 AM »
thanks again. I googled a bit and I see that other people have had this issue before, albeit on other platforms. I'll see what I can make of it (no pun intended :) ) and then I'll report back.

Offline ingotee

  • Newbie
  • *
  • Posts: 20
Re: shairport, minidlna, mpd or mopidy for TC6?
« Reply #14 on: March 20, 2015, 12:14:58 PM »
Found it. gmediarender needs

--with-libupnp=/usr/local

because without it only /usr is prepended when looking for upnp.h.

This does not mean, that I am finished, though. Now it complains that I don't have GStreamer Development packages installed :-)

They are of course present and I'll continue searching there. Thanks for pointing me in the right direction!