[OpenIndiana-discuss] Building handbrake 0.10.5

Aurélien Larcher aurelien.larcher at gmail.com
Sun Aug 21 13:25:16 UTC 2016


On Sun, Aug 21, 2016 at 3:11 PM, russell <stream at willows7.myzen.co.uk> wrote:
> 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

You should never do this.
If shell scripts are made for bash and incorrectly use /usr/bin/sh you
should modify the shebang.

>
> 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
>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss



-- 
---
Praise the Caffeine embeddings



More information about the openindiana-discuss mailing list