Problem building idt in HP-UNIX

From: Waylon Collins (Waylon.Collins AT unknown)
Date: Sun Dec 17 2000 - 21:42:20 MST


I installed ncarg and the "ncargex example" and "ctrans -d X11
example.ncgm" tests were successful.
However, I am having a problem building "idt". During the compiling of
the software, I get the error shown below. For some reason, I can't get
the cc compiler to find the Xaw library. The Xaw library is not in the
form libx.sl or libx.a (which explains why "-lXaw" does not work,
according to the cc man page), but are a series of files (with an h
suffix) located on my machine in the sub-directory "Xaw" in the
"/usr/contrib/X11R6/include/X11/Xaw" path. I thought I was linking to it
via "-I/usr/contrib/X11R6/include/X11/Xaw" and
"-L/usr/contrib/X11R6/include/X11/Xaw". I even placed the path to Xaw in
$path. Still, no luck. How do I get the compiler to (1) find these files
and (2) use them to build "idt"?

Thanks in advance

Waylon

--
**********************************************************************
* Waylon G. Collins                  Voice: (361)289-0959            *
* NOAA/National Weather Service      E-Mail: Waylon.Collins AT unknown *
* 300 Pinson Drive                                                   *
* Corpus Christi, TX 78406                                           *
* USA                                                                *
**********************************************************************

Making install in ./ncarview/src/bin/idt cc -Aa -lm -lc -lcl -g -O -o idt w_idt.o w_file.o file.o glob.o w_display.o display.o w_dialog.o commands.o talkto.o xrubber.o scroll.o w_text.o spooler.o w_icon.o xt_env.o animate.o animate_cb.o -L../. ./../.././ncarview/src/lib/libcgm -lcgm -L../../../.././common/src /libncarg_c -lncarg_c -Wl,-a,archive -L/usr1/ncarg-4.2.2/lib -L/usr/lib/Motif1.2 -L/usr/lib/X11R6 -L/usr/contrib/X11R6 -lXaw -lXmu -lXt -lXext -lX11 -Wl,-a,default -lm -L/usr/contrib/X11R6/include/X11 /Xaw -I/usr/contrib/X11R6/include/X11/Xaw /usr/ccs/bin/ld: Can't find library for -lXaw *** Error exit code 1



This archive was generated by hypermail 2b29 : Wed Dec 20 2000 - 09:59:09 MST