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

Milan Jurik milan.jurik at xylab.cz
Sat Jul 18 22:07:01 CEST 2009


Diego,

Diego Biurrun píše v so 18. 07. 2009 v 18:10 +0200:
> On Sat, Jul 18, 2009 at 12:25:35PM +0200, Milan Jurik wrote:
> > Hi,
> > 
> > Nico Sabbi píše v so 18. 07. 2009 v 12:14 +0200:
> > > Il giorno sab, 18/07/2009 alle 12.08 +0200, Diego Biurrun ha scritto:
> > > > > 
> > > > > 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, Sun's install is so much broken to leave me speechless.
> > > It's really much better using ginstall when available or a combination
> > > of cp and chmod and forget about that abomination of the native
> > > "install".
> > 
> > I agree that /usr/sbin/install is very different from BSD style install
> > (in /usr/ucb/install or /usr/bin/ginstall). I never understood what is
> > that shell script trying to do...
> 
> I'd still like to know if the '-s' is the problem.  Such an issue was
> never reported against FFmpeg...
> 

>From man install(1M):

     This version of install (/usr/sbin/install) is not  compati-
     ble with the install binaries in many versions of Unix other
     than Solaris. For a  higher  degree  of  compatibility  with
     other   Unix   versions,   use  /usr/ucb/install,  which  is
     described in the install(1B) man page.

I do not know the background for this incompatibility. It could be from
times before Solaris (it seems it came from SunOS 3.x). The
incompatibility survived changes in Solaris 2.x.

Solaris users are aware of this problem, so we are using alternatives
frequently. Many configure scripts count with it.

Best regards,

Milan




More information about the MPlayer-dev-eng mailing list