Page 1 of 1

youtube-dl

Posted: 04 Jul 2016, 15:31
by Jack
I want to build youtube-dl and I need help doing it. Any help would be great. Here is the link.
https://slackbuilds.org/repository/14.2 ... outube-dl/

Here is the tail end what I did on the build.

Code: Select all

youtube-dl-2016.07.01/youtube_dl/update.py
youtube-dl-2016.07.01/youtube_dl/utils.py
youtube-dl-2016.07.01/youtube_dl/version.py
patching file Makefile
patching file setup.py
Hunk #1 succeeded at 59 (offset 12 lines).
zip --quiet youtube-dl youtube_dl/*.py youtube_dl/*/*.py
zip --quiet --junk-paths youtube-dl youtube_dl/__main__.py
echo '#!/usr/bin/python' > youtube-dl
cat youtube-dl.zip >> youtube-dl
rm youtube-dl.zip
chmod a+x youtube-dl
# pandoc -f markdown -t plain README.md -o README.txt
/usr/bin/python devscripts/prepare_manpage.py youtube-dl.1.temp.md
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Makefile:72: recipe for target 'youtube-dl.1' failed
make: *** [youtube-dl.1] Error 1
root@porteus:/home/guest/Downloads/youtube-dl# 

Re: youtube-dl

Posted: 06 Jul 2016, 10:17
by beny
hi seem you have python issue, try to do a whole python package xzm,have you the devel package in your system?if yes try again to build it.youtube-dl

Re: youtube-dl

Posted: 07 Jul 2016, 15:58
by Payoon
Hi Jack,
you need python 2.7 . I've made a module some time ago and used a pet from puppy linux named " youtube-dl-2015.09.09.pet" - I merged this module with python 2.7 module and have a standalone youtube-dl.
It works fine on porteus 2.1 32 bit. I could pass the module to you, but I don't know how, because I don't have dropbox or something like that.
Payoon
P.S. Forget to mention it is a command line tool, but as far as I know there is a gui available somewhere with Puppy.