LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   How do I get ./compile &./make? (https://www.linuxquestions.org/questions/mandriva-30/how-do-i-get-compile-and-make-450606/)

sneckert 06-01-2006 11:20 AM

How do I get ./compile &./make?
 
I ran into another problem. I was trying to get Mplayer to run .asf and .avi files. I have the Win32 codecs loaded and the when I run urpmi version of Mplayer it doesn't find them. So I tried to compile the source code for Mplayer and got a message 'No such file ./compile'. I tried the ./make and that wasn't found either. I did a search and neither file is on my computer. Fun, I compiled a video driver six months ago and it worked. I'm not concerned were the files went, I probably deleted them by mistake. I just want to know how to get them and the other files I need to compile Mplayer so it'll see the Win32 codecs. Can any one point me in the right direction? Thanks Stephen:confused:

meng 06-01-2006 11:22 AM

Don't you mean:

./configure

and then:

make

?? Let me know if it works.

sneckert 06-01-2006 02:06 PM

missing also
 
Meng; My instructions say ./compile I thought is was supposed to be ./configure. However I tried ./configure and that's not found either. Somewhere along the line I'm missing something. Stephen

meng 06-01-2006 02:20 PM

Usual requirements for compiling from source are make and gcc.

Nylex 06-01-2006 02:28 PM

The configure script is in the archive I just downloaded for MPlayer (MPlayer-1.0pre7try2.tar.bz2) straight off the MPlayer website. When you run make, you shouldn't be trying to use "./make" anyway, as it'll be in one of the directories in your $PATH and not in the current directory, so you just run it as "make". You should be able to install the make package for Mandriva via its package manager or from the CDs/DVD.

sneckert 06-01-2006 04:41 PM

found it
 
Thanks for all the help. I was in the wrong folder. I ran ./configure and it came back with the message that I had the wrong gcc file. After reinstalling the right one it ran but had lots of errors. The make failed and I couldn't install it. Now I'm back at square one trying to find out why it failed. Thanks for your help.

dexter11 06-02-2006 01:50 PM

Before trying to compile where did you get the win32codecs? If not plf then install it from plf and most likely the Mandriva made mplayer will find them.
If you don't know what plf is then go to http://easyurpmi.zarb.org add both plf sources if it's legal in your country and then use the softwarte installer to install win32codecs.

sneckert 06-06-2006 05:01 PM

Dexter11;
Thanks for the info. I reinstalled Mplayer from the CD and downloaded and installed the Win32-codec from PLF. Now I can run .wmv and .avi files however I still can't run streaming video.Still get 'MMS not registered protocol message. Thanks for the help with the codecs.
Stephen

dexter11 06-07-2006 07:10 AM

For steaming video running in the browser (Firefox) you need to install mplayer-plugin or if you like the command line
Quote:

mplayer mms://url/of/the/stream
will do.

sneckert 06-07-2006 09:17 AM

dexter11;

I tried running from a command line and it works. However it doesn't run in Mozilla. I'm running Mozilla 1.7.6 and have the following plugins; mplayerplug-in-wmp.so mplayerplug-in.so Is there another plugin that I should have?

Stephen

dexter11 06-07-2006 03:34 PM

I don't really know. As you can see I'm on PCLinuxOS and it was installed by default here and I'm using Firefox. But anyway here's my /usr/lib/mozilla/plugin directory:
Quote:

$ ls -l /usr/lib/mozilla/plugins/
total 3426
drwxr-xr-x 2 root root 48 már 19 04:16 java/
-rwxr-xr-x 1 root root 2150688 már 20 17:53 libflashplayer.so*
lrwxrwxrwx 1 root root 50 már 19 04:16 libjavaplugin_oji.so -> /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so*
-rwxr-xr-x 1 root root 8208 már 18 2005 libmozsvgdec.so*
-rwxr-xr-x 1 root root 26320 ápr 21 18:02 mozplugger.so*
-rwxr-xr-x 1 root root 254272 ápr 14 17:43 mplayerplug-in-gmp.so*
-rwxr-xr-x 1 root root 981 ápr 14 17:43 mplayerplug-in-gmp.xpt*
-rwxr-xr-x 1 root root 254336 ápr 14 17:43 mplayerplug-in-qt.so*
-rwxr-xr-x 1 root root 981 ápr 14 17:43 mplayerplug-in-qt.xpt*
-rwxr-xr-x 1 root root 254400 ápr 14 17:43 mplayerplug-in-rm.so*
-rwxr-xr-x 1 root root 981 ápr 14 17:43 mplayerplug-in-rm.xpt*
-rwxr-xr-x 1 root root 255840 ápr 14 17:43 mplayerplug-in.so*
-rwxr-xr-x 1 root root 254624 ápr 14 17:43 mplayerplug-in-wmp.so*
-rw-r--r-- 1 root root 981 ápr 14 17:43 mplayerplug-in-wmp.xpt
-rw-r--r-- 1 root root 981 ápr 14 17:43 mplayerplug-in.xpt
lrwxrwxrwx 1 root root 40 ápr 26 19:40 nphelix.so -> /usr/local/RealPlayer/mozilla/nphelix.so*
lrwxrwxrwx 1 root root 41 ápr 26 19:40 nphelix.xpt -> /usr/local/RealPlayer/mozilla/nphelix.xpt*

sneckert 06-08-2006 08:12 AM

dexter11
Thanks for you help. I was missing 'mozplugger.so' now some streaming video works but not all. As for the MMS files they still don't work in Mozilla. I did set Konqueror to use the Mozilla plugins and MMS worked fine in Konqueror. This must be a problem with Mozilla. Thanks for you help.
Stephen

dexter11 06-08-2006 08:41 AM

This is the same with my PC. Some videos doesn't play in Firefox either but then I switch to Konqueror and it plays fine there. Wonder why is that?


All times are GMT -5. The time now is 05:20 AM.