[Digikam-users] [DigiKam-users] [digikam] compilation error

Andrew Goodbody ajg02 at elfringham.co.uk
Tue Feb 2 09:11:30 GMT 2016


It was not on mine, which is Debian. It obviously is not on Ahmad's. 
This is not a good assumption to make. If you use bash specific syntax, 
then just specify bash at the top. It's quicker to fix than to argue 
about it.

Andrew

On 02/02/16 05:29, Gilles Caulier wrote:
> /bin/sh is a symbolic link to /bin/bash on all linux computers typically...
>
> Gilles Caulier
>
> 2016-02-01 23:29 GMT+01:00 Andrew Goodbody <ajg02 at elfringham.co.uk
> <mailto:ajg02 at elfringham.co.uk>>:
>
>     The #! at the top is wrong, it is /bin/sh whereas it should be /bin/bash
>
>     Andrew
>
>     On 01/02/16 21:34, Gilles Caulier wrote:
>
>         seriously... the bootstrap script is a Bash stuff. Your Linux
>         computer
>         is not able to run a bash script ?
>
>         Gilles Caulier
>
>         2016-01-25 8:16 GMT+01:00 Ahmad Samir <ahmadsamir1194 at gmail.com
>         <mailto:ahmadsamir1194 at gmail.com>
>         <mailto:ahmadsamir1194 at gmail.com
>         <mailto:ahmadsamir1194 at gmail.com>>>:
>
>
>              Hello guys,
>
>              I'm trying to compile DigiKam for the first time but when I
>         type
>              "./bootstrap.linux" in the source code file I get the
>         following error:-
>
>              " ~/dk2$ ./bootstrap.linux
>              ./bootstrap.linux: 14: [: unexpected operator
>              ./bootstrap.linux: 18: [: unexpected operator
>              Syntax: ./bootstrap.linux [--eclipse]
>              Run without arguments to create a Unix Makefile project in
>         a build
>              subdir.
>              Run with '--eclipse' to create an Eclipse IDE project and build
>              source in a parallel directory."
>
>              any help?
>
>              Thanks
>
>              _______________________________________________
>              Digikam-users mailing list
>         Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>         <mailto:Digikam-users at kde.org <mailto:Digikam-users at kde.org>>
>         https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
>         _______________________________________________
>         Digikam-users mailing list
>         Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>         https://mail.kde.org/mailman/listinfo/digikam-users
>
>     _______________________________________________
>     Digikam-users mailing list
>     Digikam-users at kde.org <mailto:Digikam-users at kde.org>
>     https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list