Bug? Compilation error ./configure "Some: command not found"

6 views
Skip to first unread message

Marcin Gosiewski

unread,
Sep 10, 2024, 11:37:19 AM9/10/24
to libmodbus
Am I doing something wrong? 
I have downloaded source code of libmodbus because I need to compile branch with support for RTU_OVER_TCP protocol which is not included in standard compilation. 

I made './autogen.sh' - it generally did it's job with warning 'AC_PROG_CC_STDC is obsolete; use AC_PROG_CC' but it did succeed. 

Now after running ./configure I see an error:

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free 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 create a pax tar archive... gnutar
./configure: line 3834: Some: command not found
./configure: line 4418: syntax error near unexpected token `('
./configure: line 4418: `case "(($ac_try" in'


Am I doing something wrong or should I post bug report on github?

The environment is: Debian 12 (bookworm).

Cédric Boudinet

unread,
Sep 11, 2024, 3:38:40 AM9/11/24
to libmodbus
Hello
Which branch are you using? In my case my bookworm the build works fine with the master branch.
Reply all
Reply to author
Forward
0 new messages