我试图在ubuntu docker容器上编译vlc。
file, _ := os.Open("x.txt")
f := bufio.NewReader(file)
for {
read_line, _ := ReadString('\n')
fmt.Print(read_line)
// other code what work with parsed line...
}
然后这个错误
(In host)
git clone --depth=1 vlc
docker run -v ~/vlc:/root/vlc -it ubuntu:17.04
(In container)
# install dependencies
apt update && apt upgrade
apt install git build-essential pkg-config libtool automake autopoint gettext
apt-get build-dep vlc
# install ffmpeg
cd /root
git clone --depth=1 https://github.com/FFmpeg/FFmpeg.git
cd FFmpeg
./configure
make
make install
# build vlc
cd /root/vlc
./configure --disable-wayland --disable-chromecast
make
我几乎不知道C.它似乎与XCB有一些问题,我该怎么办?