[Slackbuilds-users] faust.SlackBuild problem

Matteo Bernardini matteo.bernardini at gmail.com
Thu Aug 25 10:01:17 UTC 2016


2016-08-25 11:52 GMT+02:00 George Vlahavas <vlahavas at gmail.com>:
>
> On Thu, 25 Aug 2016, Matteo Bernardini wrote:
>
>> 2016-08-25 11:09 GMT+02:00 George Vlahavas <vlahavas at gmail.com>:
>>>
>>>
>>> On Thu, 25 Aug 2016, George Vlahavas wrote:
>>>
>>>> Hi,
>>>>
>>>> in the faust.SlackBuild, $ARCH is never set. You'll need to add
>>>> something
>>>> like this close to the top:
>>>>
>>>> if [ -z "$ARCH" ]; then
>>>>  case "$( uname -m )" in
>>>>    i?86) ARCH=i586 ;;
>>>>    arm*) ARCH=arm ;;
>>>>       *) ARCH=$( uname -m ) ;;
>>>>  esac
>>>> fi
>>>>
>>>> Regards,
>>>>
>>>> George
>>>>
>>>
>>> Actually there are more problems with it. CFLAGS are never set properly
>>> and
>>> libraries get installed under /usr/lib in 64bit systems...
>>
>>
>> hi George,
>>
>> please check the attached patch (I'll put the maintainer in cc).
>>
>> Matteo
>>
>
> Thanks Matteo. Seems to work, but I think there are still a couple of static
> libraries put in /usr/share/faust/. There are several .cpp source files in
> there too and I'm not sure if they are supposed to be there in the package.

it seems the fedora people have a patch also for that but it's for an
older version of faust and doesn't apply to the new one, it has to be
rewritten

http://pkgs.fedoraproject.org/cgit/rpms/faust.git/plain/faust-osclib-shared.patch

then also the make commands must be adapted for that adding LIBDIR and
INCLUDEDIR statements

http://pkgs.fedoraproject.org/cgit/rpms/faust.git/plain/faust.spec

let's hear from the maintainer about it.

Matteo


More information about the SlackBuilds-users mailing list