LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mplayer unable to install (http://www.linuxquestions.org/questions/linux-software-2/mplayer-unable-to-install-228914/)

Satish Adiga 09-10-2004 07:44 AM

Mplayer unable to install
 
First of all my $./configure doesnt work.It works when i type $sh configure.

also $make gives an error as shown in the second code

also make install also gives the error

helpppppppppppppp plzzzzzzzzzzzz

Code:


satish@adiga:~/Desktop/MPlayer-1.0pre5> ./configure
bash: ./configure: /bin/sh: bad interpreter: Permission denied
satish@adiga:~/Desktop/MPlayer-1.0pre5> sh configure

Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.3.3, ok
Checking for CPU vendor ... GenuineIntel (15:3:3)
Checking for CPU type ...  Intel(R) Pentium(R) 4 CPU 2.80GHz
Checking for GCC & CPU optimization abilities ... pentium4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler (/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/as 2.15.90.0.1.1) ... ok
Checking for Linux kernel version ... 2.6.4-52-smp, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... no
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... yes (using -I/usr/include/directfb)
Checking for DirectFB ... yes (920)
Checking for X11 headers presence ... yes (using /usr/X11/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... yes
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... yes
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for JACK ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... yes
Checking for mad support ... yes
Checking for OggVorbis support ... yes
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libmpeg2 support ... yes
Checking for Matroska support (external 0.6.0 or later OR internal) ... yes, internal
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for FAAD2 version ... 2.0
Checking for MacOS X SHLB (shared lib) support ... no
Checking for Win32 codec DLL support ... yes (using /usr/lib/win32)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/xanim/mods)
Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformatc (static) ... no
Checking for libdv-0.9.5+ ... yes
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
Checking for ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... yes
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h

Config files successfully generated by ./configure !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: Little Endian
  Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr

  Languages:
    Messages/GUI: en
    Manual pages: en (no localization selected, use --language=all)

  Enabled optional drivers:
    Input: ftp network tv-v4l2 tv-v4l edl tv matroska(internal) cdda mpdvdkit2 vcd dvb smb
    Codecs: qtx libdv libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib libvorbis libmad liblzo gif
    Audio output: alsa esd arts oss sdl mpegpes(dvb)
    Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(dvb) fbdev aa opengl dga xv x11 xover dfbmga directfb tga
  Disabled optional drivers:
    Input: tv-bsdbt848 live.com dvdread
    Codecs: opendivx xvid libtheora
    Audio output: sgi sun jack dxr2 nas win32 macosx
    Video output: winvidix bl zr zr2 dxr3 dxr2 directx svga caca ggi xmga mga xvmc tdfx_vid tdfxfb 3dfx quartz

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/devices.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

satish@adiga:~/Desktop/MPlayer-1.0pre5>



Code:





satish@adiga:~/Desktop/MPlayer-1.0pre5> make
./version.sh `cc -dumpversion`
/bin/sh: ./version.sh: /bin/sh: bad interpreter: Permission denied
make: *** [version.h] Error 126
satish@adiga:~/Desktop/MPlayer-1.0pre5> su
Password:
adiga:/home/satish/Desktop/MPlayer-1.0pre5 # make
./version.sh `cc -dumpversion`
/bin/sh: ./version.sh: /bin/sh: bad interpreter: Permission denied
make: *** [version.h] Error 126
adiga:/home/satish/Desktop/MPlayer-1.0pre5 # make install
./version.sh `cc -dumpversion`
/bin/sh: ./version.sh: /bin/sh: bad interpreter: Permission denied
make: *** [version.h] Error 126
adiga:/home/satish/Desktop/MPlayer-1.0pre5 #
adiga:/home/satish/Desktop/MPlayer-1.0pre5 #


druuna 09-10-2004 07:59 AM

Obviously a /bin/sh problem......

What does ls -l /bin/sh tell you?

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Aug 20 10:36 /bin/sh -> bash

$ ls -l /bin/bash
-rwxr-xr-x 1 root root 3035761 Jul 27 21:46 /bin/bash

Is sh listed in the available shells? (/etc/shells)

Your ./configure steps looks ok (besides the sh configure thingie). You might be able to get some more milage (extra language support, more drivers etc), but this could mean installing extra soiftware. Which is, of course, entirely up to you.

BTW: if configure fails there's no point in doing the make step. Also, if make fails the make install step is pointless. First fix the step that fails, then continue with the next step.

Hope this gets you going again.

mikedeatworld 09-10-2004 10:42 AM

What distro are you running?

Satish Adiga 09-10-2004 02:25 PM

mplayer unable to install
 
the operating system is suse 9.1

mikedeatworld 09-10-2004 02:32 PM

how did you install your compliler?

did you install make correctly?


All times are GMT -5. The time now is 10:14 PM.