Problem Statement
Find (ah0 0.25) and replace it with ((ah0))
Solution:
Use following regular expression
Find: \(([a-z][a-z][0-1]) 0\.\d+\)
replace: ((\1))esignal.c:974: error: 'ARCH' undeclared (first use in this function)
Find and change the below lines:
Change Line 974: if (strcmp(architecture, ARCH) == 0) /* native architecture */
To: if (strcmp(architecture, "darwin") == 0) /* native architecture */
Change Line 1184: ` architecture = ARCH;`
To: ` architecture = "darwin";`
Now, let's build! Run make all in the terminal window
If you're trying to determine what package has a header file, you can either run:
repoquery -qf /usr/include/X11/Xlib.h (that will tell you what package has that file, you do need to know the full path, but it is usually pretty obvious)
Or, if you just want to install the package with that header file:
yum install /usr/include/X11/Xlib.h Yum can do that because it has filelists_db in the extended repodata. :)