<div dir="ltr">Hi all,<div><br><div>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.</div><div>./configure --disable-lockdev</div><div>...</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">checking for the common suffixes of directories in the library search path... lib,lib,lib64</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0)">checking for iconv... yes</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0)">checking for working iconv... yes</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0)">./configure: line 8045: PKG_PROG_PKG_CONFIG: command not found</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0)">./configure: line 8058: syntax error near unexpected token `LOCKDEV,'</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(0,0,0)">./configure: line 8058: `</span><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,0,0)">PKG_CHECK_MODULES(LOCKDEV, lockdev,'</span><span style="color:rgb(0,0,0)">
</span><br><br></span></div><div><span style="font-family:monospace">Removing all references to lockdev in <a href="http://configure.ac">configure.ac</a> fixes this.</span></div><div><span style="font-family:monospace"><br></span></div><div>After removing lockdev from <a href="http://configure.ac">configure.ac</a>, 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.</div><div><br></div><div>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.</div><div><br></div><div>I have created my own fork to make these changes, but I am not part of Debian.</div><div><br></div><div>Cheers,</div><div><br></div><div>-Aaron Williams</div></div></div>