Post here if you are a new Porteus member and you're looking for some help.
- Posts: 1514
- Joined: 09 Aug 2013, 14:25
- Distribution: Porteus 4.0rc4 My LXDE 64 bit
- Location: USA
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
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
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
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.
- Full of knowledge
- Posts: 742
- Joined: 02 Jan 2011, 11:33
- Location: italy
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
- Black ninja
- Posts: 68
- Joined: 01 Mar 2013, 19:16
- Distribution: Porteus 3.2 32 bit XFCE
- Location: Duisburg, Germany
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.
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.