Installation on Linux (from the sources) Browse to Directory listing and download the newest file with the naming scheme “leiads_0.x-x.tar.gz”, and unpack it. Afterwards you can compile Leia with “make” and install it with “sudo make install”.
Having installed dependencies thus:-
Prerequisites on OpenSuse systems: “sudo zypper install gcc make gtk2-devel”
The gcc, make & gtk2 installation went OK except that I received messages that there was no update candidate and latest version already installed, which are all more recent than required, but I received error message from the install as follows:
gcc -o leiads src/leia-ds.c src/browser.c src/playlist.c src/playlist_file.c src/now_playing.c src/about.c src/info.c src/lastfm.c src/radiotime.c src/metadata.c src/select_renderer.c src/settings.c src/transport.c src/volume.c src/intl.c src/keybd.c src/miscellaneous.c src/debug.c src/md5.c src/princess/media_renderer.c src/princess/linn_source.c src/princess/linn_preamp.c src/princess/upnp_media_renderer.c src/princess/upnp_media_server.c src/princess/upnp.c src/princess/upnp_list.c src/princess/upnp_xml.c src/princess/upnp_private.c `pkg-config gtk+-2.0 gthread-2.0 --cflags --libs` -Wall -pedantic -DLOGLEVEL=0 -Wno-overlength-strings -Wno-format-security -DRADIOTIME_LINN_DS=1
src/leia-ds.c: In function ‘close_renderer’:
src/leia-ds.c:1479:6: warning: variable ‘err’ set but not used -Wunused-but-set-variable]
src/playlist.c: In function ‘playlist_play_track’:
src/playlist.c:1135:13: warning: variable ‘success’ set but not used -Wunused-but-set-variable]
src/info.c: In function ‘GetDuration’:
src/info.c:718:15: warning: unused variable ‘n’ -Wunused-variable]
src/info.c:727:15: warning: unused variable ‘n’ -Wunused-variable]
src/lastfm.c: In function ‘GetLastfmRadioItem’:
src/lastfm.c:232:2: warning: enumeration value ‘NUM_LASTFM_KEYS’ not handled in switch -Wswitch]
src/metadata.c: In function ‘get_ogg_metadata’:
src/metadata.c:257:12: warning: variable ‘CRC_checksum’ set but not used -Wunused-but-set-variable]
src/metadata.c:256:12: warning: variable ‘page_sequence_number’ set but not used -Wunused-but-set-variable]
src/metadata.c:255:12: warning: variable ‘bitstream_serial_number’ set but not used -Wunused-but-set-variable]
src/metadata.c:254:31: warning: variable ‘granule_position2’ set but not used -Wunused-but-set-variable]
src/metadata.c:254:12: warning: variable ‘granule_position1’ set but not used -Wunused-but-set-variable]
src/metadata.c:253:12: warning: variable ‘version’ set but not used -Wunused-but-set-variable]
src/metadata.c: In function ‘xml_string_append_id3v2_PIC’:
src/metadata.c:539:29: warning: variable ‘description’ set but not used -Wunused-but-set-variable]
src/metadata.c: In function ‘xml_string_append_id3v2_APIC’:
src/metadata.c:621:26: warning: variable ‘description’ set but not used -Wunused-but-set-variable]
src/princess/media_renderer.c: In function ‘handle_playlist_event’:
src/princess/media_renderer.c:2998:8: warning: variable ‘tracks’ set but not used -Wunused-but-set-variable]
src/princess/upnp.c: In function ‘set_sockaddr’:
src/princess/upnp.c:159:11: warning: variable ‘hl_addr’ set but not used -Wunused-but-set-variable]
src/princess/upnp.c: In function ‘http_get_http’:
src/princess/upnp.c:1380:14: warning: variable ‘http_result’ set but not used -Wunused-but-set-variable]
src/princess/upnp.c: In function ‘_http_stop_server’:
src/princess/upnp.c:1720:9: warning: variable ‘err’ set but not used -Wunused-but-set-variable]
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: /tmp/ccNBjSlE.o: undefined reference to symbol 'floor@@GLIBC_2.0'
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [leiads] Error 1
I assume the warning notices may be OK but the undefined reference to symbol ‘floor@@GLIBC)2.0’ had me stummped. There are plenty of references to this error when Googled but I couldn’t solve the problem. Can somebody please help?
I wish I understood more but many many thanks. The rpm installed on my 32 bit laptop but the 64 bit build was reported as “building”.
The program ran on the laptop although I had to stop firewall as it couldn’t see the UPnP devices through firewall. Also no Icon installed.
Will report back on last link but it was empty when I last looked.
I am using two servers, QPKG version of Twonky 6.0.39 on Qnap TS 209 and QPKG Minimserver on TS 559.
For testing I am using Twonky (although will move entirely to Minimserver because Twonky 7 is no use as it will not work with custom trees.) Three renderers, two Linn Sneaky and one Majik DS-I. I stay with Linn because they work and play gaplessly which is important for my classical collection
I have UDP ports opened same as you and UPnP Inspector sees devices through firewall OK so don’t know why there is problem with Leia. Will increase search time and try again.
Is there any way to get the Icons working, they are included in tarball?
Very grateful to you for your kind assistance on this. I now have latest version with icon!.
Still a couple of queries, the first being where should the program (with Icon) be? At the moment it is only in “Recently Installed.” How can I get it into Multimedia>Audio Player? Also how do include your repo site in my software management setup?
I can get Leiads to work but only without firewall. When you have time if you could give me some help to sort this out please as it is an issue with UPnP on several machines.
Getting late so will sign off now.
Yes I already have UPnP-Inspector. What is strange is that with what I understand are the correct ports open, UPnP-Inspector does eventually see the UPnP devices on the lan but it takes a long time, perhaps six or more minutes. I have set the searching time in Leia-ds for the maximum which is 60 secs but it doesn’t find anything in that time. If I turn firewall off then Leia-ds works well.
I have wireshark but only just learning how it works. Will give it a try,