Subject: x11/Xaw3d: xpkgwedge & xmkmf problem!?
To: None <tech-pkg@netbsd.org>
From: Masao Uebayashi <uebayasi@soum.co.jp>
List: tech-pkg
Date: 05/24/2001 20:29:44
I failed to do 'make' x11/Xaw3d getting the following message:

  ===> Building for Xaw3d-1.5
  rm -f libXaw3d.so.6.1~
  + cd .
  + gcc -o ./libXaw3d.so.6.1~ -shared -Wl,-rpath,/usr/pkg/lib -Wl,-soname,libXaw3d.so.6 AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o MultiSrc.o MultiSink.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Toggle.o Tree.o Vendor.o Viewport.o XawIm.o XawI18n.o XawInit.o laygram.o laylex.o -L/usr/pkg/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11
  /usr/bin/ld: cannot open -lXmu: No such file or directory
  collect2: ld returned 1 exit status
  *** Error code 1
  
  Stop.

As you see, -L/usr/X11R6/lib is not specified so that link failed.  It
seems to me that this should be set automatically by Imakefile &
xpkgwedge, but I feel terror to look into them...

I'm using xpkgwedge.
`ident x11/Xaw3d/Makefile` is
  $NetBSD: Makefile,v 1.26 2001/03/11 10:06:54 tron Exp $

TIA,
Masao

---
 |_  -|--|-
_|__ /|\/|\