[MPlayer-users] Cross-compilation

ScriptInstallation.in info at scriptinstallation.in
Tue Aug 14 21:48:38 CEST 2007


On 8/14/07, Eric Nelson <eric.nelson at boundarydevices.com> wrote:
>
> Dominik 'Rathann' Mierzejewski wrote:
> > On Tuesday, 14 August 2007 at 15:30, Eric Nelson wrote:
> >> Hello, all.
> >>
> >> The patch below allows override of the DESTDIR symbol when doing
> >> "make install". This is useful when creating a filesystem for an
> >> embedded target.
> >>
> >> Eric Nelson
> >> Boundary Devices
> >>
> >> --- mplayer.orig/configure   2007-08-13 18:16:26.000000000 -0700
> >> +++ mplayer/configure        2007-08-13 18:18:47.000000000 -0700
> >> @@ -7432,7 +7432,7 @@
> >>  LANG = C
> >>  MAN_LANG = $MAN_LANG
> >>  TARGET_OS = $system_name
> >> -DESTDIR =
> >> +DESTDIR ?=
> >>  prefix = \$(DESTDIR)$_prefix
> >>  BINDIR = \$(DESTDIR)$_bindir
> >>  DATADIR = \$(DESTDIR)$_datadir
> >
> > I don't think this is necessary. Overriding DESTDIR during make install
> > works just fine without this patch. In fact, it's been working for
> years.
> >
>
>
> install -d /usr/local/bin
> install -m 755 mplayer /usr/local/bin/mplayer
> install: cannot create regular file `/usr/local/bin/mplayer': Permission
> denied
> make: *** [install] Error 1



Check if you have a file or folder with name mplayer in /usr/local/bin

Just rename it

mv /usr/local/bin/mplayer /usr/local/bin/mplayer_old

then try installing again and see what happens.



More information about the MPlayer-users mailing list