saitoha / libsixel

A SIXEL encoder/decoder implementation derived from kmiya's sixel (https://github.com/saitoha/sixel).
MIT License
2.45k stars 82 forks source link

Problems building from source #146

Open ahh opened 3 years ago

ahh commented 3 years ago

Hi, on a (reasonably normally configured) Centos box I'm unable to build libsixel from source:


❯ ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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... configure: error: in `/home/ahunter/local/repo/libsixel':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

I assume I'm missing some dependency? But it's not clear what that dep is, nor does the README suggest anything.

auppal commented 3 years ago

I could not reproduce this on a CentOS machine. Seems configure is ok there.