On Fri, 26 Mar 2004, Lee Olsen wrote: > David Dawes wrote:
> >On Thu, Mar 18, 2004 at 01:36:13PM -0500, David Dawes wrote: > >>>On a thin client, one without development tools, it's `Cannot find a rule to > >>>build /usr/include/stdio.h' and similar failures during the dependency > >>>checks. > >>>The only way I see to stop these is for `make install' to not do > >>>dependency checks. > >>>If I'm blind and there are other choices, that's ok too. > >>OK, for these external dependencies there probably isn't any other > >>option. If nobody else has any input to add on this, we can go ahead > >>with that change. > >I committed something based on your patch last night. That fixes > >installing from a read-only built tree for me. Let me know if you find > >any problems with it. > It fails in xc/lib/X11 installing libX11: > make[3]: Entering directory `/work/src/redhat/SOURCES/X440A/xc/lib/X11' > install -c -m 0755 libX11.so.6.2 /usr/X11R6/lib > /bin/sh: -c: line 2: syntax error: unexpected end of file > make[3]: *** [install] Error 2 > It looks like a fi-less if to me, three or four lines after $(INSTALL). > My InstallSharedLibrary > rule in lnxLib.rules looks like this: > # define InstallSharedLibrary(libname,rev,dest) @@\ > install:: @@\ > MakeDir($(DESTDIR)dest) @@\ > $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) > Concat(lib,libname.so.rev) $(DESTDIR)dest @@\ > @SetSonameRev(rev); \ @@\ > T=Concat($(DESTDIR)dest/lib,libname.so.$$S); \ @@\ > if [ rev != $$S ]; then (set -x; \ @@\ > $(RM) $$T && $(LN) Concat(lib,libname.so.rev) $$T) @@\ > @if $(SOSYMLINK); then (set -x; \ @@\ > $(RM) Concat($(DESTDIR)dest/lib,libname.so); \ @@\ > $(LN) Concat(lib,libname.so.rev) > Concat($(DESTDIR)dest/lib,libname.so)); fi > With the $(RM) indented, my guess is the `fi' follows that line. Ooops, that's my fault. I'll fix it. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 developer and VP. ATI driver and X server internals. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel