LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing mplayer in Slackware 10 (https://www.linuxquestions.org/questions/linux-software-2/installing-mplayer-in-slackware-10-a-296197/)

edison 03-01-2005 04:54 AM

installing mplayer in Slackware 10
 
Hi folks,

I have installed slackware 10.0 but I haven't installed anything related to X, KDE or GNOME (including GTK and QT). And I want to install mplayer, but it prompted the following during compilation.
make[1]: *** No rle to make target `vf_hue.o`, needed by `libmpcodecs.a`. Stop.

How can I get this `vf_hue.o`, do I need to recompile my kernel or make some of the modules?

Thx,
Ed

Mega Man X 03-01-2005 11:14 AM

May I ask two things?

1 - Why would you need to install mplayer without anything related to X?. You won't be able to play videos, you know :). However, if it's to play mp3's, install mpg123 or mpg321, or some of the command line players. I'm sure Slackware has one of those packages ready to install and use.

2 - What does ./configure say when you try to compile mplayer? The ./configure errors are the good ones, so we know exactly which packages your are missing ;)

Regards!

rylan76 03-01-2005 12:52 PM

As far as I know you can't do that - MPlayer absolutely HAS to have X and related libraries available, as well as the GTK libraries. It should stop already somewhere in the configure phase and complain that it misses a library.

You have got to install X and all development libraries as well as GTK in order to compile MPlayer.

trickykid 03-01-2005 01:03 PM

Actually mplayer does require the development libraries in the X packages and such but it is possible to have mplayer play and run on the console using framebuffering without ever running or starting X.

edison 03-01-2005 07:10 PM

Hi all,

I have read mplayer site and I found it is great that it can play mpeg in console mode with framebuffer. This is very good to me as I have a very limited space. Refer to the build process, I have no exception during ./configure and I can start building mplayer. However in the middle, error prompted saying vf_hue.o missing. I wonder what option will enable me to build vf_hue.o.

p.s. During the installation of slackware 10, I have installed all lib.
Below is my config.mak

Thx

# -------- Generated by configure -----------

LANG = C
MAN_LANG = en
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr/local
BINDIR = $(DESTDIR)/usr/local/bin
DATADIR = $(DESTDIR)/usr/local/share/mplayer
MANDIR = $(DESTDIR)/usr/local/man
CONFDIR = $(DESTDIR)/usr/local/etc/mplayer
LIBDIR = $(DESTDIR)/usr/local/lib
#AR = ar
CC = cc
HOST_CC = cc
AWK = gawk
RANLIB = true
INSTALL = install
# OPTFLAGS = -O4 -march=pentium4 -mcpu=pentium4 -pipe -fomit-frame-pointer -ffast-math
EXTRA_INC =
OPTFLAGS = -I../libvo -I../../libvo -fno-PIC -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(EXTRA_INC)
STRIPBINARIES = yes
HELP_FILE = help/help_mp-en.h

PRG = mplayer
PRG_MENCODER = mencoder



MPLAYER_NETWORK = yes
STREAMING_LIVE_DOT_COM = no
MPLAYER_NETWORK_LIB = -lnsl
DVBIN = no
VIDIX = yes
SHARED_PP = no
CONFIG_PP = yes
CONFIG_RISKY = yes
CONFIG_MP3LAME = no
LIBMENU = no
I18NLIBS =
MATROSKA = yes

OPENDIVX = no

MP3LIB = yes
LIBA52 = yes
LIBMPEG2 = yes

UNRARLIB = yes
HAVE_FFPOSTPROCESS = yes
PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB =
Z_LIB = -lz
HAVE_MLIB = no
WIN32_LIB =
STATIC_LIB =
ENCA_LIB =
HAVE_PTHREADS = yes
MATH_LIB = -lm

X11_INC =
X11DIR =

HAVE_XVMC_ACCEL = no

# for libavcodec:
SRC_PATH=..
LIBPREF=lib
LIBSUF=.a
SLIBPREF=lib
SLIBSUF=.so

# video output
X_LIB = -lnsl
GGI_LIB =
MLIB_LIB =
MLIB_INC =
DXR2_INC =
DVB_INC =
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lungif
SDL_LIB =
SVGA_LIB = -lvgagl -lvga -lm
AA_LIB =
CACA_INC =
CACA_LIB =

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB =
ARTS_LIB =
ARTS_INC =
ESD_LIB = -L/usr/lib -lesd -laudiofile -lm -lasound
ESD_INC =
POLYP_LIB =
POLYP_INC =
JACK_LIB =
JACK_INC =
SGIAUDIO_LIB =

# input/demuxer/codecs
TERMCAP_LIB = -ltermcap
LIRC_LIB =
LIRCC_LIB =
DVDREAD_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC =
W32_DEP =
W32_LIB =
DS_DEP =
DS_LIB =
AV_DEP = libavcodec/libavcodec.a libavformat/libavformat.a
AV_LIB = libavcodec/libavcodec.a libavformat/libavformat.a
CONFIG_LIBAVFORMAT = yes
ZORAN = no
FAME = no
FAME_LIB =
MP1E_DEP =
MP1E_LIB =
ARCH_LIB = -lpthread -ldl
XVID = no
XVID_INC =
XVID_LIB =
X264 = no
X264_INC =
X264_LIB =
CONFIG_DTS = no
DTS_INC =
DTS_LIB =
DECORE_LIB =
MENCODER = yes
ENCORE_LIB =
DIRECTFB_INC =
DIRECTFB_LIB =
CDPARANOIA_INC =
CDPARANOIA_LIB = -lcdda_interface -lcdda_paranoia
FREETYPE_INC =
FREETYPE_LIB =
FONTCONFIG_INC =
FONTCONFIG_LIB =
FRIBIDI_INC =
FRIBIDI_LIB =
LIBLZO_LIB=
MAD_LIB = -lmad
VORBIS_LIB = -lvorbis -logg
THEORA_LIB =
FAAD_LIB =
INTERNAL_FAAD = yes
SMBSUPPORT_LIB = -lsmbclient
XMMS_PLUGINS = no
XMMS_LIB =
MACOSX = no
MACOSX_FINDER_SUPPORT = no
MACOSX_FRAMEWORKS =
TOOLAME=no
TOOLAME_EXTRAFLAGS=
TOOLAME_LIB=

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_WIN32 = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = yes
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = yes
TARGET_ALTIVEC =
TARGET_VIS =

# --- GUI stuff ---
GTKLIB =
GLIBLIB =
GTK_LIBS =
GUI = no
DEBUG = -DDEBUG

edison 03-01-2005 08:26 PM

Hi all,

problem solved. The cause is some of the files are failed to untar due to timestamp expired. I get all the file and it works.

What a clumsy mistake.

Thx
Ed


All times are GMT -5. The time now is 06:50 AM.