[comp.windows.x] X11R4 make problem with mkfontdir

beck@red15 (Sullivan Beck) (04/07/91)

I am trying to install X11R4 on a sun computer.  I am on a sun 3/50
with SunOs 4.1.1 and am using gcc 1.39.  I downloaded X from
giza.cis.ohio-state.edu and applied all 18 patches that are there.

The entire make runs successfully with the exception of the mkfontdir
command.  The output reads:

../../.././fonts/mkfontdir/mkfontdir .
ld.so: libXmu.so.4: not found
*** Error code 127
make: Warning: Target `all' not remade because of errors
Current working directory /scr/mit/fonts/bdf/misc

The same error occurs later on in the 75dpi and 100dpi directories.
The only place libXmu is referenced in either the makefile or c code
in mkfontdir is in the makefile as $(XMUSRC)/libXmu.a.  In that
directory are the files libXmu.so.4.0, libXmu.sa.4.0, and libXmu.a.
I created soft links libXmu.so.4 and libXmu.sa.4 to the respective
4.0 files, but that did not fix the problem.

If anyone knows the answer to this problem, please email me.
       Thanks in advance
       Sullivan Beck
       beck@qtp.ufl.edu

gildea@expo.lcs.mit.EDU (Stephen Gildea) (04/09/91)

    I am trying to install X11R4 on a sun computer.  I am on a sun 3/50
    with SunOs 4.1.1 and am using gcc 1.39.  I downloaded X from
    giza.cis.ohio-state.edu and applied all 18 patches that are there.

    The entire make runs successfully with the exception of the mkfontdir
    command.

In R4, mkfontdir must be compiled static.  When you use gcc, it doesn't
recognize the -Bstatic option, so you don't get static linking.

 < Stephen
   MIT X Consortium