Closed skrueger8 closed 9 months ago
Hi, could you please provide a pull request for the fixes you suggested?
Original author didn't provide a pull request but the changes in this are valuable. If somebody could turn this or at least parts of it into a pull request that'd be great.
Hi, I know this ticket is couple years old. Just wondering if any progress was actually made in getting this to work on solaris 10 sparc ? Or ideally if anyone has a working package.
@jan-cerny @akcrisp @skrueger8 Thanks for this great work. I understand this is several years old. Solaris 11 has OpenSCAP included in vendor repos [1]. Any luck on getting openscap working on Solaris 10 SPARC?
[1] https://blogs.oracle.com/solaris/post/compliance-reporting-with-scap
Hi,
OpenSCAP doesn't compile on Solaris 10/SPARC.
Step to reproduce:
Here are the issues I've faced so far:
program_invocation_short_name
andpthread_getname_np
program_invocation_short_name
seems to be only available on Linux, andpthread_{set,get}name_np()
are only available in Solaris 11.3 or higher.pthread_setname_np
is also used inFixed by adding
#include <fcntl.h>
Fixed by adding
#include <limits.h>
Sadly
MNTTYPE_SMBFS
is not defined in Solaris 10's /usr/include/sys/mntent.h, I had to comment it out.Sadly this header is only available on Solaris 11 as well. I had to #if 0
get_mac()
andget_ifs()
.stpcpy()
andstrndup()
Used in
You can get them from:
http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/stpcpy.c and http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libc/port/gen/strndup.c
xsltInit()
seems to be there but it's not exposed as a function you can call. I had to comment it out in src/common/oscapxml.cThe real show stopper is
xmlDOMWrapCloneNode()
, seems like Solaris 10's libxml2 is way too old for this: