-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello,
I'm trying to install the s1kd-tools from source on my macOS system (version 13.3, Apple M1 chip), but I'm encountering a few issues. I've followed the instructions in the install.md file, but I'm still unable to complete the installation successfully.
- When running make to build the tools, I get the following error while compiling the s1kd-dmrl tool:
s1kd-dmrl.c:249:17: error: cannot take the address of an rvalue of type 'int' if ((err += WEXITSTATUS(system(line))) != 0 && failOnFirstErr) break; ^ ~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/wait.h:144:27: note: expanded from macro 'WEXITSTATUS' #define WEXITSTATUS(x) ((_W_INT(x) >> 8) & 0x000000ff) ^ ~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/wait.h:131:34: note: expanded from macro '_W_INT' #define _W_INT(w) (*(int *)&(w)) /* convert union wait to int */ ^ ~ 1 error generated.
- During the make install step, I'm seeing warnings related to the old install command on macOS not recognizing the -D option:
install: illegal option -- D usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ...
- I've tried different approaches suggested in the install.md file, such as:
Using sudo to gain root privileges
Modifying the Makefile to use mkdir and cp instead of install -D
Attempting to install individual tools separately using make -C tools/s1kd-brexcheck install, etc.
However, none of these approaches have worked for me so far.
I have installed the required dependencies (gcc (Apple clang 15.0.0), make 3.81, xxd 2023 version, pkg-config 0.29.2, libxml2 2.9.13, and libxslt 1.1.35) on my macOS system.
Could you please provide guidance on how to resolve these issues and successfully install the s1kd-tools? Any help would be greatly appreciated.
Thank you!
pContat
Metadata
Metadata
Assignees
Labels
No labels