youtube-dl

Post here if you are a new Porteus member and you're looking for some help.
Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

youtube-dl

Post#1 by Jack » 04 Jul 2016, 15:31

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# 
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

beny
Full of knowledge
Full of knowledge
Posts: 2092
Joined: 02 Jan 2011, 11:33
Location: italy

Re: youtube-dl

Post#2 by beny » 06 Jul 2016, 10:17

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

Payoon
Black ninja
Black ninja
Posts: 88
Joined: 01 Mar 2013, 19:16
Distribution: Porteus 3.2 32 bit XFCE
Location: Duisburg, Germany

Re: youtube-dl

Post#3 by Payoon » 07 Jul 2016, 15:58

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.

Post Reply