Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
X fails to build on Darwin
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="prushik" data-source="post: 860545" data-attributes="member: 105589"><p>I got the X11R7.0 sources and everything is there, I compiled everything up to libX11 (all dependencies satisfied). When I try to build libX11, builds a program called "makekeys", I can't figure out what its for, but it gets used in the build process, it does something to a source file, something to do with key codes. makekeys gets built, but when it trys to run it, it dies with a floating point exception. I remember when I cross-compiled I had a similar problem because it built makekeys for my target instead of my build system, so my build system couldn't run it. I fixed it by first compiling xlib for my build system and then moving the file over to my target source tree. That won't work since I can't build it for Darwin or cross-compile for Darwin, but maybe I can think of something, like finding a good output file from a working makekeys or something, I don't know, probably won't work. I think the problem may be that its still trying to use xproto from X11R7.4 instead of R7.0, I think the header that it modifies is from xproto. I'll work on it some more and see what I can come up with.</p><p>From what I have read, HFS+ is a very bad and problematic filesystem, causing many compilation errors in many different programs. That may be why xfree86 wouldn't build and it was why pkgsrc faild. If I can't get this to work I'll consider switching to UFS. That would mean starting from scratch, but really the only thing I don't want to lose is a good gcc-4.1 build.</p></blockquote><p></p>
[QUOTE="prushik, post: 860545, member: 105589"] I got the X11R7.0 sources and everything is there, I compiled everything up to libX11 (all dependencies satisfied). When I try to build libX11, builds a program called "makekeys", I can't figure out what its for, but it gets used in the build process, it does something to a source file, something to do with key codes. makekeys gets built, but when it trys to run it, it dies with a floating point exception. I remember when I cross-compiled I had a similar problem because it built makekeys for my target instead of my build system, so my build system couldn't run it. I fixed it by first compiling xlib for my build system and then moving the file over to my target source tree. That won't work since I can't build it for Darwin or cross-compile for Darwin, but maybe I can think of something, like finding a good output file from a working makekeys or something, I don't know, probably won't work. I think the problem may be that its still trying to use xproto from X11R7.4 instead of R7.0, I think the header that it modifies is from xproto. I'll work on it some more and see what I can come up with. From what I have read, HFS+ is a very bad and problematic filesystem, causing many compilation errors in many different programs. That may be why xfree86 wouldn't build and it was why pkgsrc faild. If I can't get this to work I'll consider switching to UFS. That would mean starting from scratch, but really the only thing I don't want to lose is a good gcc-4.1 build. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
X fails to build on Darwin
Top