Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

This forum is about all development around libVLC.
system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby system » 19 Jun 2018 05:03

Hi, every one:
I try to compile VCL using this link:
https://wiki.videolan.org/Win32Compile/ ... _toolchain and, I choose Obtaining the cross-compilation toolchain mode.
Unfortunately, after I run Manually built (slow) 's step "$ ../bootstrap --host=HOST-TRIPLET"
It prompts me:

Code: Select all

/bin/sh: 1: HOST-TRIPLE-gcc: not found /bin/sh: 1: HOST-TRIPLE-gcc: not found ../../contrib/src/protobuf/rules.mak:19: *** /usr/bin/protoc version 3.0.0 doesn't match the protobuf 3.1.0 we're building. Stop.
please help, thanks.

robUx4
Developer
Developer
Posts: 255
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby robUx4 » 19 Jun 2018 09:08

Did you use HOST-TRIPLET literally or you replaced it with a proper value ?

system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby system » 19 Jun 2018 12:32

Did you use HOST-TRIPLET literally or you replaced it with a proper value ?
I tried literally also below:

Code: Select all

root@ubuntuaaa:/home/biubiu/vlc/contrib/win32# echo $HOSTNAME ubuntuaaa root@ubuntuaaa:/home/biubiu/vlc/contrib/win32# ../bootstrap --host=ubuntuaaa Guessing build system... x86_64-linux-gnu Packages licensing... GPL version 3 Creating configuration file... config.mak Bootstrap completed. ubuntuaaa: invalid machine specification /bin/sh: 1: ubuntuaaa-gcc: not found /bin/sh: 1: ubuntuaaa-gcc: not found ../../contrib/src/protobuf/rules.mak:19: *** /usr/bin/protoc version 3.0.0 doesn't match the protobuf 3.1.0 we're building. Stop.
Thank you for your help why it doesn't work?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby Rémi Denis-Courmont » 19 Jun 2018 19:43

The answer to the question is very explicitly in the wiki page.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby system » 20 Jun 2018 03:16

The answer to the question is very explicitly in the wiki page.
Thank you, Rémi.
Do you mean "To compile the VLC 3.0.x development branch, DO NOT USE the prebuilt libraries. "?
Is that means I can skip "Prepare 3rd party libraries " step and, directly into "Building VLC" step?

system
New Cone
New Cone
Posts: 6
Joined: 13 Jun 2018 10:38

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby system » 20 Jun 2018 03:40

The answer to the question is very explicitly in the wiki page.
Sorry Rémi, please ignore my previous post. The new problem is follows:

Code: Select all

root@xdyubuntu:/home/biubiu/vlc/win32# ../extras/package/win32/configure.sh --host=xdyubuntu --build=x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... Invalid configuration `xdyubuntu': machine `xdyubuntu' not recognized configure: error: /bin/bash ../extras/package/win32/../../../autotools/config.sub xdyubuntu failed root@xdyubuntu:/home/biubiu/vlc/win32# ping xdyubuntu PING xdyubuntu (127.0.1.1) 56(84) bytes of data. 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=1 ttl=64 time=0.013 ms 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=2 ttl=64 time=0.024 ms 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=3 ttl=64 time=0.037 ms 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=4 ttl=64 time=0.030 ms 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=5 ttl=64 time=0.023 ms 64 bytes from xdyubuntu (127.0.1.1): icmp_seq=6 ttl=64 time=0.023 ms ^C --- xdyubuntu ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5103ms rtt min/avg/max/mdev = 0.013/0.025/0.037/0.007 ms root@xdyubuntu:/home/biubiu/vlc/win32#

WithinRafael
New Cone
New Cone
Posts: 3
Joined: 05 Apr 2012 19:36

Re: Help:HOST-TRIPLE-gcc: not found And protoc version mismatch

Postby WithinRafael » 31 Oct 2018 05:55

Re-read the wiki carefully.
Please make sure that you replace the keywords HOST-TRIPLET with either i686-w64-mingw32 or x86_64-w64-mingw32 adapted to your target Windows version (32-bit or 64-bit, respectively)
To clean up the protoc error (not on the wiki) you'll need to grab an older/newer copy of protoc (depending on your installed version). Precompiled binaries can be found at https://github.com/protocolbuffers/protobuf/releases


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 35 guests