[vlc-devel] [PATCH] configure.ac: use absolute path for protoc

Alexandre Janniaux ajanni at videolabs.io
Mon Jul 13 17:08:54 CEST 2020


Hi,

Actually the workaround has been in the calling code (in
the extras/package build script for apple) which
systematically added the extras/tools in the PATH.

Without this workaround, the configure script returns:

    configure:55687: checking for protoc
    configure:55703: found /home/alexandre/workspace/videolabs/vlc-meson/extras/tools/build/bin/protoc
    configure:55714: result: protoc

And right after, make returns:

    /bin/bash: protoc: command not found
    Makefile:31476: recipe for target 'stream_out/chromecast/cast_channel.pb.h' failed

Regards,
--
Alexandre Janniaux
Videolabs

On Mon, Jul 13, 2020 at 05:13:49PM +0300, Rémi Denis-Courmont wrote:
> Le maanantaina 13. heinäkuuta 2020, 13.57.54 EEST Alexandre Janniaux a écrit :
> > When compiling for iOS, protoc is usually found in PATH but PATH is
> > defined by the build script, which mean only `protoc` will be stored in
> > the PROTOC variable. When recompiling using `make`, the PATH is not
> > defined anymore and it will fail running the command.
>
> That sounds like a bug in the calling code. You're pretty obviously not
> supposed to change the environment between configure and make.
>
> And PATH is just a part of that.
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list