[MPlayer-dev-eng] [PATCH] Fix MPlayer to compile on Solaris

Diego Biurrun diego at biurrun.de
Sat Jul 18 12:08:06 CEST 2009


On Fri, Jul 17, 2009 at 02:17:41PM -0400, Alex Viskovatoff wrote:
> Diego Biurrun wrote:
> >On Fri, Jul 17, 2009 at 01:37:40PM -0400, Alex Viskovatoff wrote:
> >>Diego Biurrun wrote:
> >>>Please don't top-post.
> >>>
> >>>On Fri, Jul 17, 2009 at 12:40:16AM -0400, Alex Viskovatoff wrote:
> >>>>Alex Viskovatoff wrote:
> >>>>
> >>>>>The patch adds to configure a test for "sunos", and adds 
> >>>>>"-Wa,--divide" to extra_cflags in that case.
> >>>>I've added a line to the patch to reflect that GNU install is called 
> >>>>ginstall in Solaris.
> >>>What is the problem with Solaris install?
> >>This is what happens when Solaris install is used instead of ginstall:
> >>
> >>av at diotima:~/Download/software/src/mplayer$ pfexec gmake install
> >>install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib
> >>install -m 755 -s mencoder /usr/local/bin
> >>find: cycle detected for /lib/32/
> >>find: cycle detected for /lib/secure/32/
> >>find: cycle detected for /lib/crypto/32/
> >>find: cycle detected for /usr/lib/elfedit/32/
> >>find: cycle detected for /usr/lib/secure/32/
> >>find: cycle detected for /usr/lib/link_audit/32/
> >>find: cycle detected for /usr/lib/32/
> >>find: cycle detected for /usr/lib/lwp/32/
> >>find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
> >>find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
> >>find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
> >>install: mencoder was not found anywhere!
> >>gmake: *** [install-mencoder] Error 2
> >
> >Can you try what happens if you leave out '-m 755'?
> 
> Exactly the same thing happens:
> 
> av at diotima:~/Download/software/src/mplayer$ pfexec gmake install
> install -d /usr/local/bin /usr/local/etc/mplayer /usr/local/lib
> install -s mencoder /usr/local/bin
> find: cycle detected for /lib/32/
> find: cycle detected for /lib/secure/32/
> find: cycle detected for /lib/crypto/32/
> find: cycle detected for /usr/lib/elfedit/32/
> find: cycle detected for /usr/lib/secure/32/
> find: cycle detected for /usr/lib/link_audit/32/
> find: cycle detected for /usr/lib/32/
> find: cycle detected for /usr/lib/lwp/32/
> find: cycle detected for /usr/lib/locale/en_US.UTF-8/32/
> find: cycle detected for /usr/lib/locale/en_US.UTF-8/LC_CTYPE/32/
> find: cycle detected for /usr/lib/locale/en_US.UTF-8/LO_LTYPE/32/
> install: mencoder was not found anywhere!
> gmake: *** [install-mencoder] Error 2

So the '-s' is the problem?  Try leaving that out.

Diego



More information about the MPlayer-dev-eng mailing list