Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 23:27:51 -0800
From:      "David G. Paschich" <dpassage@flophouse.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: `make upgrade` is borked. 
Message-ID:  <199903240727.XAA26968@flophouse.com>
In-Reply-To: Your message of "Tue, 23 Mar 1999 22:44:53 EST."

next in thread | raw e-mail | index | archive | help
Bill Fumerola <billf@jade.chc-chimes.com> writes:
> As the subject indicated, with the latest doscmd commits the upgrade
> target is broke.
> 
> It would seem a library is being missed for linking though, the X11
> library seems to be the right one.

I had this happen to me as well.

What's going on is this:  The makefile for doscmd has some smarts in
it that looks for the X11 libraries.  Unfortunately, those smarts
don't look at the place that the "buildworld" process uses for
libraries.  So the Makefile looks in ${X11BASE} for the X libraries,
finds them, adds them to the link line, and then the link fails
because ${X11BASE} isn't in the buildworld library path.

A workaround is to edit that Makefile, find the conditional on X11,
and delete everything but the "else" part.  A patch follows my
signature.

--------
David G. Paschich
dpassage@flophouse.com

*** src/usr.bin/doscmd/Makefile~	Fri Jan 22 10:40:55 1999
--- src/usr.bin/doscmd/Makefile	Tue Mar 23 08:39:05 1999
***************
*** 20,32 ****
  BINMODE=2555
  EXEMODE=444
  
- .if exists(${X11BASE}/include) && exists(${X11BASE}/lib/libX11.a)
- CFLAGS+= -I. -I${X11BASE}/include -DDISASSEMBLER
- LDADD= -L${X11BASE}/lib -lX11
- DPADD= ${X11BASE}/lib/libX11.a
- .else
  CFLAGS+= -I. -DDISASSEMBLER -DNO_X
- .endif
  .if ${OBJFORMAT} == "aout"
  LDADD+= -L${DESTDIR}${LIBDIR} -lgcc -lc
  DPADD+= ${LIBGCC} ${LIBC}
--- 20,26 ----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903240727.XAA26968>