Closed tulsidas closed 1 year ago
Hi @tulsidas, I also encountered this issue on FreeBSD, when using recent versions of GCC. It seems to be caused by:
flex
that generates C code from lexer files, where the order of includes has string.h
being included before stdlib.h
gnulib
that creates replacement header files, that implies this orderingI could make it work by using clang as the compiler on my platform. Can you give it a try?
# I haven't checked, I would expect the package name to be clang, please verify how it's labelled
sudo apt-get install clang
./bootstrap.sh
./configure CC=clang
make
@keldonin that worked! thanks for the quick response 👍🏼
@tulsidas you welcome. There is nevertheless an underlying issue that we must address.
feel free to contact me if you need to try out something on Linux
Out of curiosity, what is the linux distribution you run? Is it just plain Debian?
Yes, Debian testing thou
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Hi @tulsidas, thanks for the information. I see this version will be released by June 10th. I'll give it a try - on a side note, the project compiles like a charm on the current Debian release (11).
@keldonin FYI I just tried building today (a fresh clone) and it worked ok
@keldonin FYI I just tried building today (a fresh clone) and it worked ok
As of release 2.6.0 I intend to ship binaries. There are already RPMs available, Debian packages to come later. You could try to deploy the RPM using alien
on Ubuntu.
Describe the bug Following the steps on INSTALL wiki, the
make
step fails to build the projectTo Reproduce Steps to reproduce the behavior:
./bootstrap.sh
make
Error:
Attaching config.log
Operating System (please complete the following information):
Linux desktop 6.1.0-8-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.25-1 (2023-04-22) x86_64 GNU/Linux