From: Andrew G. <ag...@em...> - 2001-02-20 09:42:46
|
> After some checking, I worked out that the makefile was looking for > it in /usr/X11/lib/ which didn't exist on my distro. I changed the > makefile to point at /usr/X11R6/lib/ and that fixed it. > > Is there any way to get these directories and commands from the > OS instead of hardcoding them into the makefile? (I don't have > enough experience with 'nix to know.) If there is, it could save > some effort. In wrapping up work on preliminary resource support I'm addressing the makefile situation too. The reason it's currently pretty fragile is simply that the user base has been small and homogenous enough for it not to be a issue up till now. Clearly that's changing. Automatically determining the compiler is possible, cv gnu autoconf, although what I'm leaning toward is a clean up and extension of the existing mechanism, and taking a few lessons from the QT approach. The X11 libraries are really X11R6 nowadays, the makefile should not be referring to /usr/X11/... that's just my mistake. Andrew Green |