Build issues with OpenSUSE

Aaron Williams aaron.w2 at gmail.com
Thu Dec 4 03:22:41 GMT 2025


Hi all,

I found several issues with minicom that prevent it from building with
OpenSUSE. The first is that the support for lockdev generates a broken
configure file. Even if lockdev is supported, it should not be. Enabling
lockdev support breaks things because it relies on a world-writable
/var/run/lock directory. Not only is /var/run/lock deprecated, but
/run/lock is no longer world-writable. lockdev should be completely removed
or disabled. Even if I run configure --disable-lockdev, the configure
script still fails.
./configure --disable-lockdev
...
checking for the common suffixes of directories in the library search
path... lib,lib,lib64
checking for iconv... yes
checking for working iconv... yes
./configure: line 8045: PKG_PROG_PKG_CONFIG: command not found
./configure: line 8058: syntax error near unexpected token `LOCKDEV,'
./configure: line 8058: `       PKG_CHECK_MODULES(LOCKDEV, lockdev,'

Removing all references to lockdev in configure.ac fixes this.

After removing lockdev from configure.ac, the next issue is that the global
variables LINES and COLS are not defined anywhere. I added these to
window.c and now it build fine.

Now the final issue I'm working on  is minicom.spec is out of date and
broken. For example, the Copyright tag is not supported and likely should
be License: GPLv2. Then the prep should use the autogen.sh script.

I have created my own fork to make these changes, but I am not part of
Debian.

Cheers,

-Aaron Williams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/minicom-devel/attachments/20251203/cca029ff/attachment.htm>


More information about the minicom-devel mailing list