Re: Problem building idt in HP-UNIX

From: Mary Haley (haley AT unknown)
Date: Wed Dec 20 2000 - 09:47:09 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

Hi Waylon,

The files with the ".h" suffix are include files. These are needed in
*addition* to the Xaw library, which should be found in
/usr/contrib/X11R6/lib in the form "libXaw.xy" where "xy" may be
something like "a" or "so".

Please check if you have the Xaw library in /usr/contrib/X11R6/lib,
and then include the following on your idt compile line:

   -I/usr/contrib/X11R6/include -L/usr/contrib/X11R6/lib

--Mary



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