SliTaz SliTaz Forum

You are not logged in.

#1 2014-08-24 15:28:49

allen
Member
Registered: 2014-06-22
Posts: 36

SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

I was trying to add a radio stream to [c]MPD 0.17.2[/c] and kept receiving the following error...

[c]MPD reported the following error: unsupported URI scheme[/c]

In doing some research I found [c]libcurl[/c] is required. I also found I already have [c]libcurl-7.27.0[/c] installed. Further research led me to find [c]libcurl[/c] is required when [c]MPD[/c] is compiled/cooked. Further research found the following info within [c]MPD 0.17.2[/c] cook summary...

[c]http://cook.slitaz.org/cooker.cgi?pkg=mpd[/c]

[c]checking for CURL... no[/c]

[c]configure: WARNING: libcurl not found -- disabling libcurl HTTP streaming[/c]

There were other warnings, another concerning http streaming but to my limited knowledge only [c]libcurl[/c] is the missing dependency.

How does one who is not a programmer (like me) go about enabling [c]libcurl[/c] for http streaming? I placed a CD with both [c]mpd[/c] and [c]libcurl[/c] in a crock pot for one hour.. didn't work. (a bit of humor smile

As always I appreciate your help. Thank you!

Allen

Offline

#2 2014-08-24 15:58:38

necrophcodr
Member
Registered: 2014-02-20
Posts: 101

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

I can see that libcurl is not installed doing the build process, and may then be disabled. I personally have not had any issue with not using libcurl, because streaming seemed to work when using the vorbis encoder. However, just to make sure, I'm cooking a MPD with libcurl that you can install.

Please note that this is for i486/i686, not for 64bit or ARM.

File is available here: http://mirror.necrophcodr.me/i686/mpd-0.17.2.tazpkg

please test

Offline

#3 2014-08-24 16:05:53

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

I added curl-dev to BUILD_DEPENDS

[c]wget http://cook.slitaz.org/packages/mpd-0.17.2.tazpkg[/c]

[c]tazpkg install mpd-0.17.2.tazpkg --forced[/c]

libcurl is listed as depends so it should work.

You will notice that slitaz is unlike full size distros where every compile option on a program is enabled.

This can be a major inconvenience as you have to recompile on your local computer to add the functionality.

Offline

#4 2014-08-24 16:12:27

necrophcodr
Member
Registered: 2014-02-20
Posts: 101

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@mojo

The streaming ability is where mpd really shines though, and doesn't add significantly to the size, so it should've been added to the BUILD_DEPENDS, especially considering how libcurl was already a dependency.

Offline

#5 2014-08-24 16:43:17

allen
Member
Registered: 2014-06-22
Posts: 36

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@necrophcodr

[c]File is available here: http://mirror.necrophcodr.me/i686/mpd-0.17.2.tazpkg[/c]

Did not work.. same error. I did use the option [c]--forced[/c].

@mojo

[c]I added curl-dev to BUILD_DEPENDS[/c]

[c]wget http://cook.slitaz.org/packages/mpd-0.17.2.tazpkg[/c]

Worked!

Thank you BOTH.. appreciate your prompt replies and awesome programming.

Allen

Offline

#6 2014-08-24 17:40:09

necrophcodr
Member
Registered: 2014-02-20
Posts: 101

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@allen

Yes, I am sorry. The first copy I uploaded wasn't using libcurl, but I promptly changed that. You must've been very quick to fetch the package smile

Offline

#7 2014-08-24 21:15:52

allen
Member
Registered: 2014-06-22
Posts: 36

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@necrophcodr

Yes, I am sorry. The first copy I uploaded wasn't using libcurl, but I promptly changed that. You must've been very quick to fetch the package smile

Please.. never say sorry, I so appreciate all you do. Ironically.. after downloading/installing your version I wondered whether I grabbed it too quick.

While taking a spin through the trails I left Cantata (Windows MPD client (please don't blackball me)) streaming a Tunein station for 3 hours. You all good cooks! Sure wish I knew how to cook like that. SliTaz may be the best distro, but it is this community that doesn't just give 100%.. but 110% that make it awesome. Thank you all!

[c]http://youtu.be/1F4W0R1Zr_8[/c] (yep.. must have some fun)

Allen

Offline

#8 2014-08-25 16:21:04

necrophcodr
Member
Registered: 2014-02-20
Posts: 101

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@allen

If you ever find yourself wanting to cook, a quick guide is this:

First, install the following package: tazdev

tazdev will allow you to create a chroot (an isolated system that you can then enter), which will contain all the basic software of a base slitaz installation.

Then, type the following

[c]tazdev gen-chroot[/c]

followed by

[c]tazdev chroot[/c]

This leaves you in the chrooted environment. This is important, because it means that all the work (and damage) you do here, does not affect your installed system. ALWAYS use this when cooking, so make sure you are in the chroot environment.

If you ever want to exit this environment, simply type "exit".

Now, when you are in the chrooted environment, it may be required to install cook. If so, do so in the chrooted environment.

When that is done, type

[c]cook setup --wok[/c]

This will download the latest wok, in the /home/slitaz/wok directory. You can now cook packages by typing

[c]cook [package][/c].

To update the wok, cd /home/slitaz/wok, and type

[c]hg update[/c]

Nice.

Offline

#9 2014-08-27 23:53:11

allen
Member
Registered: 2014-06-22
Posts: 36

Re: SliTaz 5.0.cooking: MPD 0.17.2: Missing libcurl for http streaming

@necrophcodr

Thanks for the SliTaz development.. aka cooking information. I can easily get through your instructions, to where I'm ready to cook, but hey I'm no Benoît Violier. I need some coaching otherwise the term crash and burn will be synonymous with...

[c]http://youtu.be/9CJ9EDtZ2p8[/c]

Are there instructions how this is done or should I leave the serious cooking to you all and stick to hamburgers and hot dogs.. with a side of potato salad? Be honest.. at almost 60 you could never hurt my feelings.

Allen

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]