[MPlayer-users] Bugs during installation

Hilmar Preusse hille42 at web.de
Mon Dec 8 14:19:03 CET 2003


Hi all,

Sorry for posting without knowing much about mplayer.
When configuring Mplayer with the option --enable-shared-pp, the
libpostproc.so is built, but it is not installed during install.
I've checked out the latest main Makefile, but couldn't find any code
to do that. The attached patch works for me[TM].

Regards,
  Hilmar
-- 
sigmentation fault
-------------- next part --------------
--- Makefile	Sun Oct  5 00:00:01 2003
+++ Makefile.new	Mon Dec  8 12:44:39 2003
@@ -22,6 +22,11 @@
 DO_MAKE = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
 endif
 
+ifeq ($(SHARED_PP),yes)
+SUBDIRS += libavcodec/libpostproc
+DO_MAKE_PP = @ for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done
+endif
+
 SRCS_COMMON = cpudetect.c codec-cfg.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c m_config.c m_option.c parser-cfg.c m_struct.c
 SRCS_MENCODER = mencoder.c mp_msg-mencoder.c $(SRCS_COMMON) libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c libvo/font_load_ft.c xvid_vbr.c parser-mecmd.c
 SRCS_MPLAYER = mplayer.c mp_msg.c $(SRCS_COMMON) mixer.c parser-mpcmd.c
@@ -258,6 +263,9 @@
 install: $(ALL_PRG)
 ifeq ($(VIDIX),yes)
 	$(DO_MAKE)
+endif
+ifeq ($(SHARED_PP),yes)
+	$(DO_MAKE_PP)
 endif
 	if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
 	$(INSTALL) -m 755 $(INSTALLSTRIP) $(PRG) $(BINDIR)/$(PRG)


More information about the MPlayer-users mailing list