-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not compile on FreeBSD: fatal error: ' X11 .rules' file not found #26
Comments
My apologies for my extremely late response on this and many thanks for reporting the issue. I have not run into this error before, but I also haven't tried to compile on FreeBSD yet. In my initial research, I dug up a forum post about Imake & X11 .rules on GhostBSD that seems to match the error you're getting. While it only contains supposition as to the cause, it confirms that some errant spaces are being inserted into the 'X11.rules` filename. The guess is that this is caused by a clang vs gcc difference. It's interesting that I haven't run into this under OpenBSD/amd64 as the default compiler is also clang, not gcc. Looking at OpenBSD's Imake port, it appears to use tradcpp for a preprocessor. [FreeBSD's imake(1)] manual page mentions tradcpp as well (see the "ENVIRONMENT VARIABLES" section) and notes:
I'm not sure what the default is on FreeBSD, but it's probably worth testing a clean build with the Let me know if that's something you can test or not. |
Hello @morgant, thanks for looking into this. Do you happen to know how I could find out the full path to tradcpp? |
No problem, @probonopd. Looking at the FreeBSD tradcpp port, it appears that |
Thanks, this helped. Got it to compile like this:
However, trying to run it results in a segfault:
|
One step forward, one step back, I guess. I'm currently doing my development & testing on OpenBSD, which is slightly different that FreeBSD as far as X11 goes, but not drastically so. In my case, I'm using xenodm(1) as opposed to
Of course, the You haven't yet stated which version of FreeBSD you're running or what your X11 configuration is, so I'll guess a bit. Please do let me know what your configuration is and correct me wherever I'm incorrect. Making an educated guess based on the fact that you're killing If you install and use either XDM or I hope some of this is helpful. Let me know how it goes and any further information you feel might be helpful in troubleshooting. |
Do you know how to get it to compile on FreeBSD?
The text was updated successfully, but these errors were encountered: