LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 07-25-2010, 04:16 AM   #1
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Rep: Reputation: 15
Openshot install from source


Hi,

I'm trying to install Openshot 1.1.3. from source on Mandriva 2010. I don't understand what else I should do apart from the command "sudo python setup.py install", but clearly this isn't enough, because I get the following error message:

error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

I've put the tarball at /usr/share/openshot-1.1.3

According to Software Management, I have python2.6 installed (and the other dependencies mentioned in the README), but what do I know. Can anyone help?

(I tried using an RPM file from rpm.pbone.net [http://rpm.pbone.net/index.php3/stat...arch.rpm.html], but that didn't work out either, I don't know whether this is the easier route or not.)
 
Old 07-25-2010, 05:59 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Reason : Only run-time python is installed.

1) su
2) urpmi libpython2.6-devel

.. will provide '/usr/lib/python2.6/config/Makefile', etc. etc.
..

P.S. : The dependencies, you install to build openshot,
must all be the " -devel " version.
..

Last edited by knudfl; 07-25-2010 at 06:13 AM.
 
Old 07-26-2010, 04:14 AM   #3
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks for your help! I managed to move forward a bit. However, there are still problems. When I try to run openshot, I get the following error message:

--------------------------------
OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 32569. Creating new pid lock file.
-------------------------------------------------------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
$ sudo python setup.py install


When I do as advised, I get the following:

Execution path: /usr/share/openshot-1.1.3/setup.py
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/openshot to 755
changing mode of /usr/bin/openshot-render to 755
running install_data
running install_egg_info
Removing /usr/lib/python2.6/site-packages/openshot-1.1.3-py2.6.egg-info
Writing /usr/lib/python2.6/site-packages/openshot-1.1.3-py2.6.egg-info
Updating the Shared MIME-Info database cache.
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Updating the mime.types database
Failed to update.
Updating the .desktop file database.

-----------------------------------------------
Installation Finished!
Run OpenShot by typing 'openshot' or through the Applications menu.
-----------------------------------------------


Trying to run openshot after this yields the same error msg, i.e. openshot has not been installed in the python path.

This guy seems to have had a similar problem (not the same, but a problem with python path): http://www.linuxjournal.com/content/...ucing-openshot

Echo $PYTHONPATH yields the following:

/usr/lib/ooo/basis-link/program:/usr/lib/ooo/basis-link/program:/usr/lib/ooo/basis-link/program

Running what he suggested, i.e.:

export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.6/site-packages/

echo $PYTHONPATH now yields:

/usr/lib/ooo/basis-link/program:/usr/lib/ooo/basis-link/program:/usr/lib/ooo/basis-link/program:/usr/lib/python2.6/site-packages/:/usr/lib/python2.6/site-packages/

..but running openshot still does not work, instead reporting the same as in the beginning:

--------------------------------
OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 1758. Creating new pid lock file.
-------------------------------------------------------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
$ sudo python setup.py install


What should I do..?
 
Old 07-26-2010, 07:50 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Openshot .. Mandriva 2010

You are right, it isn't working. Please delete /usr/share/openshot/
( Locations outside /home/<user>/ are not meant for building stuff.
Default is /home/<user>/tmp/ or any folder in /home/<user>/ .)
1) cd /usr/share/ 2) su 3) rm -rf openshot/

The solution :
Menu > Install & Remove Software >> "Preferences" > Settings > Media Manager
.. And please enable "List ... Contrib Backports".

Then you can choose 'openshot' 1.1.3 in "Install & Remove Software"
(( 1.1.1 and 1.1.2 are also available.))
1.1.3 : This version has been "bug fixed" and works.
The file openshot.spec etc. in openshot-1.1.3-6mdv2010.0.src.rpm
will show how it's done :
ftp://ftp.sunet.se/pub/os/Linux/dist...2010.0.src.rpm
..
The command 'openshot' will display a nice GUI. ..
..
 
Old 07-26-2010, 08:33 AM   #5
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Original Poster
Rep: Reputation: 15
I did what you advised (the directory i deleted was /usr/share/openshot1.1.3 though), and installed it with Software Manager. However, I still get the same message:

--------------------------------
OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 32530. Creating new pid lock file.
-------------------------------------------------------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
$ sudo python setup.py install
 
Old 07-27-2010, 03:20 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Well, I also did a manual install at first. ( From /home/knudfl/)
And got the same error, that you now have.

But after installing openshot with the Package Manager : an OK openshot GUI.
( Did you use the command 'openshot' to start it ? )

One thing to check : 'rpm -qa | grep openshot'
.. to see, that the package actually is installed.
..

Last edited by knudfl; 07-27-2010 at 03:22 AM.
 
Old 07-27-2010, 07:30 AM   #7
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Original Poster
Rep: Reputation: 15
Yes.. I used the command 'openshot', and used the command you provided to check that the package is installed. I even tried installing the versions 1.1.1 and 1.1.2, but the outcome was the same.. not installed in python path.
 
Old 07-27-2010, 10:01 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
May be : Delete the hidden folder /home/<user-name>/.openshot

ls .openshot
config.xml pid.lock queue/ sequence.mlt thumbnail/ user_profiles/

Could something in one of the files prevent it running ?
..
 
Old 07-27-2010, 10:48 AM   #9
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks for your patience..

I deleted the directory and tried running openshot (on the command line, it's version 1.1.2 at the moment because of my previous testing), but the outcome is the same. Trying to start openshot creates a new .openshot/ in my home directory, plus some content. All the subdirectories there (queue/ etc.) are empty. pid.lock is the only file (no config.xml), and the file's contents are some or another four-digit number.
 
Old 07-27-2010, 02:54 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
What is your python version ?

The command : python --version
.. will show.
..
 
Old 07-27-2010, 03:29 PM   #11
jjonas
Member
 
Registered: Jul 2005
Location: Turku, Finland
Distribution: Ubuntu 14.04
Posts: 72

Original Poster
Rep: Reputation: 15
Python 2.6.4.
 
  


Reply

Tags
openshot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone got OpenShot SBo slackbuild to work? metageek Slackware 13 01-01-2011 06:20 PM
Openshot problem aszabo Slackware 1 03-19-2010 08:01 PM
LXer: Howto Install OpenShot 1.1 Video Editor in Ubuntu Lucid, Karmic LXer Syndicated Linux News 0 03-16-2010 03:01 PM
LXer: Install all new OpenShot Video Editor 1.0 in Ubuntu LXer Syndicated Linux News 0 01-10-2010 11:30 AM
LXer: OpenShot 1.0 Has Arrived! LXer Syndicated Linux News 0 01-10-2010 01:50 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration