[OpenIndiana-discuss] Building handbrake 0.10.5

russell stream at willows7.myzen.co.uk
Sun Aug 21 13:11:07 UTC 2016


Hi,

If you want to run HandBrake on OpenIndiana Hipster, you need to follow 
the steps below after downloading the 0.10.5 source and extract to 
/tmp/HandBrake-0.10.5

1. ensure that your path is set to use /usr/gnu/bin
       $ PATH=/usr/gnu/bin:$PATH ; export PATH

2. Next as root in seperate terminal, go to /bin
     # ls -l sh
     rwxrwxrwx   1 root     root           9 Aug 21 13:55 sh -> i86/ksh93

     Now remove this link

     # rm sh

     Replace this link with one pointing as /usr/gnu/bin/sh

     # ln -s /usr/gnu/bin/sh sh

3.  Now in the terminal where you set step 1

      $ cd /tmp/HandBrake-0.10.5

4.  Start the automated build, I put HandBrake into /opt/gnu

     /tmp/HandBrake-0.10.5$ CC=gcc ./configure --prefix=/opt/gnu --launch

     lots of output

     The ./build will contain your HandBrakeCLI static binary, copy to 
/opt/gnu

5. Now reset the link for /bin/sh back to i86/ksh93, so in the terminal 
with the root login

     # rm sh
     # ln -s i86/ksh93 sh


Regards

Russell




More information about the openindiana-discuss mailing list