[MPlayer-users] MPlayer 0.50 on sparc solaris 8

pl p_l at gmx.fr
Thu Oct 11 17:12:18 CEST 2001


Hi,

On Thu, Oct 11, 2001 at 02:27:10PM +0200, Rojek, Tomasz wrote:
[...]
> bash-2.03# make install
> if [ ! -d /usr/local/bin ]; then \
>         mkdir -p /usr/local/bin; \
> fi
> install -m 755 -s mplayer /usr/local/bin/mplayer
> find: cannot open /usr/local/bin/mplayer: No such file or directory
> find: cannot follow symbolic link /etc/rc0.d/K00sshd: No such file or
> directory
> find: cannot follow symbolic link /lib/locale/fr_CA.ISO8859-1/LC_MESSAGES:
> No such file or directory
> find: cannot follow symbolic link
> /usr/lib/locale/fr_CA.ISO8859-1/LC_MESSAGES: No such file or directory
> install: mplayer was not found anywhere!
> make: *** [install] Error 2
> 
> What now?

Does the enclosed patch to the makefile fixes it for you ?
(Apply it via: patch < Makefile.diff)

--
Regards,
  pl
-------------- next part --------------
diff -u -r1.73 Makefile
--- Makefile	11 Oct 2001 11:58:24 -0000	1.73
+++ Makefile	11 Oct 2001 15:22:10 -0000
@@ -118,16 +118,12 @@
 	$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
 
 install: $(ALL_PRG)
-	if [ ! -d $(BINDIR) ]; then \
-		mkdir -p $(BINDIR); \
-	fi
+	if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
 	install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
 ifeq ($(GUI),yes)
-	-ln -s $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
+	-ln -sf $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
 endif
-	if [ ! -d $(prefix)/man/man1 ]; then \
-		mkdir -p $(prefix)/man/man1; \
-	fi
+	if test ! -d $(prefix)/man/man1 ; then mkdir -p $(prefix)/man/man1 ; fi
 	install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
 ifeq ($(CSS_USE),yes)
 	@echo "Following task requires root privs. If it fails don't panic"


More information about the MPlayer-users mailing list