python interpreter [SOLVED]

Post here if you are a new Porteus member and you're looking for some help.
alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

python interpreter [SOLVED]

Post#1 by alexandre-samuel » 08 Apr 2014, 20:04

I'm trying to install gtk-recordMyDesktop through SlackBuild package, but when I run. / Gtk-recordmydesktop.SlackBuild, an error occurs stating the following message:

checking for a Python interpreter with version >= 2.3... none
configure: error: no suitable Python interpreter found

How do I solve this?
Last edited by alexandre-samuel on 09 Apr 2014, 06:42, edited 1 time in total.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#2 by Slaxmax » 08 Apr 2014, 20:07

Instala o python pelo usm

Code: Select all

root@porteus:/home/guest# usm -g python
primeira opção
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#3 by alexandre-samuel » 08 Apr 2014, 22:17

@Slaxmax

don't work!

2° option?

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#4 by Slaxmax » 08 Apr 2014, 23:00

Why compile if you have package for download?

Code: Select all

root@porteus:/home/guest# usm -g gtk-rec
this command donwnload gtk-recordmydesktop and all dependencies
after go to /tmp/usm and install all packages downloaded.

Edit:
USM did not work right with this package.
gtk-recordmydesktop need python and pygtk
Install the module before http://ponce.cc/porteus/i486/current/mo ... inting.xzm
this module have python and others py packages.
Last edited by Slaxmax on 08 Apr 2014, 23:12, edited 1 time in total.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: python interpreter

Post#5 by brokenman » 08 Apr 2014, 23:04

I use ffmpeg directly to record the desktop.

Code: Select all

#!/bin/bash

ffmpeg -f x11grab -s 1920x1080 -r 25 -i :0.0 -vcodec libx264 -preset medium -crf 22 -y /tmp/out.mp4
How do i become super user?
Wear your underpants on the outside and put on a cape.

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#6 by alexandre-samuel » 09 Apr 2014, 00:56

@Slaxmax

I downloaded the package with the command: usm -g gtk-rec
and after i went /tmp/usm and installed the packages, but not working.

How do i do to install a module?

@brokenman

I did and a error has ocurred.

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 4 (X_ShmGetImage)
Serial number of failed request: 11
Current serial number in output stream: 11

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: python interpreter

Post#7 by brokenman » 09 Apr 2014, 01:22

You install modules by double clicking on them, or from terminal: activate /tmp/usm/gtk-*


For the above script to work you need ffmpeg. Post the output of: which ffmpeg

Install the ffpmeg package from here and it should work: http://www.slackware.com/~alien/slackbuilds/ffmpeg/
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#8 by Slaxmax » 09 Apr 2014, 01:25

see

before you need http://ponce.cc/porteus/i486/current/mo ... inting.xzm activated
after go to /tmp/usm and active gtk-recordmydesktop-0.3.8-i486-10sl.xzm
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#9 by alexandre-samuel » 09 Apr 2014, 02:28

@brokenman

I did and an error occurs

ffmpeg: error while loading shared libraries: libopenjpeg.so.5: cannot open shared object file: No such file or directory

the output of: which ffmpeg is: /usr/bin/ffmpeg

@Slaxmax

I did and an error occurs

bash: /usr/bin/gtk-recordMyDesktop: /usr/bin/python: bad interpreter: No such file or directory

the output of: which ffmpeg is: /usr/bin/gtk-recordMyDesktop

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#10 by Slaxmax » 09 Apr 2014, 02:47

do you have porteus i486 or x86_64?

You need python and pygtk included in module printing
if i486
http://ponce.cc/porteus/i486/current/mo ... inting.xzm

if x86_64
http://ponce.cc/porteus/x86_64/current/ ... inting.xzm
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#11 by alexandre-samuel » 09 Apr 2014, 02:59

@Slaxmax

My system is x86_64.

Downloaded for x86_64, and activated ando the same error occurs:

ffmpeg: error while loading shared libraries: libopenjpeg.so.5: cannot open shared object file: No such file or directory

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#12 by Slaxmax » 09 Apr 2014, 03:15

alexandre-samuel wrote:@Slaxmax

My system is x86_64.

Downloaded for x86_64, and activated ando the same error occurs:

ffmpeg: error while loading shared libraries: libopenjpeg.so.5: cannot open shared object file: No such file or directory

in gtk-record show this error?
for me works fine.
What DE you have kde, xfce, lxde or RazorQt?
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#13 by alexandre-samuel » 09 Apr 2014, 03:38

@Slaxmax

RazorQt

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: python interpreter

Post#14 by Slaxmax » 09 Apr 2014, 03:59

try

Code: Select all

usm -d /var/log/packages/ffmpeg*
and active all packages
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

alexandre-samuel
Black ninja
Black ninja
Posts: 35
Joined: 05 Apr 2014, 02:06
Distribution: Porteus
Location: Brazil

Re: python interpreter

Post#15 by alexandre-samuel » 09 Apr 2014, 04:11

@Slaxmax

root@porteus:/home/guest# usm -d /var/log/packages/ffmpeg*

Processing ffmpeg-2.1.3-x86_64-1sl

####################################

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/bin/ffplay)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/bin/ffserver)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/bin/ffmpeg)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/bin/ffprobe)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/lib64/libavformat.so.55.19.104)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/lib64/libavdevice.so.55.5.100)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/lib64/libavfilter.so.3.90.100)

libopenjpeg.so.5 => not found
Required by: ffmpeg-2.1.3-x86_64-1sl (/usr/lib64/libavcodec.so.55.39.101)

####################################


Searching libopenjpeg.so.5: found 0 packages.

The following packages are ready to download:




Press [r] to remove packages, [q] to quit, or enter to start downloading.

root@porteus:/home/guest#

Post Reply