Page 1 of 2

python interpreter [SOLVED]

Posted: 08 Apr 2014, 20:04
by alexandre-samuel
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?

Re: python interpreter

Posted: 08 Apr 2014, 20:07
by Slaxmax
Instala o python pelo usm

Code: Select all

root@porteus:/home/guest# usm -g python
primeira opção

Re: python interpreter

Posted: 08 Apr 2014, 22:17
by alexandre-samuel
@Slaxmax

don't work!

2° option?

Re: python interpreter

Posted: 08 Apr 2014, 23:00
by Slaxmax
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.

Re: python interpreter

Posted: 08 Apr 2014, 23:04
by brokenman
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

Re: python interpreter

Posted: 09 Apr 2014, 00:56
by alexandre-samuel
@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

Re: python interpreter

Posted: 09 Apr 2014, 01:22
by brokenman
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/

Re: python interpreter

Posted: 09 Apr 2014, 01:25
by Slaxmax
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

Re: python interpreter

Posted: 09 Apr 2014, 02:28
by alexandre-samuel
@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

Re: python interpreter

Posted: 09 Apr 2014, 02:47
by Slaxmax
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

Re: python interpreter

Posted: 09 Apr 2014, 02:59
by alexandre-samuel
@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

Re: python interpreter

Posted: 09 Apr 2014, 03:15
by Slaxmax
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?

Re: python interpreter

Posted: 09 Apr 2014, 03:38
by alexandre-samuel
@Slaxmax

RazorQt

Re: python interpreter

Posted: 09 Apr 2014, 03:59
by Slaxmax
try

Code: Select all

usm -d /var/log/packages/ffmpeg*
and active all packages

Re: python interpreter

Posted: 09 Apr 2014, 04:11
by alexandre-samuel
@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#