LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2013, 12:09 PM   #1
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
How to install latest smplayer


hi all

i'm running CentOS 6.4 x64 and want to install smplayer 0.8.4. the latest smplayer for centos6 is provided by 'nux dextop' and its 'smplayer-0.8.1-1'. in smplayer's official website they have given instruction for ubuntu/suse/arch/mandriva/slackware, but not centos.

i downloaded 'smplayer-0.8.4.tar.bz2', and followed setup instructions (install.txt):
Quote:
2) How to make a rpm package
----------------------------
Run rpmbuild -tb smplayer-0.6.x.tar.bz2
You'll find the rpm pachage under /usr/src/packages/RPMS/i586/

Take a look at this document to know how to create a rpm from the SVN sources:
http://smplayer.berlios.de/forums/viewtopic.php?id=188
1. but i'm getting errors
Code:
[root@srv archives]# rpmbuild -tb smplayer-0.8.4.tar.bz2 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EJwv9Y
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf smplayer-0.8.4
+ /usr/bin/bzip2 -dc /home/madhu/Downloads/archives/smplayer-0.8.4.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd smplayer-0.8.4
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ngnLQc
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd smplayer-0.8.4
+ LANG=C
+ export LANG
+ unset DISPLAY
+ make PREFIX=/usr QMAKE=qmake LRELEASE=lrelease
./get_svn_revision.sh
cd src && qmake  && DATA_PATH=\\\"/usr/share/smplayer\\\" TRANSLATION_PATH=\\\"/usr/share/smplayer/translations\\\" DOC_PATH=\\\"/usr/share/doc/packages/smplayer\\\" THEMES_PATH=\\\"/usr/share/smplayer/themes\\\" SHORTCUTS_PATH=\\\"/usr/share/smplayer/shortcuts\\\" make
/bin/sh: qmake: command not found
make: *** [src/smplayer] Error 127
error: Bad exit status from /var/tmp/rpm-tmp.ngnLQc (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.ngnLQc (%build)
2. and there is no 'packages/RPMS/i586/' directory
Code:
[root@srv src]# pwd
/usr/src
[root@srv src]# ls -lh
total 12K
drwxr-xr-x. 2 root root 4.0K Sep 23  2011 debug
drwxr-xr-x. 4 root root 4.0K Mar 17 02:12 kernels
drwxr-xr-x. 2 root root 4.0K Mar 17 02:22 nvidia-310.40
lrwxrwxrwx. 1 root root   34 Mar 17 13:15 vboxhost-4.2.10 -> /usr/share/virtualbox/src/vboxhost
While installing CentOS 6.4 i had included 'Development Tools'. What i'm doing wrong?

Thanks.
 
Old 03-29-2013, 02:36 PM   #3
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Original Poster
Rep: Reputation: 153Reputation: 153
...but they are all v0.8.1 or less only. i've already installed v0.8.1-1 from 'Nux Dextop'. i'am hoping to install v0.8.4 for latest fixes.
Quote:
SMPlayer changes

smplayer 0.8.4:

New option to select the fps for external subtitles.
The video equalizer dialog has been rewritten and now it allows to switch on/off the software equalizer from there.
Now smplayer checks for updates automatically and notifies the user if a new version is found.
Support for encoding ISO-8859-16 for subtitles.
The support for MPlayer2 has been improved and now we provide an optional package for Windows which includes MPlayer2. MPlayer2 has interesting new features like support for mkv ordered chapters and precise seeks.
New translations: Thai and Hebrew.
Some bugfixes.

smplayer 0.8.3:

Fix for Youtube playback.

smplayer 0.8.2:

A skinnable interface has been added. Several skins are included.
Support for 6.1 and 7.1 audio output.
A "Privacy" section in the preferences dialog has been added. You can disable saving the recent files or URLs.
The main window can be moved by dragging the video area.
Fix for a freeze that may happen on Windows XP.
(Windows) The font cache is created before showing the GUI.
Attached Thumbnails
Click image for larger version

Name:	img-2.jpg
Views:	20
Size:	136.5 KB
ID:	12157   Click image for larger version

Name:	img-1.jpg
Views:	25
Size:	105.8 KB
ID:	12158  

Last edited by Madhu Desai; 03-29-2013 at 02:44 PM.
 
Old 03-29-2013, 03:56 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Just two notes from the output of the rpmbuild command line:
Code:
cd /root/rpmbuild/BUILD
this tells you that the build directory is not in /usr/src anymore. Indeed it changed since CentOS 6.0, whereas prior releases used /usr/src.
Code:
/bin/sh: qmake: command not found
this one tells you that the system misses some dependency. The qmake command is provided by the qt-devel packages. I've never installed smplayer, but most likley it uses the Qt libraries for its graphical user interface and the build process depends on a proper Qt development installation. Try
Code:
yum install qt-devel
to solve this step.
 
1 members found this post helpful.
Old 03-30-2013, 12:05 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
smplayer is a QT4 frontend to mplayer

so qmake and the qt development files needs installing
along with mplayer and it's -devel package

see:
Code:
su -
yum grouplist
for the software groups to be installed
 
1 members found this post helpful.
Old 03-30-2013, 02:45 AM   #6
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Original Poster
Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by colucix View Post
Just two notes from the output of the rpmbuild command line:
Code:
cd /root/rpmbuild/BUILD
this tells you that the build directory is not in /usr/src anymore. Indeed it changed since CentOS 6.0, whereas prior releases used /usr/src.
Code:
/bin/sh: qmake: command not found
this one tells you that the system misses some dependency. The qmake command is provided by the qt-devel packages. I've never installed smplayer, but most likley it uses the Qt libraries for its graphical user interface and the build process depends on a proper Qt development installation. Try
Code:
yum install qt-devel
to solve this step.
Great!!! smplayer is up and running. thanks

To sum it up, for all who want to install latest smplayer for rhel6/centos6/scientific linux6, these are the steps:
  1. # yum groupinstall "development tools"
  2. # yum install qt-devel
  3. # PATH=$PATH:/usr/lib64/qt4/bin ; export PATH
  4. install audio/video codecs
  5. download smplayer-0.8.4.tar.bz2
  6. # rpmbuild -tb smplayer-0.8.4.tar.bz2
  7. # /root/rpmbuild/BUILD/smplayer-0.8.4/src/smplayer
that's it
Attached Thumbnails
Click image for larger version

Name:	smplayer.jpg
Views:	35
Size:	63.2 KB
ID:	12161  
 
  


Reply


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
Install Smplayer on Debian Etch? Lou G Linux - Software 3 10-07-2008 06:29 PM
LXer: How-To: Compile and Install SMPlayer 0.6.2 in Ubuntu 8.04 'Hardy Heron' LXer Syndicated Linux News 0 09-13-2008 01:50 AM
LXer: How-To: Compile and Install SMPlayer 0.6.2 in Debian Lenny LXer Syndicated Linux News 0 08-26-2008 01:00 PM
smplayer not installed afaheem1988 Linux - Newbie 1 08-03-2008 08:38 AM
smplayer 0.5.62 not installing rohanak Linux - Software 2 11-25-2007 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration