haynes@felix.ucsc.edu (99700000) (03/16/91)
One would like to be able to compile X11 on a server, then export the build tree read-only and allow other machines to NFS mount it and cd to the root of the build tree and 'make install' One reason this fails is a crock in most vendors' versions of ranlib, which try to write in the current directory rather than in the directory where the library being ran-ed lives. gnu ranlib doesn't have this problem, and I've been promised that 4.4 BSD won't have it either. Another problem is that the mergelib script in X11 tries to create a temporary directory in the build tree. There may be others; at this point I gave up and mounted the build tree read-write, root access for the duration of the install.
marbru@attc.UUCP (Martin Brunecky) (03/16/91)
My problem with the MIT distribution is that it insists on merging the installation into /usr... Of course, I can specify DESTDIR = ..., but from that point on NONE of the other products depending on X build. IMHO, I should be able to place the (mit) X distribution tree anywhere in the system, and expect that anybody's product using MIT's Imake will build with a simple specifification of something like X11TOP. I should be able to have many versions of X on my system, not assuming a single super-user workstation where I can do whatever I want. I understand that this is more the problem of those "other" products depending on MIT's X. However, the MIT's X distribution sets an example. Bad one, IMHO. -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky {...}sunpeaks!auto-trol!marbru (303) 252-2499 (sometimes also: marbru@auto-trol.COM ) Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404
treese@crl.dec.com (Win Treese) (03/17/91)
From my X11R4/mit/config/site.def: /* * Installation directories for use at CRL. */ #ifndef BinDir #define BinDir $(DESTDIR)/usr/local/bin/X11 #endif #ifndef UsrLibDir #define UsrLibDir $(DESTDIR)/usr/local/lib #endif #ifndef ManDirectoryRoot #define ManDirectoryRoot /usr/local/man #endif #ifndef ManSuffix #define ManSuffix 1 #endif #ifndef IncRoot #define IncRoot $(DESTDIR)/usr/local/include #endif Yes, we use /usr, but that's not required. You can pretty much put things anywhere you want. Then we can use xmkmf to generate makefiles for random utilities with Imakefiles and all the right things happen, including running down the right include files. Win Treese Cambridge Research Lab treese@crl.dec.com Digital Equipment Corp.