GNU Info

Info Node: (efaq)Linking with -lX11 fails

(efaq)Linking with -lX11 fails


Prev: Problems building Emacs Up: Compiling and installing Emacs
Enter node , (file) or (file)node

Why does linking Emacs with -lX11 fail?
=======================================

   Emacs needs to be linked with the static version of the X11 library,
`libX11.a'.  This may be missing.

   On OpenWindows, you may need to use `add_services' to add the
"OpenWindows Programmers" optional software category from the CD-ROM.

   On HP-UX 8.0, you may need to run `update' again to load the X11-PRG
"fileset".  This may be missing even if you specified "all filesets"
the first time.  If `libcurses.a' is missing, you may need to load the
"Berkeley Development Option."

   David Zuhn <zoo@armadillo.com> says that MIT X builds shared
libraries by default, and only shared libraries, on those platforms that
support them.  These shared libraries can't be used when undumping
`temacs' (the last stage of the Emacs build process).  To get regular
libraries in addition to shared libraries, add this to `site.cf':

     #define ForceNormalLib YES

   Other systems may have similar problems.  You can always define
`CANNOT_DUMP' and link with the shared libraries instead.

   To get the Xmenu stuff to work, you need to find a copy of MIT's
`liboldX.a'.


automatically generated by info2www version 1.2.2.9