You think that's air you're breathing now?
Hi!
I'm actually stuck in compiling SMPlayer. from the .txt file:
DoneCode:1) How to make a deb package ---------------------------- Be sure you have installed the following packages: libqt4-dev, zlib1g-dev, fakeroot, build-essential, devscripts, debhelper and g++.
daitarn@daitarn-laptop:~$ /home/daitarn/smplayer-0.6.9/create_deb.shCode:Now run ./create_deb.sh
cp: cannot stat `debian-rvm/changelog-orig': No such file or directory
/home/daitarn/smplayer-0.6.9/create_deb.sh: 6: ./get_svn_revision.sh: not found
rm: cannot remove `build-stamp': No such file or directory
rm: cannot remove `src/smplayer': No such file or directory
/usr/bin/fakeroot: line 176: debian/rules: No such file or directory
/usr/bin/fakeroot: line 176: debian/rules: No such file or directory
dh_clean: cannot read debian/control: No such file or directory
rm: cannot remove `debian-rvm/changelog': No such file or directory
what's wrong? I'm quite a newbie in these kind of things
Code: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 3) Generic compilation ---------------------- You need at least Qt 4.3 to compile smplayer. It won't work with an older version. Be sure you have installed the Qt 4 development package. Its name maybe qt4-devel, libqt4-dev or similar. Uncompress the source code, open a console and enter in the smplayer-0.6.x directory. Type "make". If everything is ok now you can install it with "make install". That will install smplayer in /usr/local. If "make" fails, it's probably because the Qt 3 qmake has been used instead of the Qt 4 one. It seems that some distros have renamed that tool to qmake-qt4. Others may have installed in another directory. Look at the contents of the qt4-devel package (or whatever its name is) and find out where it is. Now type something like this (just examples): make QMAKE=qmake-qt4 or make QMAKE=/usr/share/qt4/bin/qmake 4) Changing installation path ----------------------------- By default smplayer will be installed in /usr/local. You can change it by using PREFIX and DESTDIR. Examples: make PREFIX=/usr make PREFIX=/usr install That would install smplayer under /usr. DESTDIR will be useful for package maintainers. make PREFIX=/usr make PREFIX=/usr DESTDIR=/tmp/ install That would compile smplayer for /usr but in fact it will be installed in /tmp/usr/
Last edited by motorhead_1; March 9th, 2010 at 02:57 PM.
If you added the ppa then just install smplayer as suggested - sudo apt-get install smplayer
Rvm's 'create_deb.sh's' are actually very interesting little scripts and do work well, though I'm not sure of any advantage for the smplayer one.
(used to use the mplayer one, with a few changes to the rules file worked quite well, though haven't used in many months
If you wish to use or try this method for smplayer then you are at the wrong terminal prompt.
Simply download the smplayer source (smplayer-0.6.9.tar.bz) extract it and then in a terminal cd to the extracted source (smplayer-0.6.9
Then run the command and all should be well
Ex.of prompt
doug@doug-laptop:~/Downloads/smplayer-0.6.9$ ./create_deb.sh
I've followed the first and easiest way sudo apt-get install smplayer and I'm now watching the video with SMPlayer
thanks again!
Hi
I still use Jaunty and have been following this guide successfully a couple of times earlier.
Thanks Andrew for this great guide
But when I tried it today (using latest mplayer from svn, rev 30913) I got a error compiling mplayer,
and since I'm no compilation guru I turn to this thread for some help on why I can't compile.
Here's some info
OS: Ubuntu 9.04 Jaunty
Graphics driver: nvidia-glx-195.36-15
...
(I can provide more info if needed)
Attached is a text file of last 100 or so lines of the compile output
(where it starts to complain about undefined references for libavcodec.a (I think), and finally ends with an exit 1)
Thankful for any help...
PS I've tried to disable x264 and also disable mencoder altogether but to no success.
Hi lykeon,
It is my pleasure . I will admit that I have been working with MPlayer and Ubuntu for a little too long now and I seem to have little else to contribute in this field but it is nice to have made a contribution...
I get the same error and have for a day or so I suspect the best bet is to wait another day or so. If the situation is not rectified perhaps a trip to #mplayer might be worthwhile but usually the fault is rectified quickly...But when I tried it today (using latest mplayer from svn, rev 30913) I got a error compiling mplayer
All the best,
Andrew
You think that's air you're breathing now?
Hi lykeion,
Compilation succeeds again:
AndrewCode:andrew@skamandros~/source/mplayer$ mplayer | head -n 1 MPlayer SVN-r30916-4.3.3 (C) 2000-2010 MPlayer Team
You think that's air you're breathing now?
thanks usefull in4
Bookmarks