นี่คือสิ่งที่ฉันเคยวิ่ง:
$ git clone --recursive https://github.com/lolilolicon/FFcast.git
$ ./bootstrap
$ configure --enable-xrectsel --prefix /usr --libexecdir /usr/lib --sysconfdir /etc
สองสามบรรทัดสุดท้ายของคำสั่งสุดท้ายของเอาต์พุตคือ
=== configuring in src/xrectsel (/home/linus/FFcast/src/xrectsel)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--enable-xrectsel' '--libexecdir' '/usr/lib' '--sysconfdir' '/etc' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for library containing XOpenDisplay... no
configure: error: libx11 is required
configure: error: ./configure failed for src/xrectsel
ฉันพยายามapt-get install libx11-6
แต่มันบอกฉันว่า libx11 เป็นรุ่นล่าสุดแล้ว