[comp.unix.aix] Problems compiling X clients

jonathan@cs.pitt.edu (Jonathan Eunice) (01/13/91)

I've been trying to build an number of X applications obtained from the
net on an RS/6000 running AIX "Golden Code."  Though many have compiled
without a hitch, I've run into several problems:

1) The directories and files don't seem to be where they're expected to
   be.  Many files are buried under /usr/lpp/X11/Xamples.  Is this
   normal?  The Makefiles, Imakefiles, and #include statements in many
   contributed applications don't seem to think so.  This problem, at
   least, can be fixed with elbow grease.

2) I cannot find a number of symbols (eg, XawTextEditType, XawtextRead,
   XawtextWrapNever) and include files (eg, SimpleMenu.h, SmeLine.h,
   and SmeBSB.h from the Xaw library) from the Athena widgets set.  I
   have used nm, grep, and find to scan the system for these missing
   entities -- both in places they should be, and as a last resort, in
   all the places they should not be.  Can anyone suggest where these
   include files and symbols might be found?  Or, can't they be found
   because they belong to X11R4, some library IBM does not provide, or
   somesuch?  Am I missing something?

woan@excelsior (Ronald S Woan) (01/13/91)

In article <9698@pitt.UUCP>, jonathan@cs.pitt.edu (Jonathan Eunice) writes:
jonathan> 1) The directories and files don't seem to be where they're
jonathan> expected to be.  Many files are buried under
jonathan> /usr/lpp/X11/Xamples.  Is this normal?  The Makefiles,
jonathan> Imakefiles, and #include statements in many contributed
jonathan> applications don't seem to think so.  This problem, at
jonathan> least, can be fixed with elbow grease.

No not normal (same as with IBM's X11 distribution with AIX 2.2.1/RT,
so some of us are used to it), but with enough -I directives for the c
compiler, you should be able to eliminate much of the handtooling...
You should be able to create a custom imake template to take care of
this.

jonathan> 2) I cannot find a number of symbols (eg, XawTextEditType,
jonathan>    XawtextRead, XawtextWrapNever) and include files (eg,
jonathan>    SimpleMenu.h, SmeLine.h, and SmeBSB.h from the Xaw
jonathan>    library) from the Athena widgets set.  I have used nm,
jonathan>    grep, and find to scan the system for these missing
jonathan>    entities -- both in places they should be, and as a last
jonathan>    resort, in all the places they should not be.  Can anyone
jonathan>    suggest where these include files and symbols might be
jonathan>    found?  Or, can't they be found because they belong to
jonathan>    X11R4, some library IBM does not provide, or somesuch?
jonathan>    Am I missing something?

They belong to X11R4 which IBM doesn't ship, but the MIT distribution
compiles without much fuss... Personally I have all of the X11R4 stuff
installed under /mit just like everyone else to save the config file
customization...

+-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+
+------------------------------My Employer----------------------------------+
+ Ronald S. Woan       woan@peyote.cactus.org or woan%austin@iinus1.ibm.com +
+ other email addresses             Prodigy: XTCR74A Compuserve: 73530,2537 +

jackv@turnkey.tcc.com (Jack F. Vogel) (01/14/91)

In article <9698@pitt.UUCP> jonathan@cs.pitt.edu (Jonathan Eunice) writes:
|I've been trying to build an number of X applications obtained from the
|net on an RS/6000 running AIX "Golden Code."  Though many have compiled
|without a hitch, I've run into several problems:
 
|2) I cannot find a number of symbols (eg, XawTextEditType, XawtextRead,
|   XawtextWrapNever) and include files (eg, SimpleMenu.h, SmeLine.h,
|   and SmeBSB.h from the Xaw library) from the Athena widgets set.  
|                                 ....  Can anyone suggest where these
|   include files and symbols might be found?  Or, can't they be found
|   because they belong to X11R4, some library IBM does not provide, or
|   somesuch?  Am I missing something?

You guessed it right the first try :-}. They are in X11R4. Guess its time
to get out that MIT distribution tape :-}.

Cheers!




-- 
Jack F. Vogel			jackv@locus.com
AIX370 Technical Support	       - or -
Locus Computing Corp.		jackv@turnkey.TCC.COM