<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<br><br>Inspired by attempts of others I tried to compile openscap on OS X 10.6.8 <div>(with Xcode and MacPorts)</div><div>My attempt ended even before make.</div><div><br>I got the oscap source using<br>$git clone <a href="git://git.fedorahosted.org/git/openscap.git">git://git.fedorahosted.org/git/openscap.git</a><br><br>Then, I tried ...<br>$./autogen.sh</div><div><br></div><div>that gave me: </div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>lib/Makefile.am:47: GL_GENERATE_ALLOCA_H does not appear in AM_CONDITIONAL</div><div>lib/Makefile.am:118: GL_GENERATE_ERRNO_H does not appear in AM_CONDITIONAL</div><div>lib/Makefile.am:151: GL_GENERATE_FLOAT_H does not appear in AM_CONDITIONAL</div><div>lib/Makefile.am:220: GL_GENERATE_STDDEF_H does not appear in AM_CONDITIONAL</div><div>lib/Makefile.am:249: GL_GENERATE_STDINT_H does not appear in AM_CONDITIONAL</div><div>autoreconf: automake failed with exit status: 1</div></div></blockquote><div><br></div>It seems like issue, but I don't know how to get around it.<br><br><div>The ./configure runs, but fails with:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>checking for gcry_check_version in -lgcrypt... no</div></div><div><div>configure: error: library 'gcrypt' is required for GCrypt.</div></div></blockquote><div><div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div></blockquote><div><div><div>Is the gcrypt referring to the libgcrypt library from gnupg?</div><div><br></div><div>It got a bit further by pointing to macports lib directory.</div><div>          (LDFLAGS=-L/opt/local/lib ./configure  --includedir=/opt/local/include) </div><div><br></div><div>           it couldn't find libapt-pkg  (macport for apt doesn't compile for me now) </div><div>           Other missing are:   blkid, libnl-1, libselinux, rpm (even with macport installed) </div><div><br></div><div>Did anybody else try to compile on OS X? any tips how to proceed?</div><div><br></div><div> </div><div>Jan</div><div><br></div><div><div><div>checking for perl... /opt/local/bin//perl</div><div>checking for atomic builtins... no</div><div>configure: !!! Compiler does not support atomic builtins. Atomic operation will be emulated using mutex-based locking. !!!</div><div>./configure: line 21255: syntax error near unexpected token `probe_dir,"${libexecdir}/openscap"'</div><div>./configure: line 21255: `<span class="Apple-tab-span" style="white-space:pre">     </span>EXPAND_DIR(probe_dir,"${libexecdir}/openscap")'</div></div></div><div><br></div><div><div><div>configure:21041: gcc -o conftest -g -O2 -pipe -std=c99 -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -D_GNU_SOURCE -DOSCAP_THREAD_SAFE -D_POSIX</div><div>_C_SOURCE=200112L  -march=i686  -L/opt/local/lib conftest.c  >&5</div><div>conftest.c:1: error: CPU you selected does not support x86-64 instruction set</div></div></div><div><br></div><div><br></div><div><br></div><div>aclocal (GNU automake) 1.11.1</div></div><div><br></div><div><br></div><div><br><div>Jan Ruzicka<br>Senior Software Engineer<br>Comtech Mobile Datacom Corporation<br>20430 Century Blvd, Germantown, MD 20874<br>Office: 240-686-3300<br>Fax: 240-686-3301<br> <br>The information contained in this message may be privileged and/or confidential. If you are not the intended recipient, or responsible for delivering this message to the intended recipient, any review, forwarding, dissemination, distribution or copying of this communication or any attachment(s) is strictly prohibited. If you have received this message in error, please so notify the sender immediately, and delete it and all attachments from your computer and network.<br></div><br></div></div></div></div></body></html>