[comp.windows.x] X11R4 for sun4

chuckles@SNE42E.ORL.MMC.COM (chuck strickland) (03/06/90)

I have completed the build of X11R4 for my sun4 machines.  The build 
was flawless. I am very impressed with the package.  I have paid thousands
of dollars for software and not got a product nearly this good.  
Congratulations and thanks.

I do have a couple of difficulties I can't resolve.

1. xterm -- when I first bring up the release after the build and install
            xterm dies with the messaage --
            " can't find shared library libXaw.so.4 "
   the library is definitly there.  I manually copied the xterm exectutable
   from mit/clients/xterm to /usr/bin/X11 and it works.  I checked the owner
   and protection on the file and it did not change.  Any suggestions.
   
2. xbiff -- dies at startup with message 
           " cannot convert string flagup to Pixmap"
           " cannot convert string flagdown to Pixmap"
           
3. xcalc -- start okay and gives initial window.  But does not accept
            any input. Has no keys on display.
            

katz@elements.rpal.com (Morry Katz) (03/08/90)

In article <9003061307.AA01968@sne42e> chuckles@SNE42E.ORL.MMC.COM (chuck strickland) writes:
> 
> I have completed the build of X11R4 for my sun4 machines.  The build 
> was flawless. I am very impressed with the package.  I have paid thousands
> of dollars for software and not got a product nearly this good.  
> Congratulations and thanks.
> 
> I do have a couple of difficulties I can't resolve.
> 
> 1. xterm -- when I first bring up the release after the build and install
> 	    xterm dies with the messaage --
> 	    " can't find shared library libXaw.so.4 "
>    the library is definitly there.  I manually copied the xterm exectutable
>    from mit/clients/xterm to /usr/bin/X11 and it works.  I checked the owner
>    and protection on the file and it did not change.  Any suggestions.
> 
SunOS4.0 by default uses shared libraries which must be linked in at
application startup time.  I believe that SunOS only searches the
directories /usr/lib and /usr/local/lib for the libraries.  If this is
the case then you will have to copy the libs generated by X into one
of these directories.  
--
-------------------------------------------------------------------------------
Morry Katz
Rockwell Science Center
administrator@rpal.com (machine administration issues)
katz@rpal.com (other)
-------------------------------------------------------------------------------

stripes@eng.umd.edu (Joshua Osborne) (03/14/90)

In article <9003061307.AA01968@sne42e> chuckles@SNE42E.ORL.MMC.COM (chuck strickland) writes:
>1. xterm -- when I first bring up the release after the build and install
>            xterm dies with the messaage --
>            " can't find shared library libXaw.so.4 "
>   the library is definitly there.  I manually copied the xterm exectutable
>   from mit/clients/xterm to /usr/bin/X11 and it works.  I checked the owner
>   and protection on the file and it did not change.  Any suggestions.
Was the version that "make install" puts there set-uid, or set-gid?  If so and
you are running SunOS >=4.0 && <= 4.1 then the .so file *must* be in the
standard place (/usr/lib, or /usr/local/lib).  [This is true *only* for set-uid,
or set-gid files]

>2. xbiff -- dies at startup with message 
>           " cannot convert string flagup to Pixmap"
>           " cannot convert string flagdown to Pixmap"
>3. xcalc -- start okay and gives initial window.  But does not accept
>            any input. Has no keys on display.
You don't have the search path for bitmaps & app-defaults correct.  If you have
all the patches and the problem still exists fix it by hand.  I don't rember
what files need to be changed, grep for /usr/local/X11 [or whereever the system
was designed to be installed, *NOT* where you told it to go, the mit-default!]
in all the .c & .h files in $TOP/mit/lib (you may be safe if you do just the
Athena Widgets).
-- 
           stripes@eng.umd.edu          "Security for Unix is like
      Josh_Osborne@Real_World,The          Mutitasking for MS-DOS"
      "The dyslexic porgramer"                  - Kevin Lockwood
"Don't try to change C into some nice, safe, portable programming language
 with all sharp edges removed, pick another language."  - John Limpert